blob: a6d78ca92f4e9326f575e2ee207d85dfab1b36f6 [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
Mike Schuchardt440d4642019-06-20 17:14:57 -07005467safe_VkPhysicalDeviceSubgroupProperties::safe_VkPhysicalDeviceSubgroupProperties(const VkPhysicalDeviceSubgroupProperties* in_struct) :
5468 sType(in_struct->sType),
5469 pNext(in_struct->pNext),
5470 subgroupSize(in_struct->subgroupSize),
5471 supportedStages(in_struct->supportedStages),
5472 supportedOperations(in_struct->supportedOperations),
5473 quadOperationsInAllStages(in_struct->quadOperationsInAllStages)
5474{
5475}
5476
5477safe_VkPhysicalDeviceSubgroupProperties::safe_VkPhysicalDeviceSubgroupProperties()
5478{}
5479
5480safe_VkPhysicalDeviceSubgroupProperties::safe_VkPhysicalDeviceSubgroupProperties(const safe_VkPhysicalDeviceSubgroupProperties& src)
5481{
5482 sType = src.sType;
5483 pNext = src.pNext;
5484 subgroupSize = src.subgroupSize;
5485 supportedStages = src.supportedStages;
5486 supportedOperations = src.supportedOperations;
5487 quadOperationsInAllStages = src.quadOperationsInAllStages;
5488}
5489
5490safe_VkPhysicalDeviceSubgroupProperties& safe_VkPhysicalDeviceSubgroupProperties::operator=(const safe_VkPhysicalDeviceSubgroupProperties& src)
5491{
5492 if (&src == this) return *this;
5493
5494
5495 sType = src.sType;
5496 pNext = src.pNext;
5497 subgroupSize = src.subgroupSize;
5498 supportedStages = src.supportedStages;
5499 supportedOperations = src.supportedOperations;
5500 quadOperationsInAllStages = src.quadOperationsInAllStages;
5501
5502 return *this;
5503}
5504
5505safe_VkPhysicalDeviceSubgroupProperties::~safe_VkPhysicalDeviceSubgroupProperties()
5506{
5507}
5508
5509void safe_VkPhysicalDeviceSubgroupProperties::initialize(const VkPhysicalDeviceSubgroupProperties* in_struct)
5510{
5511 sType = in_struct->sType;
5512 pNext = in_struct->pNext;
5513 subgroupSize = in_struct->subgroupSize;
5514 supportedStages = in_struct->supportedStages;
5515 supportedOperations = in_struct->supportedOperations;
5516 quadOperationsInAllStages = in_struct->quadOperationsInAllStages;
5517}
5518
5519void safe_VkPhysicalDeviceSubgroupProperties::initialize(const safe_VkPhysicalDeviceSubgroupProperties* src)
5520{
5521 sType = src->sType;
5522 pNext = src->pNext;
5523 subgroupSize = src->subgroupSize;
5524 supportedStages = src->supportedStages;
5525 supportedOperations = src->supportedOperations;
5526 quadOperationsInAllStages = src->quadOperationsInAllStages;
5527}
5528
5529safe_VkBindBufferMemoryInfo::safe_VkBindBufferMemoryInfo(const VkBindBufferMemoryInfo* in_struct) :
5530 sType(in_struct->sType),
5531 pNext(in_struct->pNext),
5532 buffer(in_struct->buffer),
5533 memory(in_struct->memory),
5534 memoryOffset(in_struct->memoryOffset)
5535{
5536}
5537
5538safe_VkBindBufferMemoryInfo::safe_VkBindBufferMemoryInfo()
5539{}
5540
5541safe_VkBindBufferMemoryInfo::safe_VkBindBufferMemoryInfo(const safe_VkBindBufferMemoryInfo& src)
5542{
5543 sType = src.sType;
5544 pNext = src.pNext;
5545 buffer = src.buffer;
5546 memory = src.memory;
5547 memoryOffset = src.memoryOffset;
5548}
5549
5550safe_VkBindBufferMemoryInfo& safe_VkBindBufferMemoryInfo::operator=(const safe_VkBindBufferMemoryInfo& src)
5551{
5552 if (&src == this) return *this;
5553
5554
5555 sType = src.sType;
5556 pNext = src.pNext;
5557 buffer = src.buffer;
5558 memory = src.memory;
5559 memoryOffset = src.memoryOffset;
5560
5561 return *this;
5562}
5563
5564safe_VkBindBufferMemoryInfo::~safe_VkBindBufferMemoryInfo()
5565{
5566}
5567
5568void safe_VkBindBufferMemoryInfo::initialize(const VkBindBufferMemoryInfo* in_struct)
5569{
5570 sType = in_struct->sType;
5571 pNext = in_struct->pNext;
5572 buffer = in_struct->buffer;
5573 memory = in_struct->memory;
5574 memoryOffset = in_struct->memoryOffset;
5575}
5576
5577void safe_VkBindBufferMemoryInfo::initialize(const safe_VkBindBufferMemoryInfo* src)
5578{
5579 sType = src->sType;
5580 pNext = src->pNext;
5581 buffer = src->buffer;
5582 memory = src->memory;
5583 memoryOffset = src->memoryOffset;
5584}
5585
5586safe_VkBindImageMemoryInfo::safe_VkBindImageMemoryInfo(const VkBindImageMemoryInfo* in_struct) :
5587 sType(in_struct->sType),
5588 pNext(in_struct->pNext),
5589 image(in_struct->image),
5590 memory(in_struct->memory),
5591 memoryOffset(in_struct->memoryOffset)
5592{
5593}
5594
5595safe_VkBindImageMemoryInfo::safe_VkBindImageMemoryInfo()
5596{}
5597
5598safe_VkBindImageMemoryInfo::safe_VkBindImageMemoryInfo(const safe_VkBindImageMemoryInfo& src)
5599{
5600 sType = src.sType;
5601 pNext = src.pNext;
5602 image = src.image;
5603 memory = src.memory;
5604 memoryOffset = src.memoryOffset;
5605}
5606
5607safe_VkBindImageMemoryInfo& safe_VkBindImageMemoryInfo::operator=(const safe_VkBindImageMemoryInfo& src)
5608{
5609 if (&src == this) return *this;
5610
5611
5612 sType = src.sType;
5613 pNext = src.pNext;
5614 image = src.image;
5615 memory = src.memory;
5616 memoryOffset = src.memoryOffset;
5617
5618 return *this;
5619}
5620
5621safe_VkBindImageMemoryInfo::~safe_VkBindImageMemoryInfo()
5622{
5623}
5624
5625void safe_VkBindImageMemoryInfo::initialize(const VkBindImageMemoryInfo* in_struct)
5626{
5627 sType = in_struct->sType;
5628 pNext = in_struct->pNext;
5629 image = in_struct->image;
5630 memory = in_struct->memory;
5631 memoryOffset = in_struct->memoryOffset;
5632}
5633
5634void safe_VkBindImageMemoryInfo::initialize(const safe_VkBindImageMemoryInfo* src)
5635{
5636 sType = src->sType;
5637 pNext = src->pNext;
5638 image = src->image;
5639 memory = src->memory;
5640 memoryOffset = src->memoryOffset;
5641}
5642
5643safe_VkPhysicalDevice16BitStorageFeatures::safe_VkPhysicalDevice16BitStorageFeatures(const VkPhysicalDevice16BitStorageFeatures* in_struct) :
5644 sType(in_struct->sType),
5645 pNext(in_struct->pNext),
5646 storageBuffer16BitAccess(in_struct->storageBuffer16BitAccess),
5647 uniformAndStorageBuffer16BitAccess(in_struct->uniformAndStorageBuffer16BitAccess),
5648 storagePushConstant16(in_struct->storagePushConstant16),
5649 storageInputOutput16(in_struct->storageInputOutput16)
5650{
5651}
5652
5653safe_VkPhysicalDevice16BitStorageFeatures::safe_VkPhysicalDevice16BitStorageFeatures()
5654{}
5655
5656safe_VkPhysicalDevice16BitStorageFeatures::safe_VkPhysicalDevice16BitStorageFeatures(const safe_VkPhysicalDevice16BitStorageFeatures& src)
5657{
5658 sType = src.sType;
5659 pNext = src.pNext;
5660 storageBuffer16BitAccess = src.storageBuffer16BitAccess;
5661 uniformAndStorageBuffer16BitAccess = src.uniformAndStorageBuffer16BitAccess;
5662 storagePushConstant16 = src.storagePushConstant16;
5663 storageInputOutput16 = src.storageInputOutput16;
5664}
5665
5666safe_VkPhysicalDevice16BitStorageFeatures& safe_VkPhysicalDevice16BitStorageFeatures::operator=(const safe_VkPhysicalDevice16BitStorageFeatures& src)
5667{
5668 if (&src == this) return *this;
5669
5670
5671 sType = src.sType;
5672 pNext = src.pNext;
5673 storageBuffer16BitAccess = src.storageBuffer16BitAccess;
5674 uniformAndStorageBuffer16BitAccess = src.uniformAndStorageBuffer16BitAccess;
5675 storagePushConstant16 = src.storagePushConstant16;
5676 storageInputOutput16 = src.storageInputOutput16;
5677
5678 return *this;
5679}
5680
5681safe_VkPhysicalDevice16BitStorageFeatures::~safe_VkPhysicalDevice16BitStorageFeatures()
5682{
5683}
5684
5685void safe_VkPhysicalDevice16BitStorageFeatures::initialize(const VkPhysicalDevice16BitStorageFeatures* in_struct)
5686{
5687 sType = in_struct->sType;
5688 pNext = in_struct->pNext;
5689 storageBuffer16BitAccess = in_struct->storageBuffer16BitAccess;
5690 uniformAndStorageBuffer16BitAccess = in_struct->uniformAndStorageBuffer16BitAccess;
5691 storagePushConstant16 = in_struct->storagePushConstant16;
5692 storageInputOutput16 = in_struct->storageInputOutput16;
5693}
5694
5695void safe_VkPhysicalDevice16BitStorageFeatures::initialize(const safe_VkPhysicalDevice16BitStorageFeatures* src)
5696{
5697 sType = src->sType;
5698 pNext = src->pNext;
5699 storageBuffer16BitAccess = src->storageBuffer16BitAccess;
5700 uniformAndStorageBuffer16BitAccess = src->uniformAndStorageBuffer16BitAccess;
5701 storagePushConstant16 = src->storagePushConstant16;
5702 storageInputOutput16 = src->storageInputOutput16;
5703}
5704
5705safe_VkMemoryDedicatedRequirements::safe_VkMemoryDedicatedRequirements(const VkMemoryDedicatedRequirements* in_struct) :
5706 sType(in_struct->sType),
5707 pNext(in_struct->pNext),
5708 prefersDedicatedAllocation(in_struct->prefersDedicatedAllocation),
5709 requiresDedicatedAllocation(in_struct->requiresDedicatedAllocation)
5710{
5711}
5712
5713safe_VkMemoryDedicatedRequirements::safe_VkMemoryDedicatedRequirements()
5714{}
5715
5716safe_VkMemoryDedicatedRequirements::safe_VkMemoryDedicatedRequirements(const safe_VkMemoryDedicatedRequirements& src)
5717{
5718 sType = src.sType;
5719 pNext = src.pNext;
5720 prefersDedicatedAllocation = src.prefersDedicatedAllocation;
5721 requiresDedicatedAllocation = src.requiresDedicatedAllocation;
5722}
5723
5724safe_VkMemoryDedicatedRequirements& safe_VkMemoryDedicatedRequirements::operator=(const safe_VkMemoryDedicatedRequirements& src)
5725{
5726 if (&src == this) return *this;
5727
5728
5729 sType = src.sType;
5730 pNext = src.pNext;
5731 prefersDedicatedAllocation = src.prefersDedicatedAllocation;
5732 requiresDedicatedAllocation = src.requiresDedicatedAllocation;
5733
5734 return *this;
5735}
5736
5737safe_VkMemoryDedicatedRequirements::~safe_VkMemoryDedicatedRequirements()
5738{
5739}
5740
5741void safe_VkMemoryDedicatedRequirements::initialize(const VkMemoryDedicatedRequirements* in_struct)
5742{
5743 sType = in_struct->sType;
5744 pNext = in_struct->pNext;
5745 prefersDedicatedAllocation = in_struct->prefersDedicatedAllocation;
5746 requiresDedicatedAllocation = in_struct->requiresDedicatedAllocation;
5747}
5748
5749void safe_VkMemoryDedicatedRequirements::initialize(const safe_VkMemoryDedicatedRequirements* src)
5750{
5751 sType = src->sType;
5752 pNext = src->pNext;
5753 prefersDedicatedAllocation = src->prefersDedicatedAllocation;
5754 requiresDedicatedAllocation = src->requiresDedicatedAllocation;
5755}
5756
5757safe_VkMemoryDedicatedAllocateInfo::safe_VkMemoryDedicatedAllocateInfo(const VkMemoryDedicatedAllocateInfo* in_struct) :
5758 sType(in_struct->sType),
5759 pNext(in_struct->pNext),
5760 image(in_struct->image),
5761 buffer(in_struct->buffer)
5762{
5763}
5764
5765safe_VkMemoryDedicatedAllocateInfo::safe_VkMemoryDedicatedAllocateInfo()
5766{}
5767
5768safe_VkMemoryDedicatedAllocateInfo::safe_VkMemoryDedicatedAllocateInfo(const safe_VkMemoryDedicatedAllocateInfo& src)
5769{
5770 sType = src.sType;
5771 pNext = src.pNext;
5772 image = src.image;
5773 buffer = src.buffer;
5774}
5775
5776safe_VkMemoryDedicatedAllocateInfo& safe_VkMemoryDedicatedAllocateInfo::operator=(const safe_VkMemoryDedicatedAllocateInfo& src)
5777{
5778 if (&src == this) return *this;
5779
5780
5781 sType = src.sType;
5782 pNext = src.pNext;
5783 image = src.image;
5784 buffer = src.buffer;
5785
5786 return *this;
5787}
5788
5789safe_VkMemoryDedicatedAllocateInfo::~safe_VkMemoryDedicatedAllocateInfo()
5790{
5791}
5792
5793void safe_VkMemoryDedicatedAllocateInfo::initialize(const VkMemoryDedicatedAllocateInfo* in_struct)
5794{
5795 sType = in_struct->sType;
5796 pNext = in_struct->pNext;
5797 image = in_struct->image;
5798 buffer = in_struct->buffer;
5799}
5800
5801void safe_VkMemoryDedicatedAllocateInfo::initialize(const safe_VkMemoryDedicatedAllocateInfo* src)
5802{
5803 sType = src->sType;
5804 pNext = src->pNext;
5805 image = src->image;
5806 buffer = src->buffer;
5807}
5808
5809safe_VkMemoryAllocateFlagsInfo::safe_VkMemoryAllocateFlagsInfo(const VkMemoryAllocateFlagsInfo* in_struct) :
5810 sType(in_struct->sType),
5811 pNext(in_struct->pNext),
5812 flags(in_struct->flags),
5813 deviceMask(in_struct->deviceMask)
5814{
5815}
5816
5817safe_VkMemoryAllocateFlagsInfo::safe_VkMemoryAllocateFlagsInfo()
5818{}
5819
5820safe_VkMemoryAllocateFlagsInfo::safe_VkMemoryAllocateFlagsInfo(const safe_VkMemoryAllocateFlagsInfo& src)
5821{
5822 sType = src.sType;
5823 pNext = src.pNext;
5824 flags = src.flags;
5825 deviceMask = src.deviceMask;
5826}
5827
5828safe_VkMemoryAllocateFlagsInfo& safe_VkMemoryAllocateFlagsInfo::operator=(const safe_VkMemoryAllocateFlagsInfo& src)
5829{
5830 if (&src == this) return *this;
5831
5832
5833 sType = src.sType;
5834 pNext = src.pNext;
5835 flags = src.flags;
5836 deviceMask = src.deviceMask;
5837
5838 return *this;
5839}
5840
5841safe_VkMemoryAllocateFlagsInfo::~safe_VkMemoryAllocateFlagsInfo()
5842{
5843}
5844
5845void safe_VkMemoryAllocateFlagsInfo::initialize(const VkMemoryAllocateFlagsInfo* in_struct)
5846{
5847 sType = in_struct->sType;
5848 pNext = in_struct->pNext;
5849 flags = in_struct->flags;
5850 deviceMask = in_struct->deviceMask;
5851}
5852
5853void safe_VkMemoryAllocateFlagsInfo::initialize(const safe_VkMemoryAllocateFlagsInfo* src)
5854{
5855 sType = src->sType;
5856 pNext = src->pNext;
5857 flags = src->flags;
5858 deviceMask = src->deviceMask;
5859}
5860
5861safe_VkDeviceGroupRenderPassBeginInfo::safe_VkDeviceGroupRenderPassBeginInfo(const VkDeviceGroupRenderPassBeginInfo* in_struct) :
5862 sType(in_struct->sType),
5863 pNext(in_struct->pNext),
5864 deviceMask(in_struct->deviceMask),
5865 deviceRenderAreaCount(in_struct->deviceRenderAreaCount),
5866 pDeviceRenderAreas(nullptr)
5867{
5868 if (in_struct->pDeviceRenderAreas) {
5869 pDeviceRenderAreas = new VkRect2D[in_struct->deviceRenderAreaCount];
5870 memcpy ((void *)pDeviceRenderAreas, (void *)in_struct->pDeviceRenderAreas, sizeof(VkRect2D)*in_struct->deviceRenderAreaCount);
5871 }
5872}
5873
5874safe_VkDeviceGroupRenderPassBeginInfo::safe_VkDeviceGroupRenderPassBeginInfo() :
5875 pDeviceRenderAreas(nullptr)
5876{}
5877
5878safe_VkDeviceGroupRenderPassBeginInfo::safe_VkDeviceGroupRenderPassBeginInfo(const safe_VkDeviceGroupRenderPassBeginInfo& src)
5879{
5880 sType = src.sType;
5881 pNext = src.pNext;
5882 deviceMask = src.deviceMask;
5883 deviceRenderAreaCount = src.deviceRenderAreaCount;
5884 pDeviceRenderAreas = nullptr;
5885 if (src.pDeviceRenderAreas) {
5886 pDeviceRenderAreas = new VkRect2D[src.deviceRenderAreaCount];
5887 memcpy ((void *)pDeviceRenderAreas, (void *)src.pDeviceRenderAreas, sizeof(VkRect2D)*src.deviceRenderAreaCount);
5888 }
5889}
5890
5891safe_VkDeviceGroupRenderPassBeginInfo& safe_VkDeviceGroupRenderPassBeginInfo::operator=(const safe_VkDeviceGroupRenderPassBeginInfo& src)
5892{
5893 if (&src == this) return *this;
5894
5895 if (pDeviceRenderAreas)
5896 delete[] pDeviceRenderAreas;
5897
5898 sType = src.sType;
5899 pNext = src.pNext;
5900 deviceMask = src.deviceMask;
5901 deviceRenderAreaCount = src.deviceRenderAreaCount;
5902 pDeviceRenderAreas = nullptr;
5903 if (src.pDeviceRenderAreas) {
5904 pDeviceRenderAreas = new VkRect2D[src.deviceRenderAreaCount];
5905 memcpy ((void *)pDeviceRenderAreas, (void *)src.pDeviceRenderAreas, sizeof(VkRect2D)*src.deviceRenderAreaCount);
5906 }
5907
5908 return *this;
5909}
5910
5911safe_VkDeviceGroupRenderPassBeginInfo::~safe_VkDeviceGroupRenderPassBeginInfo()
5912{
5913 if (pDeviceRenderAreas)
5914 delete[] pDeviceRenderAreas;
5915}
5916
5917void safe_VkDeviceGroupRenderPassBeginInfo::initialize(const VkDeviceGroupRenderPassBeginInfo* in_struct)
5918{
5919 sType = in_struct->sType;
5920 pNext = in_struct->pNext;
5921 deviceMask = in_struct->deviceMask;
5922 deviceRenderAreaCount = in_struct->deviceRenderAreaCount;
5923 pDeviceRenderAreas = nullptr;
5924 if (in_struct->pDeviceRenderAreas) {
5925 pDeviceRenderAreas = new VkRect2D[in_struct->deviceRenderAreaCount];
5926 memcpy ((void *)pDeviceRenderAreas, (void *)in_struct->pDeviceRenderAreas, sizeof(VkRect2D)*in_struct->deviceRenderAreaCount);
5927 }
5928}
5929
5930void safe_VkDeviceGroupRenderPassBeginInfo::initialize(const safe_VkDeviceGroupRenderPassBeginInfo* src)
5931{
5932 sType = src->sType;
5933 pNext = src->pNext;
5934 deviceMask = src->deviceMask;
5935 deviceRenderAreaCount = src->deviceRenderAreaCount;
5936 pDeviceRenderAreas = nullptr;
5937 if (src->pDeviceRenderAreas) {
5938 pDeviceRenderAreas = new VkRect2D[src->deviceRenderAreaCount];
5939 memcpy ((void *)pDeviceRenderAreas, (void *)src->pDeviceRenderAreas, sizeof(VkRect2D)*src->deviceRenderAreaCount);
5940 }
5941}
5942
5943safe_VkDeviceGroupCommandBufferBeginInfo::safe_VkDeviceGroupCommandBufferBeginInfo(const VkDeviceGroupCommandBufferBeginInfo* in_struct) :
5944 sType(in_struct->sType),
5945 pNext(in_struct->pNext),
5946 deviceMask(in_struct->deviceMask)
5947{
5948}
5949
5950safe_VkDeviceGroupCommandBufferBeginInfo::safe_VkDeviceGroupCommandBufferBeginInfo()
5951{}
5952
5953safe_VkDeviceGroupCommandBufferBeginInfo::safe_VkDeviceGroupCommandBufferBeginInfo(const safe_VkDeviceGroupCommandBufferBeginInfo& src)
5954{
5955 sType = src.sType;
5956 pNext = src.pNext;
5957 deviceMask = src.deviceMask;
5958}
5959
5960safe_VkDeviceGroupCommandBufferBeginInfo& safe_VkDeviceGroupCommandBufferBeginInfo::operator=(const safe_VkDeviceGroupCommandBufferBeginInfo& src)
5961{
5962 if (&src == this) return *this;
5963
5964
5965 sType = src.sType;
5966 pNext = src.pNext;
5967 deviceMask = src.deviceMask;
5968
5969 return *this;
5970}
5971
5972safe_VkDeviceGroupCommandBufferBeginInfo::~safe_VkDeviceGroupCommandBufferBeginInfo()
5973{
5974}
5975
5976void safe_VkDeviceGroupCommandBufferBeginInfo::initialize(const VkDeviceGroupCommandBufferBeginInfo* in_struct)
5977{
5978 sType = in_struct->sType;
5979 pNext = in_struct->pNext;
5980 deviceMask = in_struct->deviceMask;
5981}
5982
5983void safe_VkDeviceGroupCommandBufferBeginInfo::initialize(const safe_VkDeviceGroupCommandBufferBeginInfo* src)
5984{
5985 sType = src->sType;
5986 pNext = src->pNext;
5987 deviceMask = src->deviceMask;
5988}
5989
5990safe_VkDeviceGroupSubmitInfo::safe_VkDeviceGroupSubmitInfo(const VkDeviceGroupSubmitInfo* in_struct) :
5991 sType(in_struct->sType),
5992 pNext(in_struct->pNext),
5993 waitSemaphoreCount(in_struct->waitSemaphoreCount),
5994 pWaitSemaphoreDeviceIndices(nullptr),
5995 commandBufferCount(in_struct->commandBufferCount),
5996 pCommandBufferDeviceMasks(nullptr),
5997 signalSemaphoreCount(in_struct->signalSemaphoreCount),
5998 pSignalSemaphoreDeviceIndices(nullptr)
5999{
6000 if (in_struct->pWaitSemaphoreDeviceIndices) {
6001 pWaitSemaphoreDeviceIndices = new uint32_t[in_struct->waitSemaphoreCount];
6002 memcpy ((void *)pWaitSemaphoreDeviceIndices, (void *)in_struct->pWaitSemaphoreDeviceIndices, sizeof(uint32_t)*in_struct->waitSemaphoreCount);
6003 }
6004 if (in_struct->pCommandBufferDeviceMasks) {
6005 pCommandBufferDeviceMasks = new uint32_t[in_struct->commandBufferCount];
6006 memcpy ((void *)pCommandBufferDeviceMasks, (void *)in_struct->pCommandBufferDeviceMasks, sizeof(uint32_t)*in_struct->commandBufferCount);
6007 }
6008 if (in_struct->pSignalSemaphoreDeviceIndices) {
6009 pSignalSemaphoreDeviceIndices = new uint32_t[in_struct->signalSemaphoreCount];
6010 memcpy ((void *)pSignalSemaphoreDeviceIndices, (void *)in_struct->pSignalSemaphoreDeviceIndices, sizeof(uint32_t)*in_struct->signalSemaphoreCount);
6011 }
6012}
6013
6014safe_VkDeviceGroupSubmitInfo::safe_VkDeviceGroupSubmitInfo() :
6015 pWaitSemaphoreDeviceIndices(nullptr),
6016 pCommandBufferDeviceMasks(nullptr),
6017 pSignalSemaphoreDeviceIndices(nullptr)
6018{}
6019
6020safe_VkDeviceGroupSubmitInfo::safe_VkDeviceGroupSubmitInfo(const safe_VkDeviceGroupSubmitInfo& src)
6021{
6022 sType = src.sType;
6023 pNext = src.pNext;
6024 waitSemaphoreCount = src.waitSemaphoreCount;
6025 pWaitSemaphoreDeviceIndices = nullptr;
6026 commandBufferCount = src.commandBufferCount;
6027 pCommandBufferDeviceMasks = nullptr;
6028 signalSemaphoreCount = src.signalSemaphoreCount;
6029 pSignalSemaphoreDeviceIndices = nullptr;
6030 if (src.pWaitSemaphoreDeviceIndices) {
6031 pWaitSemaphoreDeviceIndices = new uint32_t[src.waitSemaphoreCount];
6032 memcpy ((void *)pWaitSemaphoreDeviceIndices, (void *)src.pWaitSemaphoreDeviceIndices, sizeof(uint32_t)*src.waitSemaphoreCount);
6033 }
6034 if (src.pCommandBufferDeviceMasks) {
6035 pCommandBufferDeviceMasks = new uint32_t[src.commandBufferCount];
6036 memcpy ((void *)pCommandBufferDeviceMasks, (void *)src.pCommandBufferDeviceMasks, sizeof(uint32_t)*src.commandBufferCount);
6037 }
6038 if (src.pSignalSemaphoreDeviceIndices) {
6039 pSignalSemaphoreDeviceIndices = new uint32_t[src.signalSemaphoreCount];
6040 memcpy ((void *)pSignalSemaphoreDeviceIndices, (void *)src.pSignalSemaphoreDeviceIndices, sizeof(uint32_t)*src.signalSemaphoreCount);
6041 }
6042}
6043
6044safe_VkDeviceGroupSubmitInfo& safe_VkDeviceGroupSubmitInfo::operator=(const safe_VkDeviceGroupSubmitInfo& src)
6045{
6046 if (&src == this) return *this;
6047
6048 if (pWaitSemaphoreDeviceIndices)
6049 delete[] pWaitSemaphoreDeviceIndices;
6050 if (pCommandBufferDeviceMasks)
6051 delete[] pCommandBufferDeviceMasks;
6052 if (pSignalSemaphoreDeviceIndices)
6053 delete[] pSignalSemaphoreDeviceIndices;
6054
6055 sType = src.sType;
6056 pNext = src.pNext;
6057 waitSemaphoreCount = src.waitSemaphoreCount;
6058 pWaitSemaphoreDeviceIndices = nullptr;
6059 commandBufferCount = src.commandBufferCount;
6060 pCommandBufferDeviceMasks = nullptr;
6061 signalSemaphoreCount = src.signalSemaphoreCount;
6062 pSignalSemaphoreDeviceIndices = nullptr;
6063 if (src.pWaitSemaphoreDeviceIndices) {
6064 pWaitSemaphoreDeviceIndices = new uint32_t[src.waitSemaphoreCount];
6065 memcpy ((void *)pWaitSemaphoreDeviceIndices, (void *)src.pWaitSemaphoreDeviceIndices, sizeof(uint32_t)*src.waitSemaphoreCount);
6066 }
6067 if (src.pCommandBufferDeviceMasks) {
6068 pCommandBufferDeviceMasks = new uint32_t[src.commandBufferCount];
6069 memcpy ((void *)pCommandBufferDeviceMasks, (void *)src.pCommandBufferDeviceMasks, sizeof(uint32_t)*src.commandBufferCount);
6070 }
6071 if (src.pSignalSemaphoreDeviceIndices) {
6072 pSignalSemaphoreDeviceIndices = new uint32_t[src.signalSemaphoreCount];
6073 memcpy ((void *)pSignalSemaphoreDeviceIndices, (void *)src.pSignalSemaphoreDeviceIndices, sizeof(uint32_t)*src.signalSemaphoreCount);
6074 }
6075
6076 return *this;
6077}
6078
6079safe_VkDeviceGroupSubmitInfo::~safe_VkDeviceGroupSubmitInfo()
6080{
6081 if (pWaitSemaphoreDeviceIndices)
6082 delete[] pWaitSemaphoreDeviceIndices;
6083 if (pCommandBufferDeviceMasks)
6084 delete[] pCommandBufferDeviceMasks;
6085 if (pSignalSemaphoreDeviceIndices)
6086 delete[] pSignalSemaphoreDeviceIndices;
6087}
6088
6089void safe_VkDeviceGroupSubmitInfo::initialize(const VkDeviceGroupSubmitInfo* in_struct)
6090{
6091 sType = in_struct->sType;
6092 pNext = in_struct->pNext;
6093 waitSemaphoreCount = in_struct->waitSemaphoreCount;
6094 pWaitSemaphoreDeviceIndices = nullptr;
6095 commandBufferCount = in_struct->commandBufferCount;
6096 pCommandBufferDeviceMasks = nullptr;
6097 signalSemaphoreCount = in_struct->signalSemaphoreCount;
6098 pSignalSemaphoreDeviceIndices = nullptr;
6099 if (in_struct->pWaitSemaphoreDeviceIndices) {
6100 pWaitSemaphoreDeviceIndices = new uint32_t[in_struct->waitSemaphoreCount];
6101 memcpy ((void *)pWaitSemaphoreDeviceIndices, (void *)in_struct->pWaitSemaphoreDeviceIndices, sizeof(uint32_t)*in_struct->waitSemaphoreCount);
6102 }
6103 if (in_struct->pCommandBufferDeviceMasks) {
6104 pCommandBufferDeviceMasks = new uint32_t[in_struct->commandBufferCount];
6105 memcpy ((void *)pCommandBufferDeviceMasks, (void *)in_struct->pCommandBufferDeviceMasks, sizeof(uint32_t)*in_struct->commandBufferCount);
6106 }
6107 if (in_struct->pSignalSemaphoreDeviceIndices) {
6108 pSignalSemaphoreDeviceIndices = new uint32_t[in_struct->signalSemaphoreCount];
6109 memcpy ((void *)pSignalSemaphoreDeviceIndices, (void *)in_struct->pSignalSemaphoreDeviceIndices, sizeof(uint32_t)*in_struct->signalSemaphoreCount);
6110 }
6111}
6112
6113void safe_VkDeviceGroupSubmitInfo::initialize(const safe_VkDeviceGroupSubmitInfo* src)
6114{
6115 sType = src->sType;
6116 pNext = src->pNext;
6117 waitSemaphoreCount = src->waitSemaphoreCount;
6118 pWaitSemaphoreDeviceIndices = nullptr;
6119 commandBufferCount = src->commandBufferCount;
6120 pCommandBufferDeviceMasks = nullptr;
6121 signalSemaphoreCount = src->signalSemaphoreCount;
6122 pSignalSemaphoreDeviceIndices = nullptr;
6123 if (src->pWaitSemaphoreDeviceIndices) {
6124 pWaitSemaphoreDeviceIndices = new uint32_t[src->waitSemaphoreCount];
6125 memcpy ((void *)pWaitSemaphoreDeviceIndices, (void *)src->pWaitSemaphoreDeviceIndices, sizeof(uint32_t)*src->waitSemaphoreCount);
6126 }
6127 if (src->pCommandBufferDeviceMasks) {
6128 pCommandBufferDeviceMasks = new uint32_t[src->commandBufferCount];
6129 memcpy ((void *)pCommandBufferDeviceMasks, (void *)src->pCommandBufferDeviceMasks, sizeof(uint32_t)*src->commandBufferCount);
6130 }
6131 if (src->pSignalSemaphoreDeviceIndices) {
6132 pSignalSemaphoreDeviceIndices = new uint32_t[src->signalSemaphoreCount];
6133 memcpy ((void *)pSignalSemaphoreDeviceIndices, (void *)src->pSignalSemaphoreDeviceIndices, sizeof(uint32_t)*src->signalSemaphoreCount);
6134 }
6135}
6136
6137safe_VkDeviceGroupBindSparseInfo::safe_VkDeviceGroupBindSparseInfo(const VkDeviceGroupBindSparseInfo* in_struct) :
6138 sType(in_struct->sType),
6139 pNext(in_struct->pNext),
6140 resourceDeviceIndex(in_struct->resourceDeviceIndex),
6141 memoryDeviceIndex(in_struct->memoryDeviceIndex)
6142{
6143}
6144
6145safe_VkDeviceGroupBindSparseInfo::safe_VkDeviceGroupBindSparseInfo()
6146{}
6147
6148safe_VkDeviceGroupBindSparseInfo::safe_VkDeviceGroupBindSparseInfo(const safe_VkDeviceGroupBindSparseInfo& src)
6149{
6150 sType = src.sType;
6151 pNext = src.pNext;
6152 resourceDeviceIndex = src.resourceDeviceIndex;
6153 memoryDeviceIndex = src.memoryDeviceIndex;
6154}
6155
6156safe_VkDeviceGroupBindSparseInfo& safe_VkDeviceGroupBindSparseInfo::operator=(const safe_VkDeviceGroupBindSparseInfo& src)
6157{
6158 if (&src == this) return *this;
6159
6160
6161 sType = src.sType;
6162 pNext = src.pNext;
6163 resourceDeviceIndex = src.resourceDeviceIndex;
6164 memoryDeviceIndex = src.memoryDeviceIndex;
6165
6166 return *this;
6167}
6168
6169safe_VkDeviceGroupBindSparseInfo::~safe_VkDeviceGroupBindSparseInfo()
6170{
6171}
6172
6173void safe_VkDeviceGroupBindSparseInfo::initialize(const VkDeviceGroupBindSparseInfo* in_struct)
6174{
6175 sType = in_struct->sType;
6176 pNext = in_struct->pNext;
6177 resourceDeviceIndex = in_struct->resourceDeviceIndex;
6178 memoryDeviceIndex = in_struct->memoryDeviceIndex;
6179}
6180
6181void safe_VkDeviceGroupBindSparseInfo::initialize(const safe_VkDeviceGroupBindSparseInfo* src)
6182{
6183 sType = src->sType;
6184 pNext = src->pNext;
6185 resourceDeviceIndex = src->resourceDeviceIndex;
6186 memoryDeviceIndex = src->memoryDeviceIndex;
6187}
6188
6189safe_VkBindBufferMemoryDeviceGroupInfo::safe_VkBindBufferMemoryDeviceGroupInfo(const VkBindBufferMemoryDeviceGroupInfo* in_struct) :
6190 sType(in_struct->sType),
6191 pNext(in_struct->pNext),
6192 deviceIndexCount(in_struct->deviceIndexCount),
6193 pDeviceIndices(nullptr)
6194{
6195 if (in_struct->pDeviceIndices) {
6196 pDeviceIndices = new uint32_t[in_struct->deviceIndexCount];
6197 memcpy ((void *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount);
6198 }
6199}
6200
6201safe_VkBindBufferMemoryDeviceGroupInfo::safe_VkBindBufferMemoryDeviceGroupInfo() :
6202 pDeviceIndices(nullptr)
6203{}
6204
6205safe_VkBindBufferMemoryDeviceGroupInfo::safe_VkBindBufferMemoryDeviceGroupInfo(const safe_VkBindBufferMemoryDeviceGroupInfo& src)
6206{
6207 sType = src.sType;
6208 pNext = src.pNext;
6209 deviceIndexCount = src.deviceIndexCount;
6210 pDeviceIndices = nullptr;
6211 if (src.pDeviceIndices) {
6212 pDeviceIndices = new uint32_t[src.deviceIndexCount];
6213 memcpy ((void *)pDeviceIndices, (void *)src.pDeviceIndices, sizeof(uint32_t)*src.deviceIndexCount);
6214 }
6215}
6216
6217safe_VkBindBufferMemoryDeviceGroupInfo& safe_VkBindBufferMemoryDeviceGroupInfo::operator=(const safe_VkBindBufferMemoryDeviceGroupInfo& src)
6218{
6219 if (&src == this) return *this;
6220
6221 if (pDeviceIndices)
6222 delete[] pDeviceIndices;
6223
6224 sType = src.sType;
6225 pNext = src.pNext;
6226 deviceIndexCount = src.deviceIndexCount;
6227 pDeviceIndices = nullptr;
6228 if (src.pDeviceIndices) {
6229 pDeviceIndices = new uint32_t[src.deviceIndexCount];
6230 memcpy ((void *)pDeviceIndices, (void *)src.pDeviceIndices, sizeof(uint32_t)*src.deviceIndexCount);
6231 }
6232
6233 return *this;
6234}
6235
6236safe_VkBindBufferMemoryDeviceGroupInfo::~safe_VkBindBufferMemoryDeviceGroupInfo()
6237{
6238 if (pDeviceIndices)
6239 delete[] pDeviceIndices;
6240}
6241
6242void safe_VkBindBufferMemoryDeviceGroupInfo::initialize(const VkBindBufferMemoryDeviceGroupInfo* in_struct)
6243{
6244 sType = in_struct->sType;
6245 pNext = in_struct->pNext;
6246 deviceIndexCount = in_struct->deviceIndexCount;
6247 pDeviceIndices = nullptr;
6248 if (in_struct->pDeviceIndices) {
6249 pDeviceIndices = new uint32_t[in_struct->deviceIndexCount];
6250 memcpy ((void *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount);
6251 }
6252}
6253
6254void safe_VkBindBufferMemoryDeviceGroupInfo::initialize(const safe_VkBindBufferMemoryDeviceGroupInfo* src)
6255{
6256 sType = src->sType;
6257 pNext = src->pNext;
6258 deviceIndexCount = src->deviceIndexCount;
6259 pDeviceIndices = nullptr;
6260 if (src->pDeviceIndices) {
6261 pDeviceIndices = new uint32_t[src->deviceIndexCount];
6262 memcpy ((void *)pDeviceIndices, (void *)src->pDeviceIndices, sizeof(uint32_t)*src->deviceIndexCount);
6263 }
6264}
6265
6266safe_VkBindImageMemoryDeviceGroupInfo::safe_VkBindImageMemoryDeviceGroupInfo(const VkBindImageMemoryDeviceGroupInfo* in_struct) :
6267 sType(in_struct->sType),
6268 pNext(in_struct->pNext),
6269 deviceIndexCount(in_struct->deviceIndexCount),
6270 pDeviceIndices(nullptr),
6271 splitInstanceBindRegionCount(in_struct->splitInstanceBindRegionCount),
6272 pSplitInstanceBindRegions(nullptr)
6273{
6274 if (in_struct->pDeviceIndices) {
6275 pDeviceIndices = new uint32_t[in_struct->deviceIndexCount];
6276 memcpy ((void *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount);
6277 }
6278 if (in_struct->pSplitInstanceBindRegions) {
6279 pSplitInstanceBindRegions = new VkRect2D[in_struct->splitInstanceBindRegionCount];
6280 memcpy ((void *)pSplitInstanceBindRegions, (void *)in_struct->pSplitInstanceBindRegions, sizeof(VkRect2D)*in_struct->splitInstanceBindRegionCount);
6281 }
6282}
6283
6284safe_VkBindImageMemoryDeviceGroupInfo::safe_VkBindImageMemoryDeviceGroupInfo() :
6285 pDeviceIndices(nullptr),
6286 pSplitInstanceBindRegions(nullptr)
6287{}
6288
6289safe_VkBindImageMemoryDeviceGroupInfo::safe_VkBindImageMemoryDeviceGroupInfo(const safe_VkBindImageMemoryDeviceGroupInfo& src)
6290{
6291 sType = src.sType;
6292 pNext = src.pNext;
6293 deviceIndexCount = src.deviceIndexCount;
6294 pDeviceIndices = nullptr;
6295 splitInstanceBindRegionCount = src.splitInstanceBindRegionCount;
6296 pSplitInstanceBindRegions = nullptr;
6297 if (src.pDeviceIndices) {
6298 pDeviceIndices = new uint32_t[src.deviceIndexCount];
6299 memcpy ((void *)pDeviceIndices, (void *)src.pDeviceIndices, sizeof(uint32_t)*src.deviceIndexCount);
6300 }
6301 if (src.pSplitInstanceBindRegions) {
6302 pSplitInstanceBindRegions = new VkRect2D[src.splitInstanceBindRegionCount];
6303 memcpy ((void *)pSplitInstanceBindRegions, (void *)src.pSplitInstanceBindRegions, sizeof(VkRect2D)*src.splitInstanceBindRegionCount);
6304 }
6305}
6306
6307safe_VkBindImageMemoryDeviceGroupInfo& safe_VkBindImageMemoryDeviceGroupInfo::operator=(const safe_VkBindImageMemoryDeviceGroupInfo& src)
6308{
6309 if (&src == this) return *this;
6310
6311 if (pDeviceIndices)
6312 delete[] pDeviceIndices;
6313 if (pSplitInstanceBindRegions)
6314 delete[] pSplitInstanceBindRegions;
6315
6316 sType = src.sType;
6317 pNext = src.pNext;
6318 deviceIndexCount = src.deviceIndexCount;
6319 pDeviceIndices = nullptr;
6320 splitInstanceBindRegionCount = src.splitInstanceBindRegionCount;
6321 pSplitInstanceBindRegions = nullptr;
6322 if (src.pDeviceIndices) {
6323 pDeviceIndices = new uint32_t[src.deviceIndexCount];
6324 memcpy ((void *)pDeviceIndices, (void *)src.pDeviceIndices, sizeof(uint32_t)*src.deviceIndexCount);
6325 }
6326 if (src.pSplitInstanceBindRegions) {
6327 pSplitInstanceBindRegions = new VkRect2D[src.splitInstanceBindRegionCount];
6328 memcpy ((void *)pSplitInstanceBindRegions, (void *)src.pSplitInstanceBindRegions, sizeof(VkRect2D)*src.splitInstanceBindRegionCount);
6329 }
6330
6331 return *this;
6332}
6333
6334safe_VkBindImageMemoryDeviceGroupInfo::~safe_VkBindImageMemoryDeviceGroupInfo()
6335{
6336 if (pDeviceIndices)
6337 delete[] pDeviceIndices;
6338 if (pSplitInstanceBindRegions)
6339 delete[] pSplitInstanceBindRegions;
6340}
6341
6342void safe_VkBindImageMemoryDeviceGroupInfo::initialize(const VkBindImageMemoryDeviceGroupInfo* in_struct)
6343{
6344 sType = in_struct->sType;
6345 pNext = in_struct->pNext;
6346 deviceIndexCount = in_struct->deviceIndexCount;
6347 pDeviceIndices = nullptr;
6348 splitInstanceBindRegionCount = in_struct->splitInstanceBindRegionCount;
6349 pSplitInstanceBindRegions = nullptr;
6350 if (in_struct->pDeviceIndices) {
6351 pDeviceIndices = new uint32_t[in_struct->deviceIndexCount];
6352 memcpy ((void *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount);
6353 }
6354 if (in_struct->pSplitInstanceBindRegions) {
6355 pSplitInstanceBindRegions = new VkRect2D[in_struct->splitInstanceBindRegionCount];
6356 memcpy ((void *)pSplitInstanceBindRegions, (void *)in_struct->pSplitInstanceBindRegions, sizeof(VkRect2D)*in_struct->splitInstanceBindRegionCount);
6357 }
6358}
6359
6360void safe_VkBindImageMemoryDeviceGroupInfo::initialize(const safe_VkBindImageMemoryDeviceGroupInfo* src)
6361{
6362 sType = src->sType;
6363 pNext = src->pNext;
6364 deviceIndexCount = src->deviceIndexCount;
6365 pDeviceIndices = nullptr;
6366 splitInstanceBindRegionCount = src->splitInstanceBindRegionCount;
6367 pSplitInstanceBindRegions = nullptr;
6368 if (src->pDeviceIndices) {
6369 pDeviceIndices = new uint32_t[src->deviceIndexCount];
6370 memcpy ((void *)pDeviceIndices, (void *)src->pDeviceIndices, sizeof(uint32_t)*src->deviceIndexCount);
6371 }
6372 if (src->pSplitInstanceBindRegions) {
6373 pSplitInstanceBindRegions = new VkRect2D[src->splitInstanceBindRegionCount];
6374 memcpy ((void *)pSplitInstanceBindRegions, (void *)src->pSplitInstanceBindRegions, sizeof(VkRect2D)*src->splitInstanceBindRegionCount);
6375 }
6376}
6377
6378safe_VkPhysicalDeviceGroupProperties::safe_VkPhysicalDeviceGroupProperties(const VkPhysicalDeviceGroupProperties* in_struct) :
6379 sType(in_struct->sType),
6380 pNext(in_struct->pNext),
6381 physicalDeviceCount(in_struct->physicalDeviceCount),
6382 subsetAllocation(in_struct->subsetAllocation)
6383{
6384 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
6385 physicalDevices[i] = in_struct->physicalDevices[i];
6386 }
6387}
6388
6389safe_VkPhysicalDeviceGroupProperties::safe_VkPhysicalDeviceGroupProperties()
6390{}
6391
6392safe_VkPhysicalDeviceGroupProperties::safe_VkPhysicalDeviceGroupProperties(const safe_VkPhysicalDeviceGroupProperties& src)
6393{
6394 sType = src.sType;
6395 pNext = src.pNext;
6396 physicalDeviceCount = src.physicalDeviceCount;
6397 subsetAllocation = src.subsetAllocation;
6398 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
6399 physicalDevices[i] = src.physicalDevices[i];
6400 }
6401}
6402
6403safe_VkPhysicalDeviceGroupProperties& safe_VkPhysicalDeviceGroupProperties::operator=(const safe_VkPhysicalDeviceGroupProperties& src)
6404{
6405 if (&src == this) return *this;
6406
6407
6408 sType = src.sType;
6409 pNext = src.pNext;
6410 physicalDeviceCount = src.physicalDeviceCount;
6411 subsetAllocation = src.subsetAllocation;
6412 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
6413 physicalDevices[i] = src.physicalDevices[i];
6414 }
6415
6416 return *this;
6417}
6418
6419safe_VkPhysicalDeviceGroupProperties::~safe_VkPhysicalDeviceGroupProperties()
6420{
6421}
6422
6423void safe_VkPhysicalDeviceGroupProperties::initialize(const VkPhysicalDeviceGroupProperties* in_struct)
6424{
6425 sType = in_struct->sType;
6426 pNext = in_struct->pNext;
6427 physicalDeviceCount = in_struct->physicalDeviceCount;
6428 subsetAllocation = in_struct->subsetAllocation;
6429 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
6430 physicalDevices[i] = in_struct->physicalDevices[i];
6431 }
6432}
6433
6434void safe_VkPhysicalDeviceGroupProperties::initialize(const safe_VkPhysicalDeviceGroupProperties* src)
6435{
6436 sType = src->sType;
6437 pNext = src->pNext;
6438 physicalDeviceCount = src->physicalDeviceCount;
6439 subsetAllocation = src->subsetAllocation;
6440 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
6441 physicalDevices[i] = src->physicalDevices[i];
6442 }
6443}
6444
6445safe_VkDeviceGroupDeviceCreateInfo::safe_VkDeviceGroupDeviceCreateInfo(const VkDeviceGroupDeviceCreateInfo* in_struct) :
6446 sType(in_struct->sType),
6447 pNext(in_struct->pNext),
6448 physicalDeviceCount(in_struct->physicalDeviceCount),
6449 pPhysicalDevices(nullptr)
6450{
6451 if (in_struct->pPhysicalDevices) {
6452 pPhysicalDevices = new VkPhysicalDevice[in_struct->physicalDeviceCount];
6453 memcpy ((void *)pPhysicalDevices, (void *)in_struct->pPhysicalDevices, sizeof(VkPhysicalDevice)*in_struct->physicalDeviceCount);
6454 }
6455}
6456
6457safe_VkDeviceGroupDeviceCreateInfo::safe_VkDeviceGroupDeviceCreateInfo() :
6458 pPhysicalDevices(nullptr)
6459{}
6460
6461safe_VkDeviceGroupDeviceCreateInfo::safe_VkDeviceGroupDeviceCreateInfo(const safe_VkDeviceGroupDeviceCreateInfo& src)
6462{
6463 sType = src.sType;
6464 pNext = src.pNext;
6465 physicalDeviceCount = src.physicalDeviceCount;
6466 pPhysicalDevices = nullptr;
6467 if (src.pPhysicalDevices) {
6468 pPhysicalDevices = new VkPhysicalDevice[src.physicalDeviceCount];
6469 memcpy ((void *)pPhysicalDevices, (void *)src.pPhysicalDevices, sizeof(VkPhysicalDevice)*src.physicalDeviceCount);
6470 }
6471}
6472
6473safe_VkDeviceGroupDeviceCreateInfo& safe_VkDeviceGroupDeviceCreateInfo::operator=(const safe_VkDeviceGroupDeviceCreateInfo& src)
6474{
6475 if (&src == this) return *this;
6476
6477 if (pPhysicalDevices)
6478 delete[] pPhysicalDevices;
6479
6480 sType = src.sType;
6481 pNext = src.pNext;
6482 physicalDeviceCount = src.physicalDeviceCount;
6483 pPhysicalDevices = nullptr;
6484 if (src.pPhysicalDevices) {
6485 pPhysicalDevices = new VkPhysicalDevice[src.physicalDeviceCount];
6486 memcpy ((void *)pPhysicalDevices, (void *)src.pPhysicalDevices, sizeof(VkPhysicalDevice)*src.physicalDeviceCount);
6487 }
6488
6489 return *this;
6490}
6491
6492safe_VkDeviceGroupDeviceCreateInfo::~safe_VkDeviceGroupDeviceCreateInfo()
6493{
6494 if (pPhysicalDevices)
6495 delete[] pPhysicalDevices;
6496}
6497
6498void safe_VkDeviceGroupDeviceCreateInfo::initialize(const VkDeviceGroupDeviceCreateInfo* in_struct)
6499{
6500 sType = in_struct->sType;
6501 pNext = in_struct->pNext;
6502 physicalDeviceCount = in_struct->physicalDeviceCount;
6503 pPhysicalDevices = nullptr;
6504 if (in_struct->pPhysicalDevices) {
6505 pPhysicalDevices = new VkPhysicalDevice[in_struct->physicalDeviceCount];
6506 memcpy ((void *)pPhysicalDevices, (void *)in_struct->pPhysicalDevices, sizeof(VkPhysicalDevice)*in_struct->physicalDeviceCount);
6507 }
6508}
6509
6510void safe_VkDeviceGroupDeviceCreateInfo::initialize(const safe_VkDeviceGroupDeviceCreateInfo* src)
6511{
6512 sType = src->sType;
6513 pNext = src->pNext;
6514 physicalDeviceCount = src->physicalDeviceCount;
6515 pPhysicalDevices = nullptr;
6516 if (src->pPhysicalDevices) {
6517 pPhysicalDevices = new VkPhysicalDevice[src->physicalDeviceCount];
6518 memcpy ((void *)pPhysicalDevices, (void *)src->pPhysicalDevices, sizeof(VkPhysicalDevice)*src->physicalDeviceCount);
6519 }
6520}
6521
6522safe_VkBufferMemoryRequirementsInfo2::safe_VkBufferMemoryRequirementsInfo2(const VkBufferMemoryRequirementsInfo2* in_struct) :
6523 sType(in_struct->sType),
6524 pNext(in_struct->pNext),
6525 buffer(in_struct->buffer)
6526{
6527}
6528
6529safe_VkBufferMemoryRequirementsInfo2::safe_VkBufferMemoryRequirementsInfo2()
6530{}
6531
6532safe_VkBufferMemoryRequirementsInfo2::safe_VkBufferMemoryRequirementsInfo2(const safe_VkBufferMemoryRequirementsInfo2& src)
6533{
6534 sType = src.sType;
6535 pNext = src.pNext;
6536 buffer = src.buffer;
6537}
6538
6539safe_VkBufferMemoryRequirementsInfo2& safe_VkBufferMemoryRequirementsInfo2::operator=(const safe_VkBufferMemoryRequirementsInfo2& src)
6540{
6541 if (&src == this) return *this;
6542
6543
6544 sType = src.sType;
6545 pNext = src.pNext;
6546 buffer = src.buffer;
6547
6548 return *this;
6549}
6550
6551safe_VkBufferMemoryRequirementsInfo2::~safe_VkBufferMemoryRequirementsInfo2()
6552{
6553}
6554
6555void safe_VkBufferMemoryRequirementsInfo2::initialize(const VkBufferMemoryRequirementsInfo2* in_struct)
6556{
6557 sType = in_struct->sType;
6558 pNext = in_struct->pNext;
6559 buffer = in_struct->buffer;
6560}
6561
6562void safe_VkBufferMemoryRequirementsInfo2::initialize(const safe_VkBufferMemoryRequirementsInfo2* src)
6563{
6564 sType = src->sType;
6565 pNext = src->pNext;
6566 buffer = src->buffer;
6567}
6568
6569safe_VkImageMemoryRequirementsInfo2::safe_VkImageMemoryRequirementsInfo2(const VkImageMemoryRequirementsInfo2* in_struct) :
6570 sType(in_struct->sType),
6571 pNext(in_struct->pNext),
6572 image(in_struct->image)
6573{
6574}
6575
6576safe_VkImageMemoryRequirementsInfo2::safe_VkImageMemoryRequirementsInfo2()
6577{}
6578
6579safe_VkImageMemoryRequirementsInfo2::safe_VkImageMemoryRequirementsInfo2(const safe_VkImageMemoryRequirementsInfo2& src)
6580{
6581 sType = src.sType;
6582 pNext = src.pNext;
6583 image = src.image;
6584}
6585
6586safe_VkImageMemoryRequirementsInfo2& safe_VkImageMemoryRequirementsInfo2::operator=(const safe_VkImageMemoryRequirementsInfo2& src)
6587{
6588 if (&src == this) return *this;
6589
6590
6591 sType = src.sType;
6592 pNext = src.pNext;
6593 image = src.image;
6594
6595 return *this;
6596}
6597
6598safe_VkImageMemoryRequirementsInfo2::~safe_VkImageMemoryRequirementsInfo2()
6599{
6600}
6601
6602void safe_VkImageMemoryRequirementsInfo2::initialize(const VkImageMemoryRequirementsInfo2* in_struct)
6603{
6604 sType = in_struct->sType;
6605 pNext = in_struct->pNext;
6606 image = in_struct->image;
6607}
6608
6609void safe_VkImageMemoryRequirementsInfo2::initialize(const safe_VkImageMemoryRequirementsInfo2* src)
6610{
6611 sType = src->sType;
6612 pNext = src->pNext;
6613 image = src->image;
6614}
6615
6616safe_VkImageSparseMemoryRequirementsInfo2::safe_VkImageSparseMemoryRequirementsInfo2(const VkImageSparseMemoryRequirementsInfo2* in_struct) :
6617 sType(in_struct->sType),
6618 pNext(in_struct->pNext),
6619 image(in_struct->image)
6620{
6621}
6622
6623safe_VkImageSparseMemoryRequirementsInfo2::safe_VkImageSparseMemoryRequirementsInfo2()
6624{}
6625
6626safe_VkImageSparseMemoryRequirementsInfo2::safe_VkImageSparseMemoryRequirementsInfo2(const safe_VkImageSparseMemoryRequirementsInfo2& src)
6627{
6628 sType = src.sType;
6629 pNext = src.pNext;
6630 image = src.image;
6631}
6632
6633safe_VkImageSparseMemoryRequirementsInfo2& safe_VkImageSparseMemoryRequirementsInfo2::operator=(const safe_VkImageSparseMemoryRequirementsInfo2& src)
6634{
6635 if (&src == this) return *this;
6636
6637
6638 sType = src.sType;
6639 pNext = src.pNext;
6640 image = src.image;
6641
6642 return *this;
6643}
6644
6645safe_VkImageSparseMemoryRequirementsInfo2::~safe_VkImageSparseMemoryRequirementsInfo2()
6646{
6647}
6648
6649void safe_VkImageSparseMemoryRequirementsInfo2::initialize(const VkImageSparseMemoryRequirementsInfo2* in_struct)
6650{
6651 sType = in_struct->sType;
6652 pNext = in_struct->pNext;
6653 image = in_struct->image;
6654}
6655
6656void safe_VkImageSparseMemoryRequirementsInfo2::initialize(const safe_VkImageSparseMemoryRequirementsInfo2* src)
6657{
6658 sType = src->sType;
6659 pNext = src->pNext;
6660 image = src->image;
6661}
6662
6663safe_VkMemoryRequirements2::safe_VkMemoryRequirements2(const VkMemoryRequirements2* in_struct) :
6664 sType(in_struct->sType),
6665 pNext(in_struct->pNext),
6666 memoryRequirements(in_struct->memoryRequirements)
6667{
6668}
6669
6670safe_VkMemoryRequirements2::safe_VkMemoryRequirements2()
6671{}
6672
6673safe_VkMemoryRequirements2::safe_VkMemoryRequirements2(const safe_VkMemoryRequirements2& src)
6674{
6675 sType = src.sType;
6676 pNext = src.pNext;
6677 memoryRequirements = src.memoryRequirements;
6678}
6679
6680safe_VkMemoryRequirements2& safe_VkMemoryRequirements2::operator=(const safe_VkMemoryRequirements2& src)
6681{
6682 if (&src == this) return *this;
6683
6684
6685 sType = src.sType;
6686 pNext = src.pNext;
6687 memoryRequirements = src.memoryRequirements;
6688
6689 return *this;
6690}
6691
6692safe_VkMemoryRequirements2::~safe_VkMemoryRequirements2()
6693{
6694}
6695
6696void safe_VkMemoryRequirements2::initialize(const VkMemoryRequirements2* in_struct)
6697{
6698 sType = in_struct->sType;
6699 pNext = in_struct->pNext;
6700 memoryRequirements = in_struct->memoryRequirements;
6701}
6702
6703void safe_VkMemoryRequirements2::initialize(const safe_VkMemoryRequirements2* src)
6704{
6705 sType = src->sType;
6706 pNext = src->pNext;
6707 memoryRequirements = src->memoryRequirements;
6708}
6709
6710safe_VkSparseImageMemoryRequirements2::safe_VkSparseImageMemoryRequirements2(const VkSparseImageMemoryRequirements2* in_struct) :
6711 sType(in_struct->sType),
6712 pNext(in_struct->pNext),
6713 memoryRequirements(in_struct->memoryRequirements)
6714{
6715}
6716
6717safe_VkSparseImageMemoryRequirements2::safe_VkSparseImageMemoryRequirements2()
6718{}
6719
6720safe_VkSparseImageMemoryRequirements2::safe_VkSparseImageMemoryRequirements2(const safe_VkSparseImageMemoryRequirements2& src)
6721{
6722 sType = src.sType;
6723 pNext = src.pNext;
6724 memoryRequirements = src.memoryRequirements;
6725}
6726
6727safe_VkSparseImageMemoryRequirements2& safe_VkSparseImageMemoryRequirements2::operator=(const safe_VkSparseImageMemoryRequirements2& src)
6728{
6729 if (&src == this) return *this;
6730
6731
6732 sType = src.sType;
6733 pNext = src.pNext;
6734 memoryRequirements = src.memoryRequirements;
6735
6736 return *this;
6737}
6738
6739safe_VkSparseImageMemoryRequirements2::~safe_VkSparseImageMemoryRequirements2()
6740{
6741}
6742
6743void safe_VkSparseImageMemoryRequirements2::initialize(const VkSparseImageMemoryRequirements2* in_struct)
6744{
6745 sType = in_struct->sType;
6746 pNext = in_struct->pNext;
6747 memoryRequirements = in_struct->memoryRequirements;
6748}
6749
6750void safe_VkSparseImageMemoryRequirements2::initialize(const safe_VkSparseImageMemoryRequirements2* src)
6751{
6752 sType = src->sType;
6753 pNext = src->pNext;
6754 memoryRequirements = src->memoryRequirements;
6755}
6756
6757safe_VkPhysicalDeviceFeatures2::safe_VkPhysicalDeviceFeatures2(const VkPhysicalDeviceFeatures2* in_struct) :
6758 sType(in_struct->sType),
6759 pNext(in_struct->pNext),
6760 features(in_struct->features)
6761{
6762}
6763
6764safe_VkPhysicalDeviceFeatures2::safe_VkPhysicalDeviceFeatures2()
6765{}
6766
6767safe_VkPhysicalDeviceFeatures2::safe_VkPhysicalDeviceFeatures2(const safe_VkPhysicalDeviceFeatures2& src)
6768{
6769 sType = src.sType;
6770 pNext = src.pNext;
6771 features = src.features;
6772}
6773
6774safe_VkPhysicalDeviceFeatures2& safe_VkPhysicalDeviceFeatures2::operator=(const safe_VkPhysicalDeviceFeatures2& src)
6775{
6776 if (&src == this) return *this;
6777
6778
6779 sType = src.sType;
6780 pNext = src.pNext;
6781 features = src.features;
6782
6783 return *this;
6784}
6785
6786safe_VkPhysicalDeviceFeatures2::~safe_VkPhysicalDeviceFeatures2()
6787{
6788}
6789
6790void safe_VkPhysicalDeviceFeatures2::initialize(const VkPhysicalDeviceFeatures2* in_struct)
6791{
6792 sType = in_struct->sType;
6793 pNext = in_struct->pNext;
6794 features = in_struct->features;
6795}
6796
6797void safe_VkPhysicalDeviceFeatures2::initialize(const safe_VkPhysicalDeviceFeatures2* src)
6798{
6799 sType = src->sType;
6800 pNext = src->pNext;
6801 features = src->features;
6802}
6803
6804safe_VkPhysicalDeviceProperties2::safe_VkPhysicalDeviceProperties2(const VkPhysicalDeviceProperties2* in_struct) :
6805 sType(in_struct->sType),
6806 pNext(in_struct->pNext),
6807 properties(in_struct->properties)
6808{
6809}
6810
6811safe_VkPhysicalDeviceProperties2::safe_VkPhysicalDeviceProperties2()
6812{}
6813
6814safe_VkPhysicalDeviceProperties2::safe_VkPhysicalDeviceProperties2(const safe_VkPhysicalDeviceProperties2& src)
6815{
6816 sType = src.sType;
6817 pNext = src.pNext;
6818 properties = src.properties;
6819}
6820
6821safe_VkPhysicalDeviceProperties2& safe_VkPhysicalDeviceProperties2::operator=(const safe_VkPhysicalDeviceProperties2& src)
6822{
6823 if (&src == this) return *this;
6824
6825
6826 sType = src.sType;
6827 pNext = src.pNext;
6828 properties = src.properties;
6829
6830 return *this;
6831}
6832
6833safe_VkPhysicalDeviceProperties2::~safe_VkPhysicalDeviceProperties2()
6834{
6835}
6836
6837void safe_VkPhysicalDeviceProperties2::initialize(const VkPhysicalDeviceProperties2* in_struct)
6838{
6839 sType = in_struct->sType;
6840 pNext = in_struct->pNext;
6841 properties = in_struct->properties;
6842}
6843
6844void safe_VkPhysicalDeviceProperties2::initialize(const safe_VkPhysicalDeviceProperties2* src)
6845{
6846 sType = src->sType;
6847 pNext = src->pNext;
6848 properties = src->properties;
6849}
6850
6851safe_VkFormatProperties2::safe_VkFormatProperties2(const VkFormatProperties2* in_struct) :
6852 sType(in_struct->sType),
6853 pNext(in_struct->pNext),
6854 formatProperties(in_struct->formatProperties)
6855{
6856}
6857
6858safe_VkFormatProperties2::safe_VkFormatProperties2()
6859{}
6860
6861safe_VkFormatProperties2::safe_VkFormatProperties2(const safe_VkFormatProperties2& src)
6862{
6863 sType = src.sType;
6864 pNext = src.pNext;
6865 formatProperties = src.formatProperties;
6866}
6867
6868safe_VkFormatProperties2& safe_VkFormatProperties2::operator=(const safe_VkFormatProperties2& src)
6869{
6870 if (&src == this) return *this;
6871
6872
6873 sType = src.sType;
6874 pNext = src.pNext;
6875 formatProperties = src.formatProperties;
6876
6877 return *this;
6878}
6879
6880safe_VkFormatProperties2::~safe_VkFormatProperties2()
6881{
6882}
6883
6884void safe_VkFormatProperties2::initialize(const VkFormatProperties2* in_struct)
6885{
6886 sType = in_struct->sType;
6887 pNext = in_struct->pNext;
6888 formatProperties = in_struct->formatProperties;
6889}
6890
6891void safe_VkFormatProperties2::initialize(const safe_VkFormatProperties2* src)
6892{
6893 sType = src->sType;
6894 pNext = src->pNext;
6895 formatProperties = src->formatProperties;
6896}
6897
6898safe_VkImageFormatProperties2::safe_VkImageFormatProperties2(const VkImageFormatProperties2* in_struct) :
6899 sType(in_struct->sType),
6900 pNext(in_struct->pNext),
6901 imageFormatProperties(in_struct->imageFormatProperties)
6902{
6903}
6904
6905safe_VkImageFormatProperties2::safe_VkImageFormatProperties2()
6906{}
6907
6908safe_VkImageFormatProperties2::safe_VkImageFormatProperties2(const safe_VkImageFormatProperties2& src)
6909{
6910 sType = src.sType;
6911 pNext = src.pNext;
6912 imageFormatProperties = src.imageFormatProperties;
6913}
6914
6915safe_VkImageFormatProperties2& safe_VkImageFormatProperties2::operator=(const safe_VkImageFormatProperties2& src)
6916{
6917 if (&src == this) return *this;
6918
6919
6920 sType = src.sType;
6921 pNext = src.pNext;
6922 imageFormatProperties = src.imageFormatProperties;
6923
6924 return *this;
6925}
6926
6927safe_VkImageFormatProperties2::~safe_VkImageFormatProperties2()
6928{
6929}
6930
6931void safe_VkImageFormatProperties2::initialize(const VkImageFormatProperties2* in_struct)
6932{
6933 sType = in_struct->sType;
6934 pNext = in_struct->pNext;
6935 imageFormatProperties = in_struct->imageFormatProperties;
6936}
6937
6938void safe_VkImageFormatProperties2::initialize(const safe_VkImageFormatProperties2* src)
6939{
6940 sType = src->sType;
6941 pNext = src->pNext;
6942 imageFormatProperties = src->imageFormatProperties;
6943}
6944
6945safe_VkPhysicalDeviceImageFormatInfo2::safe_VkPhysicalDeviceImageFormatInfo2(const VkPhysicalDeviceImageFormatInfo2* in_struct) :
6946 sType(in_struct->sType),
6947 pNext(in_struct->pNext),
6948 format(in_struct->format),
6949 type(in_struct->type),
6950 tiling(in_struct->tiling),
6951 usage(in_struct->usage),
6952 flags(in_struct->flags)
6953{
6954}
6955
6956safe_VkPhysicalDeviceImageFormatInfo2::safe_VkPhysicalDeviceImageFormatInfo2()
6957{}
6958
6959safe_VkPhysicalDeviceImageFormatInfo2::safe_VkPhysicalDeviceImageFormatInfo2(const safe_VkPhysicalDeviceImageFormatInfo2& src)
6960{
6961 sType = src.sType;
6962 pNext = src.pNext;
6963 format = src.format;
6964 type = src.type;
6965 tiling = src.tiling;
6966 usage = src.usage;
6967 flags = src.flags;
6968}
6969
6970safe_VkPhysicalDeviceImageFormatInfo2& safe_VkPhysicalDeviceImageFormatInfo2::operator=(const safe_VkPhysicalDeviceImageFormatInfo2& src)
6971{
6972 if (&src == this) return *this;
6973
6974
6975 sType = src.sType;
6976 pNext = src.pNext;
6977 format = src.format;
6978 type = src.type;
6979 tiling = src.tiling;
6980 usage = src.usage;
6981 flags = src.flags;
6982
6983 return *this;
6984}
6985
6986safe_VkPhysicalDeviceImageFormatInfo2::~safe_VkPhysicalDeviceImageFormatInfo2()
6987{
6988}
6989
6990void safe_VkPhysicalDeviceImageFormatInfo2::initialize(const VkPhysicalDeviceImageFormatInfo2* in_struct)
6991{
6992 sType = in_struct->sType;
6993 pNext = in_struct->pNext;
6994 format = in_struct->format;
6995 type = in_struct->type;
6996 tiling = in_struct->tiling;
6997 usage = in_struct->usage;
6998 flags = in_struct->flags;
6999}
7000
7001void safe_VkPhysicalDeviceImageFormatInfo2::initialize(const safe_VkPhysicalDeviceImageFormatInfo2* src)
7002{
7003 sType = src->sType;
7004 pNext = src->pNext;
7005 format = src->format;
7006 type = src->type;
7007 tiling = src->tiling;
7008 usage = src->usage;
7009 flags = src->flags;
7010}
7011
7012safe_VkQueueFamilyProperties2::safe_VkQueueFamilyProperties2(const VkQueueFamilyProperties2* in_struct) :
7013 sType(in_struct->sType),
7014 pNext(in_struct->pNext),
7015 queueFamilyProperties(in_struct->queueFamilyProperties)
7016{
7017}
7018
7019safe_VkQueueFamilyProperties2::safe_VkQueueFamilyProperties2()
7020{}
7021
7022safe_VkQueueFamilyProperties2::safe_VkQueueFamilyProperties2(const safe_VkQueueFamilyProperties2& src)
7023{
7024 sType = src.sType;
7025 pNext = src.pNext;
7026 queueFamilyProperties = src.queueFamilyProperties;
7027}
7028
7029safe_VkQueueFamilyProperties2& safe_VkQueueFamilyProperties2::operator=(const safe_VkQueueFamilyProperties2& src)
7030{
7031 if (&src == this) return *this;
7032
7033
7034 sType = src.sType;
7035 pNext = src.pNext;
7036 queueFamilyProperties = src.queueFamilyProperties;
7037
7038 return *this;
7039}
7040
7041safe_VkQueueFamilyProperties2::~safe_VkQueueFamilyProperties2()
7042{
7043}
7044
7045void safe_VkQueueFamilyProperties2::initialize(const VkQueueFamilyProperties2* in_struct)
7046{
7047 sType = in_struct->sType;
7048 pNext = in_struct->pNext;
7049 queueFamilyProperties = in_struct->queueFamilyProperties;
7050}
7051
7052void safe_VkQueueFamilyProperties2::initialize(const safe_VkQueueFamilyProperties2* src)
7053{
7054 sType = src->sType;
7055 pNext = src->pNext;
7056 queueFamilyProperties = src->queueFamilyProperties;
7057}
7058
7059safe_VkPhysicalDeviceMemoryProperties2::safe_VkPhysicalDeviceMemoryProperties2(const VkPhysicalDeviceMemoryProperties2* in_struct) :
7060 sType(in_struct->sType),
7061 pNext(in_struct->pNext),
7062 memoryProperties(in_struct->memoryProperties)
7063{
7064}
7065
7066safe_VkPhysicalDeviceMemoryProperties2::safe_VkPhysicalDeviceMemoryProperties2()
7067{}
7068
7069safe_VkPhysicalDeviceMemoryProperties2::safe_VkPhysicalDeviceMemoryProperties2(const safe_VkPhysicalDeviceMemoryProperties2& src)
7070{
7071 sType = src.sType;
7072 pNext = src.pNext;
7073 memoryProperties = src.memoryProperties;
7074}
7075
7076safe_VkPhysicalDeviceMemoryProperties2& safe_VkPhysicalDeviceMemoryProperties2::operator=(const safe_VkPhysicalDeviceMemoryProperties2& src)
7077{
7078 if (&src == this) return *this;
7079
7080
7081 sType = src.sType;
7082 pNext = src.pNext;
7083 memoryProperties = src.memoryProperties;
7084
7085 return *this;
7086}
7087
7088safe_VkPhysicalDeviceMemoryProperties2::~safe_VkPhysicalDeviceMemoryProperties2()
7089{
7090}
7091
7092void safe_VkPhysicalDeviceMemoryProperties2::initialize(const VkPhysicalDeviceMemoryProperties2* in_struct)
7093{
7094 sType = in_struct->sType;
7095 pNext = in_struct->pNext;
7096 memoryProperties = in_struct->memoryProperties;
7097}
7098
7099void safe_VkPhysicalDeviceMemoryProperties2::initialize(const safe_VkPhysicalDeviceMemoryProperties2* src)
7100{
7101 sType = src->sType;
7102 pNext = src->pNext;
7103 memoryProperties = src->memoryProperties;
7104}
7105
7106safe_VkSparseImageFormatProperties2::safe_VkSparseImageFormatProperties2(const VkSparseImageFormatProperties2* in_struct) :
7107 sType(in_struct->sType),
7108 pNext(in_struct->pNext),
7109 properties(in_struct->properties)
7110{
7111}
7112
7113safe_VkSparseImageFormatProperties2::safe_VkSparseImageFormatProperties2()
7114{}
7115
7116safe_VkSparseImageFormatProperties2::safe_VkSparseImageFormatProperties2(const safe_VkSparseImageFormatProperties2& src)
7117{
7118 sType = src.sType;
7119 pNext = src.pNext;
7120 properties = src.properties;
7121}
7122
7123safe_VkSparseImageFormatProperties2& safe_VkSparseImageFormatProperties2::operator=(const safe_VkSparseImageFormatProperties2& src)
7124{
7125 if (&src == this) return *this;
7126
7127
7128 sType = src.sType;
7129 pNext = src.pNext;
7130 properties = src.properties;
7131
7132 return *this;
7133}
7134
7135safe_VkSparseImageFormatProperties2::~safe_VkSparseImageFormatProperties2()
7136{
7137}
7138
7139void safe_VkSparseImageFormatProperties2::initialize(const VkSparseImageFormatProperties2* in_struct)
7140{
7141 sType = in_struct->sType;
7142 pNext = in_struct->pNext;
7143 properties = in_struct->properties;
7144}
7145
7146void safe_VkSparseImageFormatProperties2::initialize(const safe_VkSparseImageFormatProperties2* src)
7147{
7148 sType = src->sType;
7149 pNext = src->pNext;
7150 properties = src->properties;
7151}
7152
7153safe_VkPhysicalDeviceSparseImageFormatInfo2::safe_VkPhysicalDeviceSparseImageFormatInfo2(const VkPhysicalDeviceSparseImageFormatInfo2* in_struct) :
7154 sType(in_struct->sType),
7155 pNext(in_struct->pNext),
7156 format(in_struct->format),
7157 type(in_struct->type),
7158 samples(in_struct->samples),
7159 usage(in_struct->usage),
7160 tiling(in_struct->tiling)
7161{
7162}
7163
7164safe_VkPhysicalDeviceSparseImageFormatInfo2::safe_VkPhysicalDeviceSparseImageFormatInfo2()
7165{}
7166
7167safe_VkPhysicalDeviceSparseImageFormatInfo2::safe_VkPhysicalDeviceSparseImageFormatInfo2(const safe_VkPhysicalDeviceSparseImageFormatInfo2& src)
7168{
7169 sType = src.sType;
7170 pNext = src.pNext;
7171 format = src.format;
7172 type = src.type;
7173 samples = src.samples;
7174 usage = src.usage;
7175 tiling = src.tiling;
7176}
7177
7178safe_VkPhysicalDeviceSparseImageFormatInfo2& safe_VkPhysicalDeviceSparseImageFormatInfo2::operator=(const safe_VkPhysicalDeviceSparseImageFormatInfo2& src)
7179{
7180 if (&src == this) return *this;
7181
7182
7183 sType = src.sType;
7184 pNext = src.pNext;
7185 format = src.format;
7186 type = src.type;
7187 samples = src.samples;
7188 usage = src.usage;
7189 tiling = src.tiling;
7190
7191 return *this;
7192}
7193
7194safe_VkPhysicalDeviceSparseImageFormatInfo2::~safe_VkPhysicalDeviceSparseImageFormatInfo2()
7195{
7196}
7197
7198void safe_VkPhysicalDeviceSparseImageFormatInfo2::initialize(const VkPhysicalDeviceSparseImageFormatInfo2* in_struct)
7199{
7200 sType = in_struct->sType;
7201 pNext = in_struct->pNext;
7202 format = in_struct->format;
7203 type = in_struct->type;
7204 samples = in_struct->samples;
7205 usage = in_struct->usage;
7206 tiling = in_struct->tiling;
7207}
7208
7209void safe_VkPhysicalDeviceSparseImageFormatInfo2::initialize(const safe_VkPhysicalDeviceSparseImageFormatInfo2* src)
7210{
7211 sType = src->sType;
7212 pNext = src->pNext;
7213 format = src->format;
7214 type = src->type;
7215 samples = src->samples;
7216 usage = src->usage;
7217 tiling = src->tiling;
7218}
7219
7220safe_VkPhysicalDevicePointClippingProperties::safe_VkPhysicalDevicePointClippingProperties(const VkPhysicalDevicePointClippingProperties* in_struct) :
7221 sType(in_struct->sType),
7222 pNext(in_struct->pNext),
7223 pointClippingBehavior(in_struct->pointClippingBehavior)
7224{
7225}
7226
7227safe_VkPhysicalDevicePointClippingProperties::safe_VkPhysicalDevicePointClippingProperties()
7228{}
7229
7230safe_VkPhysicalDevicePointClippingProperties::safe_VkPhysicalDevicePointClippingProperties(const safe_VkPhysicalDevicePointClippingProperties& src)
7231{
7232 sType = src.sType;
7233 pNext = src.pNext;
7234 pointClippingBehavior = src.pointClippingBehavior;
7235}
7236
7237safe_VkPhysicalDevicePointClippingProperties& safe_VkPhysicalDevicePointClippingProperties::operator=(const safe_VkPhysicalDevicePointClippingProperties& src)
7238{
7239 if (&src == this) return *this;
7240
7241
7242 sType = src.sType;
7243 pNext = src.pNext;
7244 pointClippingBehavior = src.pointClippingBehavior;
7245
7246 return *this;
7247}
7248
7249safe_VkPhysicalDevicePointClippingProperties::~safe_VkPhysicalDevicePointClippingProperties()
7250{
7251}
7252
7253void safe_VkPhysicalDevicePointClippingProperties::initialize(const VkPhysicalDevicePointClippingProperties* in_struct)
7254{
7255 sType = in_struct->sType;
7256 pNext = in_struct->pNext;
7257 pointClippingBehavior = in_struct->pointClippingBehavior;
7258}
7259
7260void safe_VkPhysicalDevicePointClippingProperties::initialize(const safe_VkPhysicalDevicePointClippingProperties* src)
7261{
7262 sType = src->sType;
7263 pNext = src->pNext;
7264 pointClippingBehavior = src->pointClippingBehavior;
7265}
7266
7267safe_VkRenderPassInputAttachmentAspectCreateInfo::safe_VkRenderPassInputAttachmentAspectCreateInfo(const VkRenderPassInputAttachmentAspectCreateInfo* in_struct) :
7268 sType(in_struct->sType),
7269 pNext(in_struct->pNext),
7270 aspectReferenceCount(in_struct->aspectReferenceCount),
7271 pAspectReferences(nullptr)
7272{
7273 if (in_struct->pAspectReferences) {
7274 pAspectReferences = new VkInputAttachmentAspectReference[in_struct->aspectReferenceCount];
7275 memcpy ((void *)pAspectReferences, (void *)in_struct->pAspectReferences, sizeof(VkInputAttachmentAspectReference)*in_struct->aspectReferenceCount);
7276 }
7277}
7278
7279safe_VkRenderPassInputAttachmentAspectCreateInfo::safe_VkRenderPassInputAttachmentAspectCreateInfo() :
7280 pAspectReferences(nullptr)
7281{}
7282
7283safe_VkRenderPassInputAttachmentAspectCreateInfo::safe_VkRenderPassInputAttachmentAspectCreateInfo(const safe_VkRenderPassInputAttachmentAspectCreateInfo& src)
7284{
7285 sType = src.sType;
7286 pNext = src.pNext;
7287 aspectReferenceCount = src.aspectReferenceCount;
7288 pAspectReferences = nullptr;
7289 if (src.pAspectReferences) {
7290 pAspectReferences = new VkInputAttachmentAspectReference[src.aspectReferenceCount];
7291 memcpy ((void *)pAspectReferences, (void *)src.pAspectReferences, sizeof(VkInputAttachmentAspectReference)*src.aspectReferenceCount);
7292 }
7293}
7294
7295safe_VkRenderPassInputAttachmentAspectCreateInfo& safe_VkRenderPassInputAttachmentAspectCreateInfo::operator=(const safe_VkRenderPassInputAttachmentAspectCreateInfo& src)
7296{
7297 if (&src == this) return *this;
7298
7299 if (pAspectReferences)
7300 delete[] pAspectReferences;
7301
7302 sType = src.sType;
7303 pNext = src.pNext;
7304 aspectReferenceCount = src.aspectReferenceCount;
7305 pAspectReferences = nullptr;
7306 if (src.pAspectReferences) {
7307 pAspectReferences = new VkInputAttachmentAspectReference[src.aspectReferenceCount];
7308 memcpy ((void *)pAspectReferences, (void *)src.pAspectReferences, sizeof(VkInputAttachmentAspectReference)*src.aspectReferenceCount);
7309 }
7310
7311 return *this;
7312}
7313
7314safe_VkRenderPassInputAttachmentAspectCreateInfo::~safe_VkRenderPassInputAttachmentAspectCreateInfo()
7315{
7316 if (pAspectReferences)
7317 delete[] pAspectReferences;
7318}
7319
7320void safe_VkRenderPassInputAttachmentAspectCreateInfo::initialize(const VkRenderPassInputAttachmentAspectCreateInfo* in_struct)
7321{
7322 sType = in_struct->sType;
7323 pNext = in_struct->pNext;
7324 aspectReferenceCount = in_struct->aspectReferenceCount;
7325 pAspectReferences = nullptr;
7326 if (in_struct->pAspectReferences) {
7327 pAspectReferences = new VkInputAttachmentAspectReference[in_struct->aspectReferenceCount];
7328 memcpy ((void *)pAspectReferences, (void *)in_struct->pAspectReferences, sizeof(VkInputAttachmentAspectReference)*in_struct->aspectReferenceCount);
7329 }
7330}
7331
7332void safe_VkRenderPassInputAttachmentAspectCreateInfo::initialize(const safe_VkRenderPassInputAttachmentAspectCreateInfo* src)
7333{
7334 sType = src->sType;
7335 pNext = src->pNext;
7336 aspectReferenceCount = src->aspectReferenceCount;
7337 pAspectReferences = nullptr;
7338 if (src->pAspectReferences) {
7339 pAspectReferences = new VkInputAttachmentAspectReference[src->aspectReferenceCount];
7340 memcpy ((void *)pAspectReferences, (void *)src->pAspectReferences, sizeof(VkInputAttachmentAspectReference)*src->aspectReferenceCount);
7341 }
7342}
7343
7344safe_VkImageViewUsageCreateInfo::safe_VkImageViewUsageCreateInfo(const VkImageViewUsageCreateInfo* in_struct) :
7345 sType(in_struct->sType),
7346 pNext(in_struct->pNext),
7347 usage(in_struct->usage)
7348{
7349}
7350
7351safe_VkImageViewUsageCreateInfo::safe_VkImageViewUsageCreateInfo()
7352{}
7353
7354safe_VkImageViewUsageCreateInfo::safe_VkImageViewUsageCreateInfo(const safe_VkImageViewUsageCreateInfo& src)
7355{
7356 sType = src.sType;
7357 pNext = src.pNext;
7358 usage = src.usage;
7359}
7360
7361safe_VkImageViewUsageCreateInfo& safe_VkImageViewUsageCreateInfo::operator=(const safe_VkImageViewUsageCreateInfo& src)
7362{
7363 if (&src == this) return *this;
7364
7365
7366 sType = src.sType;
7367 pNext = src.pNext;
7368 usage = src.usage;
7369
7370 return *this;
7371}
7372
7373safe_VkImageViewUsageCreateInfo::~safe_VkImageViewUsageCreateInfo()
7374{
7375}
7376
7377void safe_VkImageViewUsageCreateInfo::initialize(const VkImageViewUsageCreateInfo* in_struct)
7378{
7379 sType = in_struct->sType;
7380 pNext = in_struct->pNext;
7381 usage = in_struct->usage;
7382}
7383
7384void safe_VkImageViewUsageCreateInfo::initialize(const safe_VkImageViewUsageCreateInfo* src)
7385{
7386 sType = src->sType;
7387 pNext = src->pNext;
7388 usage = src->usage;
7389}
7390
7391safe_VkPipelineTessellationDomainOriginStateCreateInfo::safe_VkPipelineTessellationDomainOriginStateCreateInfo(const VkPipelineTessellationDomainOriginStateCreateInfo* in_struct) :
7392 sType(in_struct->sType),
7393 pNext(in_struct->pNext),
7394 domainOrigin(in_struct->domainOrigin)
7395{
7396}
7397
7398safe_VkPipelineTessellationDomainOriginStateCreateInfo::safe_VkPipelineTessellationDomainOriginStateCreateInfo()
7399{}
7400
7401safe_VkPipelineTessellationDomainOriginStateCreateInfo::safe_VkPipelineTessellationDomainOriginStateCreateInfo(const safe_VkPipelineTessellationDomainOriginStateCreateInfo& src)
7402{
7403 sType = src.sType;
7404 pNext = src.pNext;
7405 domainOrigin = src.domainOrigin;
7406}
7407
7408safe_VkPipelineTessellationDomainOriginStateCreateInfo& safe_VkPipelineTessellationDomainOriginStateCreateInfo::operator=(const safe_VkPipelineTessellationDomainOriginStateCreateInfo& src)
7409{
7410 if (&src == this) return *this;
7411
7412
7413 sType = src.sType;
7414 pNext = src.pNext;
7415 domainOrigin = src.domainOrigin;
7416
7417 return *this;
7418}
7419
7420safe_VkPipelineTessellationDomainOriginStateCreateInfo::~safe_VkPipelineTessellationDomainOriginStateCreateInfo()
7421{
7422}
7423
7424void safe_VkPipelineTessellationDomainOriginStateCreateInfo::initialize(const VkPipelineTessellationDomainOriginStateCreateInfo* in_struct)
7425{
7426 sType = in_struct->sType;
7427 pNext = in_struct->pNext;
7428 domainOrigin = in_struct->domainOrigin;
7429}
7430
7431void safe_VkPipelineTessellationDomainOriginStateCreateInfo::initialize(const safe_VkPipelineTessellationDomainOriginStateCreateInfo* src)
7432{
7433 sType = src->sType;
7434 pNext = src->pNext;
7435 domainOrigin = src->domainOrigin;
7436}
7437
7438safe_VkRenderPassMultiviewCreateInfo::safe_VkRenderPassMultiviewCreateInfo(const VkRenderPassMultiviewCreateInfo* in_struct) :
7439 sType(in_struct->sType),
7440 pNext(in_struct->pNext),
7441 subpassCount(in_struct->subpassCount),
7442 pViewMasks(nullptr),
7443 dependencyCount(in_struct->dependencyCount),
7444 pViewOffsets(nullptr),
7445 correlationMaskCount(in_struct->correlationMaskCount),
7446 pCorrelationMasks(nullptr)
7447{
7448 if (in_struct->pViewMasks) {
7449 pViewMasks = new uint32_t[in_struct->subpassCount];
7450 memcpy ((void *)pViewMasks, (void *)in_struct->pViewMasks, sizeof(uint32_t)*in_struct->subpassCount);
7451 }
7452 if (in_struct->pViewOffsets) {
7453 pViewOffsets = new int32_t[in_struct->dependencyCount];
7454 memcpy ((void *)pViewOffsets, (void *)in_struct->pViewOffsets, sizeof(int32_t)*in_struct->dependencyCount);
7455 }
7456 if (in_struct->pCorrelationMasks) {
7457 pCorrelationMasks = new uint32_t[in_struct->correlationMaskCount];
7458 memcpy ((void *)pCorrelationMasks, (void *)in_struct->pCorrelationMasks, sizeof(uint32_t)*in_struct->correlationMaskCount);
7459 }
7460}
7461
7462safe_VkRenderPassMultiviewCreateInfo::safe_VkRenderPassMultiviewCreateInfo() :
7463 pViewMasks(nullptr),
7464 pViewOffsets(nullptr),
7465 pCorrelationMasks(nullptr)
7466{}
7467
7468safe_VkRenderPassMultiviewCreateInfo::safe_VkRenderPassMultiviewCreateInfo(const safe_VkRenderPassMultiviewCreateInfo& src)
7469{
7470 sType = src.sType;
7471 pNext = src.pNext;
7472 subpassCount = src.subpassCount;
7473 pViewMasks = nullptr;
7474 dependencyCount = src.dependencyCount;
7475 pViewOffsets = nullptr;
7476 correlationMaskCount = src.correlationMaskCount;
7477 pCorrelationMasks = nullptr;
7478 if (src.pViewMasks) {
7479 pViewMasks = new uint32_t[src.subpassCount];
7480 memcpy ((void *)pViewMasks, (void *)src.pViewMasks, sizeof(uint32_t)*src.subpassCount);
7481 }
7482 if (src.pViewOffsets) {
7483 pViewOffsets = new int32_t[src.dependencyCount];
7484 memcpy ((void *)pViewOffsets, (void *)src.pViewOffsets, sizeof(int32_t)*src.dependencyCount);
7485 }
7486 if (src.pCorrelationMasks) {
7487 pCorrelationMasks = new uint32_t[src.correlationMaskCount];
7488 memcpy ((void *)pCorrelationMasks, (void *)src.pCorrelationMasks, sizeof(uint32_t)*src.correlationMaskCount);
7489 }
7490}
7491
7492safe_VkRenderPassMultiviewCreateInfo& safe_VkRenderPassMultiviewCreateInfo::operator=(const safe_VkRenderPassMultiviewCreateInfo& src)
7493{
7494 if (&src == this) return *this;
7495
7496 if (pViewMasks)
7497 delete[] pViewMasks;
7498 if (pViewOffsets)
7499 delete[] pViewOffsets;
7500 if (pCorrelationMasks)
7501 delete[] pCorrelationMasks;
7502
7503 sType = src.sType;
7504 pNext = src.pNext;
7505 subpassCount = src.subpassCount;
7506 pViewMasks = nullptr;
7507 dependencyCount = src.dependencyCount;
7508 pViewOffsets = nullptr;
7509 correlationMaskCount = src.correlationMaskCount;
7510 pCorrelationMasks = nullptr;
7511 if (src.pViewMasks) {
7512 pViewMasks = new uint32_t[src.subpassCount];
7513 memcpy ((void *)pViewMasks, (void *)src.pViewMasks, sizeof(uint32_t)*src.subpassCount);
7514 }
7515 if (src.pViewOffsets) {
7516 pViewOffsets = new int32_t[src.dependencyCount];
7517 memcpy ((void *)pViewOffsets, (void *)src.pViewOffsets, sizeof(int32_t)*src.dependencyCount);
7518 }
7519 if (src.pCorrelationMasks) {
7520 pCorrelationMasks = new uint32_t[src.correlationMaskCount];
7521 memcpy ((void *)pCorrelationMasks, (void *)src.pCorrelationMasks, sizeof(uint32_t)*src.correlationMaskCount);
7522 }
7523
7524 return *this;
7525}
7526
7527safe_VkRenderPassMultiviewCreateInfo::~safe_VkRenderPassMultiviewCreateInfo()
7528{
7529 if (pViewMasks)
7530 delete[] pViewMasks;
7531 if (pViewOffsets)
7532 delete[] pViewOffsets;
7533 if (pCorrelationMasks)
7534 delete[] pCorrelationMasks;
7535}
7536
7537void safe_VkRenderPassMultiviewCreateInfo::initialize(const VkRenderPassMultiviewCreateInfo* in_struct)
7538{
7539 sType = in_struct->sType;
7540 pNext = in_struct->pNext;
7541 subpassCount = in_struct->subpassCount;
7542 pViewMasks = nullptr;
7543 dependencyCount = in_struct->dependencyCount;
7544 pViewOffsets = nullptr;
7545 correlationMaskCount = in_struct->correlationMaskCount;
7546 pCorrelationMasks = nullptr;
7547 if (in_struct->pViewMasks) {
7548 pViewMasks = new uint32_t[in_struct->subpassCount];
7549 memcpy ((void *)pViewMasks, (void *)in_struct->pViewMasks, sizeof(uint32_t)*in_struct->subpassCount);
7550 }
7551 if (in_struct->pViewOffsets) {
7552 pViewOffsets = new int32_t[in_struct->dependencyCount];
7553 memcpy ((void *)pViewOffsets, (void *)in_struct->pViewOffsets, sizeof(int32_t)*in_struct->dependencyCount);
7554 }
7555 if (in_struct->pCorrelationMasks) {
7556 pCorrelationMasks = new uint32_t[in_struct->correlationMaskCount];
7557 memcpy ((void *)pCorrelationMasks, (void *)in_struct->pCorrelationMasks, sizeof(uint32_t)*in_struct->correlationMaskCount);
7558 }
7559}
7560
7561void safe_VkRenderPassMultiviewCreateInfo::initialize(const safe_VkRenderPassMultiviewCreateInfo* src)
7562{
7563 sType = src->sType;
7564 pNext = src->pNext;
7565 subpassCount = src->subpassCount;
7566 pViewMasks = nullptr;
7567 dependencyCount = src->dependencyCount;
7568 pViewOffsets = nullptr;
7569 correlationMaskCount = src->correlationMaskCount;
7570 pCorrelationMasks = nullptr;
7571 if (src->pViewMasks) {
7572 pViewMasks = new uint32_t[src->subpassCount];
7573 memcpy ((void *)pViewMasks, (void *)src->pViewMasks, sizeof(uint32_t)*src->subpassCount);
7574 }
7575 if (src->pViewOffsets) {
7576 pViewOffsets = new int32_t[src->dependencyCount];
7577 memcpy ((void *)pViewOffsets, (void *)src->pViewOffsets, sizeof(int32_t)*src->dependencyCount);
7578 }
7579 if (src->pCorrelationMasks) {
7580 pCorrelationMasks = new uint32_t[src->correlationMaskCount];
7581 memcpy ((void *)pCorrelationMasks, (void *)src->pCorrelationMasks, sizeof(uint32_t)*src->correlationMaskCount);
7582 }
7583}
7584
7585safe_VkPhysicalDeviceMultiviewFeatures::safe_VkPhysicalDeviceMultiviewFeatures(const VkPhysicalDeviceMultiviewFeatures* in_struct) :
7586 sType(in_struct->sType),
7587 pNext(in_struct->pNext),
7588 multiview(in_struct->multiview),
7589 multiviewGeometryShader(in_struct->multiviewGeometryShader),
7590 multiviewTessellationShader(in_struct->multiviewTessellationShader)
7591{
7592}
7593
7594safe_VkPhysicalDeviceMultiviewFeatures::safe_VkPhysicalDeviceMultiviewFeatures()
7595{}
7596
7597safe_VkPhysicalDeviceMultiviewFeatures::safe_VkPhysicalDeviceMultiviewFeatures(const safe_VkPhysicalDeviceMultiviewFeatures& src)
7598{
7599 sType = src.sType;
7600 pNext = src.pNext;
7601 multiview = src.multiview;
7602 multiviewGeometryShader = src.multiviewGeometryShader;
7603 multiviewTessellationShader = src.multiviewTessellationShader;
7604}
7605
7606safe_VkPhysicalDeviceMultiviewFeatures& safe_VkPhysicalDeviceMultiviewFeatures::operator=(const safe_VkPhysicalDeviceMultiviewFeatures& src)
7607{
7608 if (&src == this) return *this;
7609
7610
7611 sType = src.sType;
7612 pNext = src.pNext;
7613 multiview = src.multiview;
7614 multiviewGeometryShader = src.multiviewGeometryShader;
7615 multiviewTessellationShader = src.multiviewTessellationShader;
7616
7617 return *this;
7618}
7619
7620safe_VkPhysicalDeviceMultiviewFeatures::~safe_VkPhysicalDeviceMultiviewFeatures()
7621{
7622}
7623
7624void safe_VkPhysicalDeviceMultiviewFeatures::initialize(const VkPhysicalDeviceMultiviewFeatures* in_struct)
7625{
7626 sType = in_struct->sType;
7627 pNext = in_struct->pNext;
7628 multiview = in_struct->multiview;
7629 multiviewGeometryShader = in_struct->multiviewGeometryShader;
7630 multiviewTessellationShader = in_struct->multiviewTessellationShader;
7631}
7632
7633void safe_VkPhysicalDeviceMultiviewFeatures::initialize(const safe_VkPhysicalDeviceMultiviewFeatures* src)
7634{
7635 sType = src->sType;
7636 pNext = src->pNext;
7637 multiview = src->multiview;
7638 multiviewGeometryShader = src->multiviewGeometryShader;
7639 multiviewTessellationShader = src->multiviewTessellationShader;
7640}
7641
7642safe_VkPhysicalDeviceMultiviewProperties::safe_VkPhysicalDeviceMultiviewProperties(const VkPhysicalDeviceMultiviewProperties* in_struct) :
7643 sType(in_struct->sType),
7644 pNext(in_struct->pNext),
7645 maxMultiviewViewCount(in_struct->maxMultiviewViewCount),
7646 maxMultiviewInstanceIndex(in_struct->maxMultiviewInstanceIndex)
7647{
7648}
7649
7650safe_VkPhysicalDeviceMultiviewProperties::safe_VkPhysicalDeviceMultiviewProperties()
7651{}
7652
7653safe_VkPhysicalDeviceMultiviewProperties::safe_VkPhysicalDeviceMultiviewProperties(const safe_VkPhysicalDeviceMultiviewProperties& src)
7654{
7655 sType = src.sType;
7656 pNext = src.pNext;
7657 maxMultiviewViewCount = src.maxMultiviewViewCount;
7658 maxMultiviewInstanceIndex = src.maxMultiviewInstanceIndex;
7659}
7660
7661safe_VkPhysicalDeviceMultiviewProperties& safe_VkPhysicalDeviceMultiviewProperties::operator=(const safe_VkPhysicalDeviceMultiviewProperties& src)
7662{
7663 if (&src == this) return *this;
7664
7665
7666 sType = src.sType;
7667 pNext = src.pNext;
7668 maxMultiviewViewCount = src.maxMultiviewViewCount;
7669 maxMultiviewInstanceIndex = src.maxMultiviewInstanceIndex;
7670
7671 return *this;
7672}
7673
7674safe_VkPhysicalDeviceMultiviewProperties::~safe_VkPhysicalDeviceMultiviewProperties()
7675{
7676}
7677
7678void safe_VkPhysicalDeviceMultiviewProperties::initialize(const VkPhysicalDeviceMultiviewProperties* in_struct)
7679{
7680 sType = in_struct->sType;
7681 pNext = in_struct->pNext;
7682 maxMultiviewViewCount = in_struct->maxMultiviewViewCount;
7683 maxMultiviewInstanceIndex = in_struct->maxMultiviewInstanceIndex;
7684}
7685
7686void safe_VkPhysicalDeviceMultiviewProperties::initialize(const safe_VkPhysicalDeviceMultiviewProperties* src)
7687{
7688 sType = src->sType;
7689 pNext = src->pNext;
7690 maxMultiviewViewCount = src->maxMultiviewViewCount;
7691 maxMultiviewInstanceIndex = src->maxMultiviewInstanceIndex;
7692}
7693
7694safe_VkPhysicalDeviceVariablePointersFeatures::safe_VkPhysicalDeviceVariablePointersFeatures(const VkPhysicalDeviceVariablePointersFeatures* in_struct) :
7695 sType(in_struct->sType),
7696 pNext(in_struct->pNext),
7697 variablePointersStorageBuffer(in_struct->variablePointersStorageBuffer),
7698 variablePointers(in_struct->variablePointers)
7699{
7700}
7701
7702safe_VkPhysicalDeviceVariablePointersFeatures::safe_VkPhysicalDeviceVariablePointersFeatures()
7703{}
7704
7705safe_VkPhysicalDeviceVariablePointersFeatures::safe_VkPhysicalDeviceVariablePointersFeatures(const safe_VkPhysicalDeviceVariablePointersFeatures& src)
7706{
7707 sType = src.sType;
7708 pNext = src.pNext;
7709 variablePointersStorageBuffer = src.variablePointersStorageBuffer;
7710 variablePointers = src.variablePointers;
7711}
7712
7713safe_VkPhysicalDeviceVariablePointersFeatures& safe_VkPhysicalDeviceVariablePointersFeatures::operator=(const safe_VkPhysicalDeviceVariablePointersFeatures& src)
7714{
7715 if (&src == this) return *this;
7716
7717
7718 sType = src.sType;
7719 pNext = src.pNext;
7720 variablePointersStorageBuffer = src.variablePointersStorageBuffer;
7721 variablePointers = src.variablePointers;
7722
7723 return *this;
7724}
7725
7726safe_VkPhysicalDeviceVariablePointersFeatures::~safe_VkPhysicalDeviceVariablePointersFeatures()
7727{
7728}
7729
7730void safe_VkPhysicalDeviceVariablePointersFeatures::initialize(const VkPhysicalDeviceVariablePointersFeatures* in_struct)
7731{
7732 sType = in_struct->sType;
7733 pNext = in_struct->pNext;
7734 variablePointersStorageBuffer = in_struct->variablePointersStorageBuffer;
7735 variablePointers = in_struct->variablePointers;
7736}
7737
7738void safe_VkPhysicalDeviceVariablePointersFeatures::initialize(const safe_VkPhysicalDeviceVariablePointersFeatures* src)
7739{
7740 sType = src->sType;
7741 pNext = src->pNext;
7742 variablePointersStorageBuffer = src->variablePointersStorageBuffer;
7743 variablePointers = src->variablePointers;
7744}
7745
7746safe_VkPhysicalDeviceProtectedMemoryFeatures::safe_VkPhysicalDeviceProtectedMemoryFeatures(const VkPhysicalDeviceProtectedMemoryFeatures* in_struct) :
7747 sType(in_struct->sType),
7748 pNext(in_struct->pNext),
7749 protectedMemory(in_struct->protectedMemory)
7750{
7751}
7752
7753safe_VkPhysicalDeviceProtectedMemoryFeatures::safe_VkPhysicalDeviceProtectedMemoryFeatures()
7754{}
7755
7756safe_VkPhysicalDeviceProtectedMemoryFeatures::safe_VkPhysicalDeviceProtectedMemoryFeatures(const safe_VkPhysicalDeviceProtectedMemoryFeatures& src)
7757{
7758 sType = src.sType;
7759 pNext = src.pNext;
7760 protectedMemory = src.protectedMemory;
7761}
7762
7763safe_VkPhysicalDeviceProtectedMemoryFeatures& safe_VkPhysicalDeviceProtectedMemoryFeatures::operator=(const safe_VkPhysicalDeviceProtectedMemoryFeatures& src)
7764{
7765 if (&src == this) return *this;
7766
7767
7768 sType = src.sType;
7769 pNext = src.pNext;
7770 protectedMemory = src.protectedMemory;
7771
7772 return *this;
7773}
7774
7775safe_VkPhysicalDeviceProtectedMemoryFeatures::~safe_VkPhysicalDeviceProtectedMemoryFeatures()
7776{
7777}
7778
7779void safe_VkPhysicalDeviceProtectedMemoryFeatures::initialize(const VkPhysicalDeviceProtectedMemoryFeatures* in_struct)
7780{
7781 sType = in_struct->sType;
7782 pNext = in_struct->pNext;
7783 protectedMemory = in_struct->protectedMemory;
7784}
7785
7786void safe_VkPhysicalDeviceProtectedMemoryFeatures::initialize(const safe_VkPhysicalDeviceProtectedMemoryFeatures* src)
7787{
7788 sType = src->sType;
7789 pNext = src->pNext;
7790 protectedMemory = src->protectedMemory;
7791}
7792
7793safe_VkPhysicalDeviceProtectedMemoryProperties::safe_VkPhysicalDeviceProtectedMemoryProperties(const VkPhysicalDeviceProtectedMemoryProperties* in_struct) :
7794 sType(in_struct->sType),
7795 pNext(in_struct->pNext),
7796 protectedNoFault(in_struct->protectedNoFault)
7797{
7798}
7799
7800safe_VkPhysicalDeviceProtectedMemoryProperties::safe_VkPhysicalDeviceProtectedMemoryProperties()
7801{}
7802
7803safe_VkPhysicalDeviceProtectedMemoryProperties::safe_VkPhysicalDeviceProtectedMemoryProperties(const safe_VkPhysicalDeviceProtectedMemoryProperties& src)
7804{
7805 sType = src.sType;
7806 pNext = src.pNext;
7807 protectedNoFault = src.protectedNoFault;
7808}
7809
7810safe_VkPhysicalDeviceProtectedMemoryProperties& safe_VkPhysicalDeviceProtectedMemoryProperties::operator=(const safe_VkPhysicalDeviceProtectedMemoryProperties& src)
7811{
7812 if (&src == this) return *this;
7813
7814
7815 sType = src.sType;
7816 pNext = src.pNext;
7817 protectedNoFault = src.protectedNoFault;
7818
7819 return *this;
7820}
7821
7822safe_VkPhysicalDeviceProtectedMemoryProperties::~safe_VkPhysicalDeviceProtectedMemoryProperties()
7823{
7824}
7825
7826void safe_VkPhysicalDeviceProtectedMemoryProperties::initialize(const VkPhysicalDeviceProtectedMemoryProperties* in_struct)
7827{
7828 sType = in_struct->sType;
7829 pNext = in_struct->pNext;
7830 protectedNoFault = in_struct->protectedNoFault;
7831}
7832
7833void safe_VkPhysicalDeviceProtectedMemoryProperties::initialize(const safe_VkPhysicalDeviceProtectedMemoryProperties* src)
7834{
7835 sType = src->sType;
7836 pNext = src->pNext;
7837 protectedNoFault = src->protectedNoFault;
7838}
7839
7840safe_VkDeviceQueueInfo2::safe_VkDeviceQueueInfo2(const VkDeviceQueueInfo2* in_struct) :
7841 sType(in_struct->sType),
7842 pNext(in_struct->pNext),
7843 flags(in_struct->flags),
7844 queueFamilyIndex(in_struct->queueFamilyIndex),
7845 queueIndex(in_struct->queueIndex)
7846{
7847}
7848
7849safe_VkDeviceQueueInfo2::safe_VkDeviceQueueInfo2()
7850{}
7851
7852safe_VkDeviceQueueInfo2::safe_VkDeviceQueueInfo2(const safe_VkDeviceQueueInfo2& src)
7853{
7854 sType = src.sType;
7855 pNext = src.pNext;
7856 flags = src.flags;
7857 queueFamilyIndex = src.queueFamilyIndex;
7858 queueIndex = src.queueIndex;
7859}
7860
7861safe_VkDeviceQueueInfo2& safe_VkDeviceQueueInfo2::operator=(const safe_VkDeviceQueueInfo2& src)
7862{
7863 if (&src == this) return *this;
7864
7865
7866 sType = src.sType;
7867 pNext = src.pNext;
7868 flags = src.flags;
7869 queueFamilyIndex = src.queueFamilyIndex;
7870 queueIndex = src.queueIndex;
7871
7872 return *this;
7873}
7874
7875safe_VkDeviceQueueInfo2::~safe_VkDeviceQueueInfo2()
7876{
7877}
7878
7879void safe_VkDeviceQueueInfo2::initialize(const VkDeviceQueueInfo2* in_struct)
7880{
7881 sType = in_struct->sType;
7882 pNext = in_struct->pNext;
7883 flags = in_struct->flags;
7884 queueFamilyIndex = in_struct->queueFamilyIndex;
7885 queueIndex = in_struct->queueIndex;
7886}
7887
7888void safe_VkDeviceQueueInfo2::initialize(const safe_VkDeviceQueueInfo2* src)
7889{
7890 sType = src->sType;
7891 pNext = src->pNext;
7892 flags = src->flags;
7893 queueFamilyIndex = src->queueFamilyIndex;
7894 queueIndex = src->queueIndex;
7895}
7896
7897safe_VkProtectedSubmitInfo::safe_VkProtectedSubmitInfo(const VkProtectedSubmitInfo* in_struct) :
7898 sType(in_struct->sType),
7899 pNext(in_struct->pNext),
7900 protectedSubmit(in_struct->protectedSubmit)
7901{
7902}
7903
7904safe_VkProtectedSubmitInfo::safe_VkProtectedSubmitInfo()
7905{}
7906
7907safe_VkProtectedSubmitInfo::safe_VkProtectedSubmitInfo(const safe_VkProtectedSubmitInfo& src)
7908{
7909 sType = src.sType;
7910 pNext = src.pNext;
7911 protectedSubmit = src.protectedSubmit;
7912}
7913
7914safe_VkProtectedSubmitInfo& safe_VkProtectedSubmitInfo::operator=(const safe_VkProtectedSubmitInfo& src)
7915{
7916 if (&src == this) return *this;
7917
7918
7919 sType = src.sType;
7920 pNext = src.pNext;
7921 protectedSubmit = src.protectedSubmit;
7922
7923 return *this;
7924}
7925
7926safe_VkProtectedSubmitInfo::~safe_VkProtectedSubmitInfo()
7927{
7928}
7929
7930void safe_VkProtectedSubmitInfo::initialize(const VkProtectedSubmitInfo* in_struct)
7931{
7932 sType = in_struct->sType;
7933 pNext = in_struct->pNext;
7934 protectedSubmit = in_struct->protectedSubmit;
7935}
7936
7937void safe_VkProtectedSubmitInfo::initialize(const safe_VkProtectedSubmitInfo* src)
7938{
7939 sType = src->sType;
7940 pNext = src->pNext;
7941 protectedSubmit = src->protectedSubmit;
7942}
7943
7944safe_VkSamplerYcbcrConversionCreateInfo::safe_VkSamplerYcbcrConversionCreateInfo(const VkSamplerYcbcrConversionCreateInfo* in_struct) :
7945 sType(in_struct->sType),
7946 pNext(in_struct->pNext),
7947 format(in_struct->format),
7948 ycbcrModel(in_struct->ycbcrModel),
7949 ycbcrRange(in_struct->ycbcrRange),
7950 components(in_struct->components),
7951 xChromaOffset(in_struct->xChromaOffset),
7952 yChromaOffset(in_struct->yChromaOffset),
7953 chromaFilter(in_struct->chromaFilter),
7954 forceExplicitReconstruction(in_struct->forceExplicitReconstruction)
7955{
7956}
7957
7958safe_VkSamplerYcbcrConversionCreateInfo::safe_VkSamplerYcbcrConversionCreateInfo()
7959{}
7960
7961safe_VkSamplerYcbcrConversionCreateInfo::safe_VkSamplerYcbcrConversionCreateInfo(const safe_VkSamplerYcbcrConversionCreateInfo& src)
7962{
7963 sType = src.sType;
7964 pNext = src.pNext;
7965 format = src.format;
7966 ycbcrModel = src.ycbcrModel;
7967 ycbcrRange = src.ycbcrRange;
7968 components = src.components;
7969 xChromaOffset = src.xChromaOffset;
7970 yChromaOffset = src.yChromaOffset;
7971 chromaFilter = src.chromaFilter;
7972 forceExplicitReconstruction = src.forceExplicitReconstruction;
7973}
7974
7975safe_VkSamplerYcbcrConversionCreateInfo& safe_VkSamplerYcbcrConversionCreateInfo::operator=(const safe_VkSamplerYcbcrConversionCreateInfo& src)
7976{
7977 if (&src == this) return *this;
7978
7979
7980 sType = src.sType;
7981 pNext = src.pNext;
7982 format = src.format;
7983 ycbcrModel = src.ycbcrModel;
7984 ycbcrRange = src.ycbcrRange;
7985 components = src.components;
7986 xChromaOffset = src.xChromaOffset;
7987 yChromaOffset = src.yChromaOffset;
7988 chromaFilter = src.chromaFilter;
7989 forceExplicitReconstruction = src.forceExplicitReconstruction;
7990
7991 return *this;
7992}
7993
7994safe_VkSamplerYcbcrConversionCreateInfo::~safe_VkSamplerYcbcrConversionCreateInfo()
7995{
7996}
7997
7998void safe_VkSamplerYcbcrConversionCreateInfo::initialize(const VkSamplerYcbcrConversionCreateInfo* in_struct)
7999{
8000 sType = in_struct->sType;
8001 pNext = in_struct->pNext;
8002 format = in_struct->format;
8003 ycbcrModel = in_struct->ycbcrModel;
8004 ycbcrRange = in_struct->ycbcrRange;
8005 components = in_struct->components;
8006 xChromaOffset = in_struct->xChromaOffset;
8007 yChromaOffset = in_struct->yChromaOffset;
8008 chromaFilter = in_struct->chromaFilter;
8009 forceExplicitReconstruction = in_struct->forceExplicitReconstruction;
8010}
8011
8012void safe_VkSamplerYcbcrConversionCreateInfo::initialize(const safe_VkSamplerYcbcrConversionCreateInfo* src)
8013{
8014 sType = src->sType;
8015 pNext = src->pNext;
8016 format = src->format;
8017 ycbcrModel = src->ycbcrModel;
8018 ycbcrRange = src->ycbcrRange;
8019 components = src->components;
8020 xChromaOffset = src->xChromaOffset;
8021 yChromaOffset = src->yChromaOffset;
8022 chromaFilter = src->chromaFilter;
8023 forceExplicitReconstruction = src->forceExplicitReconstruction;
8024}
8025
8026safe_VkSamplerYcbcrConversionInfo::safe_VkSamplerYcbcrConversionInfo(const VkSamplerYcbcrConversionInfo* in_struct) :
8027 sType(in_struct->sType),
8028 pNext(in_struct->pNext),
8029 conversion(in_struct->conversion)
8030{
8031}
8032
8033safe_VkSamplerYcbcrConversionInfo::safe_VkSamplerYcbcrConversionInfo()
8034{}
8035
8036safe_VkSamplerYcbcrConversionInfo::safe_VkSamplerYcbcrConversionInfo(const safe_VkSamplerYcbcrConversionInfo& src)
8037{
8038 sType = src.sType;
8039 pNext = src.pNext;
8040 conversion = src.conversion;
8041}
8042
8043safe_VkSamplerYcbcrConversionInfo& safe_VkSamplerYcbcrConversionInfo::operator=(const safe_VkSamplerYcbcrConversionInfo& src)
8044{
8045 if (&src == this) return *this;
8046
8047
8048 sType = src.sType;
8049 pNext = src.pNext;
8050 conversion = src.conversion;
8051
8052 return *this;
8053}
8054
8055safe_VkSamplerYcbcrConversionInfo::~safe_VkSamplerYcbcrConversionInfo()
8056{
8057}
8058
8059void safe_VkSamplerYcbcrConversionInfo::initialize(const VkSamplerYcbcrConversionInfo* in_struct)
8060{
8061 sType = in_struct->sType;
8062 pNext = in_struct->pNext;
8063 conversion = in_struct->conversion;
8064}
8065
8066void safe_VkSamplerYcbcrConversionInfo::initialize(const safe_VkSamplerYcbcrConversionInfo* src)
8067{
8068 sType = src->sType;
8069 pNext = src->pNext;
8070 conversion = src->conversion;
8071}
8072
8073safe_VkBindImagePlaneMemoryInfo::safe_VkBindImagePlaneMemoryInfo(const VkBindImagePlaneMemoryInfo* in_struct) :
8074 sType(in_struct->sType),
8075 pNext(in_struct->pNext),
8076 planeAspect(in_struct->planeAspect)
8077{
8078}
8079
8080safe_VkBindImagePlaneMemoryInfo::safe_VkBindImagePlaneMemoryInfo()
8081{}
8082
8083safe_VkBindImagePlaneMemoryInfo::safe_VkBindImagePlaneMemoryInfo(const safe_VkBindImagePlaneMemoryInfo& src)
8084{
8085 sType = src.sType;
8086 pNext = src.pNext;
8087 planeAspect = src.planeAspect;
8088}
8089
8090safe_VkBindImagePlaneMemoryInfo& safe_VkBindImagePlaneMemoryInfo::operator=(const safe_VkBindImagePlaneMemoryInfo& src)
8091{
8092 if (&src == this) return *this;
8093
8094
8095 sType = src.sType;
8096 pNext = src.pNext;
8097 planeAspect = src.planeAspect;
8098
8099 return *this;
8100}
8101
8102safe_VkBindImagePlaneMemoryInfo::~safe_VkBindImagePlaneMemoryInfo()
8103{
8104}
8105
8106void safe_VkBindImagePlaneMemoryInfo::initialize(const VkBindImagePlaneMemoryInfo* in_struct)
8107{
8108 sType = in_struct->sType;
8109 pNext = in_struct->pNext;
8110 planeAspect = in_struct->planeAspect;
8111}
8112
8113void safe_VkBindImagePlaneMemoryInfo::initialize(const safe_VkBindImagePlaneMemoryInfo* src)
8114{
8115 sType = src->sType;
8116 pNext = src->pNext;
8117 planeAspect = src->planeAspect;
8118}
8119
8120safe_VkImagePlaneMemoryRequirementsInfo::safe_VkImagePlaneMemoryRequirementsInfo(const VkImagePlaneMemoryRequirementsInfo* in_struct) :
8121 sType(in_struct->sType),
8122 pNext(in_struct->pNext),
8123 planeAspect(in_struct->planeAspect)
8124{
8125}
8126
8127safe_VkImagePlaneMemoryRequirementsInfo::safe_VkImagePlaneMemoryRequirementsInfo()
8128{}
8129
8130safe_VkImagePlaneMemoryRequirementsInfo::safe_VkImagePlaneMemoryRequirementsInfo(const safe_VkImagePlaneMemoryRequirementsInfo& src)
8131{
8132 sType = src.sType;
8133 pNext = src.pNext;
8134 planeAspect = src.planeAspect;
8135}
8136
8137safe_VkImagePlaneMemoryRequirementsInfo& safe_VkImagePlaneMemoryRequirementsInfo::operator=(const safe_VkImagePlaneMemoryRequirementsInfo& src)
8138{
8139 if (&src == this) return *this;
8140
8141
8142 sType = src.sType;
8143 pNext = src.pNext;
8144 planeAspect = src.planeAspect;
8145
8146 return *this;
8147}
8148
8149safe_VkImagePlaneMemoryRequirementsInfo::~safe_VkImagePlaneMemoryRequirementsInfo()
8150{
8151}
8152
8153void safe_VkImagePlaneMemoryRequirementsInfo::initialize(const VkImagePlaneMemoryRequirementsInfo* in_struct)
8154{
8155 sType = in_struct->sType;
8156 pNext = in_struct->pNext;
8157 planeAspect = in_struct->planeAspect;
8158}
8159
8160void safe_VkImagePlaneMemoryRequirementsInfo::initialize(const safe_VkImagePlaneMemoryRequirementsInfo* src)
8161{
8162 sType = src->sType;
8163 pNext = src->pNext;
8164 planeAspect = src->planeAspect;
8165}
8166
8167safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures::safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures(const VkPhysicalDeviceSamplerYcbcrConversionFeatures* in_struct) :
8168 sType(in_struct->sType),
8169 pNext(in_struct->pNext),
8170 samplerYcbcrConversion(in_struct->samplerYcbcrConversion)
8171{
8172}
8173
8174safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures::safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures()
8175{}
8176
8177safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures::safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures(const safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures& src)
8178{
8179 sType = src.sType;
8180 pNext = src.pNext;
8181 samplerYcbcrConversion = src.samplerYcbcrConversion;
8182}
8183
8184safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures& safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures::operator=(const safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures& src)
8185{
8186 if (&src == this) return *this;
8187
8188
8189 sType = src.sType;
8190 pNext = src.pNext;
8191 samplerYcbcrConversion = src.samplerYcbcrConversion;
8192
8193 return *this;
8194}
8195
8196safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures::~safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures()
8197{
8198}
8199
8200void safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures::initialize(const VkPhysicalDeviceSamplerYcbcrConversionFeatures* in_struct)
8201{
8202 sType = in_struct->sType;
8203 pNext = in_struct->pNext;
8204 samplerYcbcrConversion = in_struct->samplerYcbcrConversion;
8205}
8206
8207void safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures::initialize(const safe_VkPhysicalDeviceSamplerYcbcrConversionFeatures* src)
8208{
8209 sType = src->sType;
8210 pNext = src->pNext;
8211 samplerYcbcrConversion = src->samplerYcbcrConversion;
8212}
8213
8214safe_VkSamplerYcbcrConversionImageFormatProperties::safe_VkSamplerYcbcrConversionImageFormatProperties(const VkSamplerYcbcrConversionImageFormatProperties* in_struct) :
8215 sType(in_struct->sType),
8216 pNext(in_struct->pNext),
8217 combinedImageSamplerDescriptorCount(in_struct->combinedImageSamplerDescriptorCount)
8218{
8219}
8220
8221safe_VkSamplerYcbcrConversionImageFormatProperties::safe_VkSamplerYcbcrConversionImageFormatProperties()
8222{}
8223
8224safe_VkSamplerYcbcrConversionImageFormatProperties::safe_VkSamplerYcbcrConversionImageFormatProperties(const safe_VkSamplerYcbcrConversionImageFormatProperties& src)
8225{
8226 sType = src.sType;
8227 pNext = src.pNext;
8228 combinedImageSamplerDescriptorCount = src.combinedImageSamplerDescriptorCount;
8229}
8230
8231safe_VkSamplerYcbcrConversionImageFormatProperties& safe_VkSamplerYcbcrConversionImageFormatProperties::operator=(const safe_VkSamplerYcbcrConversionImageFormatProperties& src)
8232{
8233 if (&src == this) return *this;
8234
8235
8236 sType = src.sType;
8237 pNext = src.pNext;
8238 combinedImageSamplerDescriptorCount = src.combinedImageSamplerDescriptorCount;
8239
8240 return *this;
8241}
8242
8243safe_VkSamplerYcbcrConversionImageFormatProperties::~safe_VkSamplerYcbcrConversionImageFormatProperties()
8244{
8245}
8246
8247void safe_VkSamplerYcbcrConversionImageFormatProperties::initialize(const VkSamplerYcbcrConversionImageFormatProperties* in_struct)
8248{
8249 sType = in_struct->sType;
8250 pNext = in_struct->pNext;
8251 combinedImageSamplerDescriptorCount = in_struct->combinedImageSamplerDescriptorCount;
8252}
8253
8254void safe_VkSamplerYcbcrConversionImageFormatProperties::initialize(const safe_VkSamplerYcbcrConversionImageFormatProperties* src)
8255{
8256 sType = src->sType;
8257 pNext = src->pNext;
8258 combinedImageSamplerDescriptorCount = src->combinedImageSamplerDescriptorCount;
8259}
8260
8261safe_VkDescriptorUpdateTemplateCreateInfo::safe_VkDescriptorUpdateTemplateCreateInfo(const VkDescriptorUpdateTemplateCreateInfo* in_struct) :
8262 sType(in_struct->sType),
8263 pNext(in_struct->pNext),
8264 flags(in_struct->flags),
8265 descriptorUpdateEntryCount(in_struct->descriptorUpdateEntryCount),
8266 pDescriptorUpdateEntries(nullptr),
8267 templateType(in_struct->templateType),
8268 descriptorSetLayout(in_struct->descriptorSetLayout),
8269 pipelineBindPoint(in_struct->pipelineBindPoint),
8270 pipelineLayout(in_struct->pipelineLayout),
8271 set(in_struct->set)
8272{
8273 if (in_struct->pDescriptorUpdateEntries) {
8274 pDescriptorUpdateEntries = new VkDescriptorUpdateTemplateEntry[in_struct->descriptorUpdateEntryCount];
8275 memcpy ((void *)pDescriptorUpdateEntries, (void *)in_struct->pDescriptorUpdateEntries, sizeof(VkDescriptorUpdateTemplateEntry)*in_struct->descriptorUpdateEntryCount);
8276 }
8277}
8278
8279safe_VkDescriptorUpdateTemplateCreateInfo::safe_VkDescriptorUpdateTemplateCreateInfo() :
8280 pDescriptorUpdateEntries(nullptr)
8281{}
8282
8283safe_VkDescriptorUpdateTemplateCreateInfo::safe_VkDescriptorUpdateTemplateCreateInfo(const safe_VkDescriptorUpdateTemplateCreateInfo& src)
8284{
8285 sType = src.sType;
8286 pNext = src.pNext;
8287 flags = src.flags;
8288 descriptorUpdateEntryCount = src.descriptorUpdateEntryCount;
8289 pDescriptorUpdateEntries = nullptr;
8290 templateType = src.templateType;
8291 descriptorSetLayout = src.descriptorSetLayout;
8292 pipelineBindPoint = src.pipelineBindPoint;
8293 pipelineLayout = src.pipelineLayout;
8294 set = src.set;
8295 if (src.pDescriptorUpdateEntries) {
8296 pDescriptorUpdateEntries = new VkDescriptorUpdateTemplateEntry[src.descriptorUpdateEntryCount];
8297 memcpy ((void *)pDescriptorUpdateEntries, (void *)src.pDescriptorUpdateEntries, sizeof(VkDescriptorUpdateTemplateEntry)*src.descriptorUpdateEntryCount);
8298 }
8299}
8300
8301safe_VkDescriptorUpdateTemplateCreateInfo& safe_VkDescriptorUpdateTemplateCreateInfo::operator=(const safe_VkDescriptorUpdateTemplateCreateInfo& src)
8302{
8303 if (&src == this) return *this;
8304
8305 if (pDescriptorUpdateEntries)
8306 delete[] pDescriptorUpdateEntries;
8307
8308 sType = src.sType;
8309 pNext = src.pNext;
8310 flags = src.flags;
8311 descriptorUpdateEntryCount = src.descriptorUpdateEntryCount;
8312 pDescriptorUpdateEntries = nullptr;
8313 templateType = src.templateType;
8314 descriptorSetLayout = src.descriptorSetLayout;
8315 pipelineBindPoint = src.pipelineBindPoint;
8316 pipelineLayout = src.pipelineLayout;
8317 set = src.set;
8318 if (src.pDescriptorUpdateEntries) {
8319 pDescriptorUpdateEntries = new VkDescriptorUpdateTemplateEntry[src.descriptorUpdateEntryCount];
8320 memcpy ((void *)pDescriptorUpdateEntries, (void *)src.pDescriptorUpdateEntries, sizeof(VkDescriptorUpdateTemplateEntry)*src.descriptorUpdateEntryCount);
8321 }
8322
8323 return *this;
8324}
8325
8326safe_VkDescriptorUpdateTemplateCreateInfo::~safe_VkDescriptorUpdateTemplateCreateInfo()
8327{
8328 if (pDescriptorUpdateEntries)
8329 delete[] pDescriptorUpdateEntries;
8330}
8331
8332void safe_VkDescriptorUpdateTemplateCreateInfo::initialize(const VkDescriptorUpdateTemplateCreateInfo* in_struct)
8333{
8334 sType = in_struct->sType;
8335 pNext = in_struct->pNext;
8336 flags = in_struct->flags;
8337 descriptorUpdateEntryCount = in_struct->descriptorUpdateEntryCount;
8338 pDescriptorUpdateEntries = nullptr;
8339 templateType = in_struct->templateType;
8340 descriptorSetLayout = in_struct->descriptorSetLayout;
8341 pipelineBindPoint = in_struct->pipelineBindPoint;
8342 pipelineLayout = in_struct->pipelineLayout;
8343 set = in_struct->set;
8344 if (in_struct->pDescriptorUpdateEntries) {
8345 pDescriptorUpdateEntries = new VkDescriptorUpdateTemplateEntry[in_struct->descriptorUpdateEntryCount];
8346 memcpy ((void *)pDescriptorUpdateEntries, (void *)in_struct->pDescriptorUpdateEntries, sizeof(VkDescriptorUpdateTemplateEntry)*in_struct->descriptorUpdateEntryCount);
8347 }
8348}
8349
8350void safe_VkDescriptorUpdateTemplateCreateInfo::initialize(const safe_VkDescriptorUpdateTemplateCreateInfo* src)
8351{
8352 sType = src->sType;
8353 pNext = src->pNext;
8354 flags = src->flags;
8355 descriptorUpdateEntryCount = src->descriptorUpdateEntryCount;
8356 pDescriptorUpdateEntries = nullptr;
8357 templateType = src->templateType;
8358 descriptorSetLayout = src->descriptorSetLayout;
8359 pipelineBindPoint = src->pipelineBindPoint;
8360 pipelineLayout = src->pipelineLayout;
8361 set = src->set;
8362 if (src->pDescriptorUpdateEntries) {
8363 pDescriptorUpdateEntries = new VkDescriptorUpdateTemplateEntry[src->descriptorUpdateEntryCount];
8364 memcpy ((void *)pDescriptorUpdateEntries, (void *)src->pDescriptorUpdateEntries, sizeof(VkDescriptorUpdateTemplateEntry)*src->descriptorUpdateEntryCount);
8365 }
8366}
8367
8368safe_VkPhysicalDeviceExternalImageFormatInfo::safe_VkPhysicalDeviceExternalImageFormatInfo(const VkPhysicalDeviceExternalImageFormatInfo* in_struct) :
8369 sType(in_struct->sType),
8370 pNext(in_struct->pNext),
8371 handleType(in_struct->handleType)
8372{
8373}
8374
8375safe_VkPhysicalDeviceExternalImageFormatInfo::safe_VkPhysicalDeviceExternalImageFormatInfo()
8376{}
8377
8378safe_VkPhysicalDeviceExternalImageFormatInfo::safe_VkPhysicalDeviceExternalImageFormatInfo(const safe_VkPhysicalDeviceExternalImageFormatInfo& src)
8379{
8380 sType = src.sType;
8381 pNext = src.pNext;
8382 handleType = src.handleType;
8383}
8384
8385safe_VkPhysicalDeviceExternalImageFormatInfo& safe_VkPhysicalDeviceExternalImageFormatInfo::operator=(const safe_VkPhysicalDeviceExternalImageFormatInfo& src)
8386{
8387 if (&src == this) return *this;
8388
8389
8390 sType = src.sType;
8391 pNext = src.pNext;
8392 handleType = src.handleType;
8393
8394 return *this;
8395}
8396
8397safe_VkPhysicalDeviceExternalImageFormatInfo::~safe_VkPhysicalDeviceExternalImageFormatInfo()
8398{
8399}
8400
8401void safe_VkPhysicalDeviceExternalImageFormatInfo::initialize(const VkPhysicalDeviceExternalImageFormatInfo* in_struct)
8402{
8403 sType = in_struct->sType;
8404 pNext = in_struct->pNext;
8405 handleType = in_struct->handleType;
8406}
8407
8408void safe_VkPhysicalDeviceExternalImageFormatInfo::initialize(const safe_VkPhysicalDeviceExternalImageFormatInfo* src)
8409{
8410 sType = src->sType;
8411 pNext = src->pNext;
8412 handleType = src->handleType;
8413}
8414
8415safe_VkExternalImageFormatProperties::safe_VkExternalImageFormatProperties(const VkExternalImageFormatProperties* in_struct) :
8416 sType(in_struct->sType),
8417 pNext(in_struct->pNext),
8418 externalMemoryProperties(in_struct->externalMemoryProperties)
8419{
8420}
8421
8422safe_VkExternalImageFormatProperties::safe_VkExternalImageFormatProperties()
8423{}
8424
8425safe_VkExternalImageFormatProperties::safe_VkExternalImageFormatProperties(const safe_VkExternalImageFormatProperties& src)
8426{
8427 sType = src.sType;
8428 pNext = src.pNext;
8429 externalMemoryProperties = src.externalMemoryProperties;
8430}
8431
8432safe_VkExternalImageFormatProperties& safe_VkExternalImageFormatProperties::operator=(const safe_VkExternalImageFormatProperties& src)
8433{
8434 if (&src == this) return *this;
8435
8436
8437 sType = src.sType;
8438 pNext = src.pNext;
8439 externalMemoryProperties = src.externalMemoryProperties;
8440
8441 return *this;
8442}
8443
8444safe_VkExternalImageFormatProperties::~safe_VkExternalImageFormatProperties()
8445{
8446}
8447
8448void safe_VkExternalImageFormatProperties::initialize(const VkExternalImageFormatProperties* in_struct)
8449{
8450 sType = in_struct->sType;
8451 pNext = in_struct->pNext;
8452 externalMemoryProperties = in_struct->externalMemoryProperties;
8453}
8454
8455void safe_VkExternalImageFormatProperties::initialize(const safe_VkExternalImageFormatProperties* src)
8456{
8457 sType = src->sType;
8458 pNext = src->pNext;
8459 externalMemoryProperties = src->externalMemoryProperties;
8460}
8461
8462safe_VkPhysicalDeviceExternalBufferInfo::safe_VkPhysicalDeviceExternalBufferInfo(const VkPhysicalDeviceExternalBufferInfo* in_struct) :
8463 sType(in_struct->sType),
8464 pNext(in_struct->pNext),
8465 flags(in_struct->flags),
8466 usage(in_struct->usage),
8467 handleType(in_struct->handleType)
8468{
8469}
8470
8471safe_VkPhysicalDeviceExternalBufferInfo::safe_VkPhysicalDeviceExternalBufferInfo()
8472{}
8473
8474safe_VkPhysicalDeviceExternalBufferInfo::safe_VkPhysicalDeviceExternalBufferInfo(const safe_VkPhysicalDeviceExternalBufferInfo& src)
8475{
8476 sType = src.sType;
8477 pNext = src.pNext;
8478 flags = src.flags;
8479 usage = src.usage;
8480 handleType = src.handleType;
8481}
8482
8483safe_VkPhysicalDeviceExternalBufferInfo& safe_VkPhysicalDeviceExternalBufferInfo::operator=(const safe_VkPhysicalDeviceExternalBufferInfo& src)
8484{
8485 if (&src == this) return *this;
8486
8487
8488 sType = src.sType;
8489 pNext = src.pNext;
8490 flags = src.flags;
8491 usage = src.usage;
8492 handleType = src.handleType;
8493
8494 return *this;
8495}
8496
8497safe_VkPhysicalDeviceExternalBufferInfo::~safe_VkPhysicalDeviceExternalBufferInfo()
8498{
8499}
8500
8501void safe_VkPhysicalDeviceExternalBufferInfo::initialize(const VkPhysicalDeviceExternalBufferInfo* in_struct)
8502{
8503 sType = in_struct->sType;
8504 pNext = in_struct->pNext;
8505 flags = in_struct->flags;
8506 usage = in_struct->usage;
8507 handleType = in_struct->handleType;
8508}
8509
8510void safe_VkPhysicalDeviceExternalBufferInfo::initialize(const safe_VkPhysicalDeviceExternalBufferInfo* src)
8511{
8512 sType = src->sType;
8513 pNext = src->pNext;
8514 flags = src->flags;
8515 usage = src->usage;
8516 handleType = src->handleType;
8517}
8518
8519safe_VkExternalBufferProperties::safe_VkExternalBufferProperties(const VkExternalBufferProperties* in_struct) :
8520 sType(in_struct->sType),
8521 pNext(in_struct->pNext),
8522 externalMemoryProperties(in_struct->externalMemoryProperties)
8523{
8524}
8525
8526safe_VkExternalBufferProperties::safe_VkExternalBufferProperties()
8527{}
8528
8529safe_VkExternalBufferProperties::safe_VkExternalBufferProperties(const safe_VkExternalBufferProperties& src)
8530{
8531 sType = src.sType;
8532 pNext = src.pNext;
8533 externalMemoryProperties = src.externalMemoryProperties;
8534}
8535
8536safe_VkExternalBufferProperties& safe_VkExternalBufferProperties::operator=(const safe_VkExternalBufferProperties& src)
8537{
8538 if (&src == this) return *this;
8539
8540
8541 sType = src.sType;
8542 pNext = src.pNext;
8543 externalMemoryProperties = src.externalMemoryProperties;
8544
8545 return *this;
8546}
8547
8548safe_VkExternalBufferProperties::~safe_VkExternalBufferProperties()
8549{
8550}
8551
8552void safe_VkExternalBufferProperties::initialize(const VkExternalBufferProperties* in_struct)
8553{
8554 sType = in_struct->sType;
8555 pNext = in_struct->pNext;
8556 externalMemoryProperties = in_struct->externalMemoryProperties;
8557}
8558
8559void safe_VkExternalBufferProperties::initialize(const safe_VkExternalBufferProperties* src)
8560{
8561 sType = src->sType;
8562 pNext = src->pNext;
8563 externalMemoryProperties = src->externalMemoryProperties;
8564}
8565
8566safe_VkPhysicalDeviceIDProperties::safe_VkPhysicalDeviceIDProperties(const VkPhysicalDeviceIDProperties* in_struct) :
8567 sType(in_struct->sType),
8568 pNext(in_struct->pNext),
8569 deviceNodeMask(in_struct->deviceNodeMask),
8570 deviceLUIDValid(in_struct->deviceLUIDValid)
8571{
8572 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8573 deviceUUID[i] = in_struct->deviceUUID[i];
8574 }
8575 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8576 driverUUID[i] = in_struct->driverUUID[i];
8577 }
8578 for (uint32_t i=0; i<VK_LUID_SIZE; ++i) {
8579 deviceLUID[i] = in_struct->deviceLUID[i];
8580 }
8581}
8582
8583safe_VkPhysicalDeviceIDProperties::safe_VkPhysicalDeviceIDProperties()
8584{}
8585
8586safe_VkPhysicalDeviceIDProperties::safe_VkPhysicalDeviceIDProperties(const safe_VkPhysicalDeviceIDProperties& src)
8587{
8588 sType = src.sType;
8589 pNext = src.pNext;
8590 deviceNodeMask = src.deviceNodeMask;
8591 deviceLUIDValid = src.deviceLUIDValid;
8592 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8593 deviceUUID[i] = src.deviceUUID[i];
8594 }
8595 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8596 driverUUID[i] = src.driverUUID[i];
8597 }
8598 for (uint32_t i=0; i<VK_LUID_SIZE; ++i) {
8599 deviceLUID[i] = src.deviceLUID[i];
8600 }
8601}
8602
8603safe_VkPhysicalDeviceIDProperties& safe_VkPhysicalDeviceIDProperties::operator=(const safe_VkPhysicalDeviceIDProperties& src)
8604{
8605 if (&src == this) return *this;
8606
8607
8608 sType = src.sType;
8609 pNext = src.pNext;
8610 deviceNodeMask = src.deviceNodeMask;
8611 deviceLUIDValid = src.deviceLUIDValid;
8612 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8613 deviceUUID[i] = src.deviceUUID[i];
8614 }
8615 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8616 driverUUID[i] = src.driverUUID[i];
8617 }
8618 for (uint32_t i=0; i<VK_LUID_SIZE; ++i) {
8619 deviceLUID[i] = src.deviceLUID[i];
8620 }
8621
8622 return *this;
8623}
8624
8625safe_VkPhysicalDeviceIDProperties::~safe_VkPhysicalDeviceIDProperties()
8626{
8627}
8628
8629void safe_VkPhysicalDeviceIDProperties::initialize(const VkPhysicalDeviceIDProperties* in_struct)
8630{
8631 sType = in_struct->sType;
8632 pNext = in_struct->pNext;
8633 deviceNodeMask = in_struct->deviceNodeMask;
8634 deviceLUIDValid = in_struct->deviceLUIDValid;
8635 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8636 deviceUUID[i] = in_struct->deviceUUID[i];
8637 }
8638 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8639 driverUUID[i] = in_struct->driverUUID[i];
8640 }
8641 for (uint32_t i=0; i<VK_LUID_SIZE; ++i) {
8642 deviceLUID[i] = in_struct->deviceLUID[i];
8643 }
8644}
8645
8646void safe_VkPhysicalDeviceIDProperties::initialize(const safe_VkPhysicalDeviceIDProperties* src)
8647{
8648 sType = src->sType;
8649 pNext = src->pNext;
8650 deviceNodeMask = src->deviceNodeMask;
8651 deviceLUIDValid = src->deviceLUIDValid;
8652 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8653 deviceUUID[i] = src->deviceUUID[i];
8654 }
8655 for (uint32_t i=0; i<VK_UUID_SIZE; ++i) {
8656 driverUUID[i] = src->driverUUID[i];
8657 }
8658 for (uint32_t i=0; i<VK_LUID_SIZE; ++i) {
8659 deviceLUID[i] = src->deviceLUID[i];
8660 }
8661}
8662
8663safe_VkExternalMemoryImageCreateInfo::safe_VkExternalMemoryImageCreateInfo(const VkExternalMemoryImageCreateInfo* in_struct) :
8664 sType(in_struct->sType),
8665 pNext(in_struct->pNext),
8666 handleTypes(in_struct->handleTypes)
8667{
8668}
8669
8670safe_VkExternalMemoryImageCreateInfo::safe_VkExternalMemoryImageCreateInfo()
8671{}
8672
8673safe_VkExternalMemoryImageCreateInfo::safe_VkExternalMemoryImageCreateInfo(const safe_VkExternalMemoryImageCreateInfo& src)
8674{
8675 sType = src.sType;
8676 pNext = src.pNext;
8677 handleTypes = src.handleTypes;
8678}
8679
8680safe_VkExternalMemoryImageCreateInfo& safe_VkExternalMemoryImageCreateInfo::operator=(const safe_VkExternalMemoryImageCreateInfo& src)
8681{
8682 if (&src == this) return *this;
8683
8684
8685 sType = src.sType;
8686 pNext = src.pNext;
8687 handleTypes = src.handleTypes;
8688
8689 return *this;
8690}
8691
8692safe_VkExternalMemoryImageCreateInfo::~safe_VkExternalMemoryImageCreateInfo()
8693{
8694}
8695
8696void safe_VkExternalMemoryImageCreateInfo::initialize(const VkExternalMemoryImageCreateInfo* in_struct)
8697{
8698 sType = in_struct->sType;
8699 pNext = in_struct->pNext;
8700 handleTypes = in_struct->handleTypes;
8701}
8702
8703void safe_VkExternalMemoryImageCreateInfo::initialize(const safe_VkExternalMemoryImageCreateInfo* src)
8704{
8705 sType = src->sType;
8706 pNext = src->pNext;
8707 handleTypes = src->handleTypes;
8708}
8709
8710safe_VkExternalMemoryBufferCreateInfo::safe_VkExternalMemoryBufferCreateInfo(const VkExternalMemoryBufferCreateInfo* in_struct) :
8711 sType(in_struct->sType),
8712 pNext(in_struct->pNext),
8713 handleTypes(in_struct->handleTypes)
8714{
8715}
8716
8717safe_VkExternalMemoryBufferCreateInfo::safe_VkExternalMemoryBufferCreateInfo()
8718{}
8719
8720safe_VkExternalMemoryBufferCreateInfo::safe_VkExternalMemoryBufferCreateInfo(const safe_VkExternalMemoryBufferCreateInfo& src)
8721{
8722 sType = src.sType;
8723 pNext = src.pNext;
8724 handleTypes = src.handleTypes;
8725}
8726
8727safe_VkExternalMemoryBufferCreateInfo& safe_VkExternalMemoryBufferCreateInfo::operator=(const safe_VkExternalMemoryBufferCreateInfo& src)
8728{
8729 if (&src == this) return *this;
8730
8731
8732 sType = src.sType;
8733 pNext = src.pNext;
8734 handleTypes = src.handleTypes;
8735
8736 return *this;
8737}
8738
8739safe_VkExternalMemoryBufferCreateInfo::~safe_VkExternalMemoryBufferCreateInfo()
8740{
8741}
8742
8743void safe_VkExternalMemoryBufferCreateInfo::initialize(const VkExternalMemoryBufferCreateInfo* in_struct)
8744{
8745 sType = in_struct->sType;
8746 pNext = in_struct->pNext;
8747 handleTypes = in_struct->handleTypes;
8748}
8749
8750void safe_VkExternalMemoryBufferCreateInfo::initialize(const safe_VkExternalMemoryBufferCreateInfo* src)
8751{
8752 sType = src->sType;
8753 pNext = src->pNext;
8754 handleTypes = src->handleTypes;
8755}
8756
8757safe_VkExportMemoryAllocateInfo::safe_VkExportMemoryAllocateInfo(const VkExportMemoryAllocateInfo* in_struct) :
8758 sType(in_struct->sType),
8759 pNext(in_struct->pNext),
8760 handleTypes(in_struct->handleTypes)
8761{
8762}
8763
8764safe_VkExportMemoryAllocateInfo::safe_VkExportMemoryAllocateInfo()
8765{}
8766
8767safe_VkExportMemoryAllocateInfo::safe_VkExportMemoryAllocateInfo(const safe_VkExportMemoryAllocateInfo& src)
8768{
8769 sType = src.sType;
8770 pNext = src.pNext;
8771 handleTypes = src.handleTypes;
8772}
8773
8774safe_VkExportMemoryAllocateInfo& safe_VkExportMemoryAllocateInfo::operator=(const safe_VkExportMemoryAllocateInfo& src)
8775{
8776 if (&src == this) return *this;
8777
8778
8779 sType = src.sType;
8780 pNext = src.pNext;
8781 handleTypes = src.handleTypes;
8782
8783 return *this;
8784}
8785
8786safe_VkExportMemoryAllocateInfo::~safe_VkExportMemoryAllocateInfo()
8787{
8788}
8789
8790void safe_VkExportMemoryAllocateInfo::initialize(const VkExportMemoryAllocateInfo* in_struct)
8791{
8792 sType = in_struct->sType;
8793 pNext = in_struct->pNext;
8794 handleTypes = in_struct->handleTypes;
8795}
8796
8797void safe_VkExportMemoryAllocateInfo::initialize(const safe_VkExportMemoryAllocateInfo* src)
8798{
8799 sType = src->sType;
8800 pNext = src->pNext;
8801 handleTypes = src->handleTypes;
8802}
8803
8804safe_VkPhysicalDeviceExternalFenceInfo::safe_VkPhysicalDeviceExternalFenceInfo(const VkPhysicalDeviceExternalFenceInfo* in_struct) :
8805 sType(in_struct->sType),
8806 pNext(in_struct->pNext),
8807 handleType(in_struct->handleType)
8808{
8809}
8810
8811safe_VkPhysicalDeviceExternalFenceInfo::safe_VkPhysicalDeviceExternalFenceInfo()
8812{}
8813
8814safe_VkPhysicalDeviceExternalFenceInfo::safe_VkPhysicalDeviceExternalFenceInfo(const safe_VkPhysicalDeviceExternalFenceInfo& src)
8815{
8816 sType = src.sType;
8817 pNext = src.pNext;
8818 handleType = src.handleType;
8819}
8820
8821safe_VkPhysicalDeviceExternalFenceInfo& safe_VkPhysicalDeviceExternalFenceInfo::operator=(const safe_VkPhysicalDeviceExternalFenceInfo& src)
8822{
8823 if (&src == this) return *this;
8824
8825
8826 sType = src.sType;
8827 pNext = src.pNext;
8828 handleType = src.handleType;
8829
8830 return *this;
8831}
8832
8833safe_VkPhysicalDeviceExternalFenceInfo::~safe_VkPhysicalDeviceExternalFenceInfo()
8834{
8835}
8836
8837void safe_VkPhysicalDeviceExternalFenceInfo::initialize(const VkPhysicalDeviceExternalFenceInfo* in_struct)
8838{
8839 sType = in_struct->sType;
8840 pNext = in_struct->pNext;
8841 handleType = in_struct->handleType;
8842}
8843
8844void safe_VkPhysicalDeviceExternalFenceInfo::initialize(const safe_VkPhysicalDeviceExternalFenceInfo* src)
8845{
8846 sType = src->sType;
8847 pNext = src->pNext;
8848 handleType = src->handleType;
8849}
8850
8851safe_VkExternalFenceProperties::safe_VkExternalFenceProperties(const VkExternalFenceProperties* in_struct) :
8852 sType(in_struct->sType),
8853 pNext(in_struct->pNext),
8854 exportFromImportedHandleTypes(in_struct->exportFromImportedHandleTypes),
8855 compatibleHandleTypes(in_struct->compatibleHandleTypes),
8856 externalFenceFeatures(in_struct->externalFenceFeatures)
8857{
8858}
8859
8860safe_VkExternalFenceProperties::safe_VkExternalFenceProperties()
8861{}
8862
8863safe_VkExternalFenceProperties::safe_VkExternalFenceProperties(const safe_VkExternalFenceProperties& src)
8864{
8865 sType = src.sType;
8866 pNext = src.pNext;
8867 exportFromImportedHandleTypes = src.exportFromImportedHandleTypes;
8868 compatibleHandleTypes = src.compatibleHandleTypes;
8869 externalFenceFeatures = src.externalFenceFeatures;
8870}
8871
8872safe_VkExternalFenceProperties& safe_VkExternalFenceProperties::operator=(const safe_VkExternalFenceProperties& src)
8873{
8874 if (&src == this) return *this;
8875
8876
8877 sType = src.sType;
8878 pNext = src.pNext;
8879 exportFromImportedHandleTypes = src.exportFromImportedHandleTypes;
8880 compatibleHandleTypes = src.compatibleHandleTypes;
8881 externalFenceFeatures = src.externalFenceFeatures;
8882
8883 return *this;
8884}
8885
8886safe_VkExternalFenceProperties::~safe_VkExternalFenceProperties()
8887{
8888}
8889
8890void safe_VkExternalFenceProperties::initialize(const VkExternalFenceProperties* in_struct)
8891{
8892 sType = in_struct->sType;
8893 pNext = in_struct->pNext;
8894 exportFromImportedHandleTypes = in_struct->exportFromImportedHandleTypes;
8895 compatibleHandleTypes = in_struct->compatibleHandleTypes;
8896 externalFenceFeatures = in_struct->externalFenceFeatures;
8897}
8898
8899void safe_VkExternalFenceProperties::initialize(const safe_VkExternalFenceProperties* src)
8900{
8901 sType = src->sType;
8902 pNext = src->pNext;
8903 exportFromImportedHandleTypes = src->exportFromImportedHandleTypes;
8904 compatibleHandleTypes = src->compatibleHandleTypes;
8905 externalFenceFeatures = src->externalFenceFeatures;
8906}
8907
8908safe_VkExportFenceCreateInfo::safe_VkExportFenceCreateInfo(const VkExportFenceCreateInfo* in_struct) :
8909 sType(in_struct->sType),
8910 pNext(in_struct->pNext),
8911 handleTypes(in_struct->handleTypes)
8912{
8913}
8914
8915safe_VkExportFenceCreateInfo::safe_VkExportFenceCreateInfo()
8916{}
8917
8918safe_VkExportFenceCreateInfo::safe_VkExportFenceCreateInfo(const safe_VkExportFenceCreateInfo& src)
8919{
8920 sType = src.sType;
8921 pNext = src.pNext;
8922 handleTypes = src.handleTypes;
8923}
8924
8925safe_VkExportFenceCreateInfo& safe_VkExportFenceCreateInfo::operator=(const safe_VkExportFenceCreateInfo& src)
8926{
8927 if (&src == this) return *this;
8928
8929
8930 sType = src.sType;
8931 pNext = src.pNext;
8932 handleTypes = src.handleTypes;
8933
8934 return *this;
8935}
8936
8937safe_VkExportFenceCreateInfo::~safe_VkExportFenceCreateInfo()
8938{
8939}
8940
8941void safe_VkExportFenceCreateInfo::initialize(const VkExportFenceCreateInfo* in_struct)
8942{
8943 sType = in_struct->sType;
8944 pNext = in_struct->pNext;
8945 handleTypes = in_struct->handleTypes;
8946}
8947
8948void safe_VkExportFenceCreateInfo::initialize(const safe_VkExportFenceCreateInfo* src)
8949{
8950 sType = src->sType;
8951 pNext = src->pNext;
8952 handleTypes = src->handleTypes;
8953}
8954
8955safe_VkExportSemaphoreCreateInfo::safe_VkExportSemaphoreCreateInfo(const VkExportSemaphoreCreateInfo* in_struct) :
8956 sType(in_struct->sType),
8957 pNext(in_struct->pNext),
8958 handleTypes(in_struct->handleTypes)
8959{
8960}
8961
8962safe_VkExportSemaphoreCreateInfo::safe_VkExportSemaphoreCreateInfo()
8963{}
8964
8965safe_VkExportSemaphoreCreateInfo::safe_VkExportSemaphoreCreateInfo(const safe_VkExportSemaphoreCreateInfo& src)
8966{
8967 sType = src.sType;
8968 pNext = src.pNext;
8969 handleTypes = src.handleTypes;
8970}
8971
8972safe_VkExportSemaphoreCreateInfo& safe_VkExportSemaphoreCreateInfo::operator=(const safe_VkExportSemaphoreCreateInfo& src)
8973{
8974 if (&src == this) return *this;
8975
8976
8977 sType = src.sType;
8978 pNext = src.pNext;
8979 handleTypes = src.handleTypes;
8980
8981 return *this;
8982}
8983
8984safe_VkExportSemaphoreCreateInfo::~safe_VkExportSemaphoreCreateInfo()
8985{
8986}
8987
8988void safe_VkExportSemaphoreCreateInfo::initialize(const VkExportSemaphoreCreateInfo* in_struct)
8989{
8990 sType = in_struct->sType;
8991 pNext = in_struct->pNext;
8992 handleTypes = in_struct->handleTypes;
8993}
8994
8995void safe_VkExportSemaphoreCreateInfo::initialize(const safe_VkExportSemaphoreCreateInfo* src)
8996{
8997 sType = src->sType;
8998 pNext = src->pNext;
8999 handleTypes = src->handleTypes;
9000}
9001
9002safe_VkPhysicalDeviceExternalSemaphoreInfo::safe_VkPhysicalDeviceExternalSemaphoreInfo(const VkPhysicalDeviceExternalSemaphoreInfo* in_struct) :
9003 sType(in_struct->sType),
9004 pNext(in_struct->pNext),
9005 handleType(in_struct->handleType)
9006{
9007}
9008
9009safe_VkPhysicalDeviceExternalSemaphoreInfo::safe_VkPhysicalDeviceExternalSemaphoreInfo()
9010{}
9011
9012safe_VkPhysicalDeviceExternalSemaphoreInfo::safe_VkPhysicalDeviceExternalSemaphoreInfo(const safe_VkPhysicalDeviceExternalSemaphoreInfo& src)
9013{
9014 sType = src.sType;
9015 pNext = src.pNext;
9016 handleType = src.handleType;
9017}
9018
9019safe_VkPhysicalDeviceExternalSemaphoreInfo& safe_VkPhysicalDeviceExternalSemaphoreInfo::operator=(const safe_VkPhysicalDeviceExternalSemaphoreInfo& src)
9020{
9021 if (&src == this) return *this;
9022
9023
9024 sType = src.sType;
9025 pNext = src.pNext;
9026 handleType = src.handleType;
9027
9028 return *this;
9029}
9030
9031safe_VkPhysicalDeviceExternalSemaphoreInfo::~safe_VkPhysicalDeviceExternalSemaphoreInfo()
9032{
9033}
9034
9035void safe_VkPhysicalDeviceExternalSemaphoreInfo::initialize(const VkPhysicalDeviceExternalSemaphoreInfo* in_struct)
9036{
9037 sType = in_struct->sType;
9038 pNext = in_struct->pNext;
9039 handleType = in_struct->handleType;
9040}
9041
9042void safe_VkPhysicalDeviceExternalSemaphoreInfo::initialize(const safe_VkPhysicalDeviceExternalSemaphoreInfo* src)
9043{
9044 sType = src->sType;
9045 pNext = src->pNext;
9046 handleType = src->handleType;
9047}
9048
9049safe_VkExternalSemaphoreProperties::safe_VkExternalSemaphoreProperties(const VkExternalSemaphoreProperties* in_struct) :
9050 sType(in_struct->sType),
9051 pNext(in_struct->pNext),
9052 exportFromImportedHandleTypes(in_struct->exportFromImportedHandleTypes),
9053 compatibleHandleTypes(in_struct->compatibleHandleTypes),
9054 externalSemaphoreFeatures(in_struct->externalSemaphoreFeatures)
9055{
9056}
9057
9058safe_VkExternalSemaphoreProperties::safe_VkExternalSemaphoreProperties()
9059{}
9060
9061safe_VkExternalSemaphoreProperties::safe_VkExternalSemaphoreProperties(const safe_VkExternalSemaphoreProperties& src)
9062{
9063 sType = src.sType;
9064 pNext = src.pNext;
9065 exportFromImportedHandleTypes = src.exportFromImportedHandleTypes;
9066 compatibleHandleTypes = src.compatibleHandleTypes;
9067 externalSemaphoreFeatures = src.externalSemaphoreFeatures;
9068}
9069
9070safe_VkExternalSemaphoreProperties& safe_VkExternalSemaphoreProperties::operator=(const safe_VkExternalSemaphoreProperties& src)
9071{
9072 if (&src == this) return *this;
9073
9074
9075 sType = src.sType;
9076 pNext = src.pNext;
9077 exportFromImportedHandleTypes = src.exportFromImportedHandleTypes;
9078 compatibleHandleTypes = src.compatibleHandleTypes;
9079 externalSemaphoreFeatures = src.externalSemaphoreFeatures;
9080
9081 return *this;
9082}
9083
9084safe_VkExternalSemaphoreProperties::~safe_VkExternalSemaphoreProperties()
9085{
9086}
9087
9088void safe_VkExternalSemaphoreProperties::initialize(const VkExternalSemaphoreProperties* in_struct)
9089{
9090 sType = in_struct->sType;
9091 pNext = in_struct->pNext;
9092 exportFromImportedHandleTypes = in_struct->exportFromImportedHandleTypes;
9093 compatibleHandleTypes = in_struct->compatibleHandleTypes;
9094 externalSemaphoreFeatures = in_struct->externalSemaphoreFeatures;
9095}
9096
9097void safe_VkExternalSemaphoreProperties::initialize(const safe_VkExternalSemaphoreProperties* src)
9098{
9099 sType = src->sType;
9100 pNext = src->pNext;
9101 exportFromImportedHandleTypes = src->exportFromImportedHandleTypes;
9102 compatibleHandleTypes = src->compatibleHandleTypes;
9103 externalSemaphoreFeatures = src->externalSemaphoreFeatures;
9104}
9105
9106safe_VkPhysicalDeviceMaintenance3Properties::safe_VkPhysicalDeviceMaintenance3Properties(const VkPhysicalDeviceMaintenance3Properties* in_struct) :
9107 sType(in_struct->sType),
9108 pNext(in_struct->pNext),
9109 maxPerSetDescriptors(in_struct->maxPerSetDescriptors),
9110 maxMemoryAllocationSize(in_struct->maxMemoryAllocationSize)
9111{
9112}
9113
9114safe_VkPhysicalDeviceMaintenance3Properties::safe_VkPhysicalDeviceMaintenance3Properties()
9115{}
9116
9117safe_VkPhysicalDeviceMaintenance3Properties::safe_VkPhysicalDeviceMaintenance3Properties(const safe_VkPhysicalDeviceMaintenance3Properties& src)
9118{
9119 sType = src.sType;
9120 pNext = src.pNext;
9121 maxPerSetDescriptors = src.maxPerSetDescriptors;
9122 maxMemoryAllocationSize = src.maxMemoryAllocationSize;
9123}
9124
9125safe_VkPhysicalDeviceMaintenance3Properties& safe_VkPhysicalDeviceMaintenance3Properties::operator=(const safe_VkPhysicalDeviceMaintenance3Properties& src)
9126{
9127 if (&src == this) return *this;
9128
9129
9130 sType = src.sType;
9131 pNext = src.pNext;
9132 maxPerSetDescriptors = src.maxPerSetDescriptors;
9133 maxMemoryAllocationSize = src.maxMemoryAllocationSize;
9134
9135 return *this;
9136}
9137
9138safe_VkPhysicalDeviceMaintenance3Properties::~safe_VkPhysicalDeviceMaintenance3Properties()
9139{
9140}
9141
9142void safe_VkPhysicalDeviceMaintenance3Properties::initialize(const VkPhysicalDeviceMaintenance3Properties* in_struct)
9143{
9144 sType = in_struct->sType;
9145 pNext = in_struct->pNext;
9146 maxPerSetDescriptors = in_struct->maxPerSetDescriptors;
9147 maxMemoryAllocationSize = in_struct->maxMemoryAllocationSize;
9148}
9149
9150void safe_VkPhysicalDeviceMaintenance3Properties::initialize(const safe_VkPhysicalDeviceMaintenance3Properties* src)
9151{
9152 sType = src->sType;
9153 pNext = src->pNext;
9154 maxPerSetDescriptors = src->maxPerSetDescriptors;
9155 maxMemoryAllocationSize = src->maxMemoryAllocationSize;
9156}
9157
9158safe_VkDescriptorSetLayoutSupport::safe_VkDescriptorSetLayoutSupport(const VkDescriptorSetLayoutSupport* in_struct) :
9159 sType(in_struct->sType),
9160 pNext(in_struct->pNext),
9161 supported(in_struct->supported)
9162{
9163}
9164
9165safe_VkDescriptorSetLayoutSupport::safe_VkDescriptorSetLayoutSupport()
9166{}
9167
9168safe_VkDescriptorSetLayoutSupport::safe_VkDescriptorSetLayoutSupport(const safe_VkDescriptorSetLayoutSupport& src)
9169{
9170 sType = src.sType;
9171 pNext = src.pNext;
9172 supported = src.supported;
9173}
9174
9175safe_VkDescriptorSetLayoutSupport& safe_VkDescriptorSetLayoutSupport::operator=(const safe_VkDescriptorSetLayoutSupport& src)
9176{
9177 if (&src == this) return *this;
9178
9179
9180 sType = src.sType;
9181 pNext = src.pNext;
9182 supported = src.supported;
9183
9184 return *this;
9185}
9186
9187safe_VkDescriptorSetLayoutSupport::~safe_VkDescriptorSetLayoutSupport()
9188{
9189}
9190
9191void safe_VkDescriptorSetLayoutSupport::initialize(const VkDescriptorSetLayoutSupport* in_struct)
9192{
9193 sType = in_struct->sType;
9194 pNext = in_struct->pNext;
9195 supported = in_struct->supported;
9196}
9197
9198void safe_VkDescriptorSetLayoutSupport::initialize(const safe_VkDescriptorSetLayoutSupport* src)
9199{
9200 sType = src->sType;
9201 pNext = src->pNext;
9202 supported = src->supported;
9203}
9204
9205safe_VkPhysicalDeviceShaderDrawParametersFeatures::safe_VkPhysicalDeviceShaderDrawParametersFeatures(const VkPhysicalDeviceShaderDrawParametersFeatures* in_struct) :
9206 sType(in_struct->sType),
9207 pNext(in_struct->pNext),
9208 shaderDrawParameters(in_struct->shaderDrawParameters)
9209{
9210}
9211
9212safe_VkPhysicalDeviceShaderDrawParametersFeatures::safe_VkPhysicalDeviceShaderDrawParametersFeatures()
9213{}
9214
9215safe_VkPhysicalDeviceShaderDrawParametersFeatures::safe_VkPhysicalDeviceShaderDrawParametersFeatures(const safe_VkPhysicalDeviceShaderDrawParametersFeatures& src)
9216{
9217 sType = src.sType;
9218 pNext = src.pNext;
9219 shaderDrawParameters = src.shaderDrawParameters;
9220}
9221
9222safe_VkPhysicalDeviceShaderDrawParametersFeatures& safe_VkPhysicalDeviceShaderDrawParametersFeatures::operator=(const safe_VkPhysicalDeviceShaderDrawParametersFeatures& src)
9223{
9224 if (&src == this) return *this;
9225
9226
9227 sType = src.sType;
9228 pNext = src.pNext;
9229 shaderDrawParameters = src.shaderDrawParameters;
9230
9231 return *this;
9232}
9233
9234safe_VkPhysicalDeviceShaderDrawParametersFeatures::~safe_VkPhysicalDeviceShaderDrawParametersFeatures()
9235{
9236}
9237
9238void safe_VkPhysicalDeviceShaderDrawParametersFeatures::initialize(const VkPhysicalDeviceShaderDrawParametersFeatures* in_struct)
9239{
9240 sType = in_struct->sType;
9241 pNext = in_struct->pNext;
9242 shaderDrawParameters = in_struct->shaderDrawParameters;
9243}
9244
9245void safe_VkPhysicalDeviceShaderDrawParametersFeatures::initialize(const safe_VkPhysicalDeviceShaderDrawParametersFeatures* src)
9246{
9247 sType = src->sType;
9248 pNext = src->pNext;
9249 shaderDrawParameters = src->shaderDrawParameters;
9250}
9251
9252safe_VkSwapchainCreateInfoKHR::safe_VkSwapchainCreateInfoKHR(const VkSwapchainCreateInfoKHR* in_struct) :
9253 sType(in_struct->sType),
9254 pNext(in_struct->pNext),
9255 flags(in_struct->flags),
9256 surface(in_struct->surface),
9257 minImageCount(in_struct->minImageCount),
9258 imageFormat(in_struct->imageFormat),
9259 imageColorSpace(in_struct->imageColorSpace),
9260 imageExtent(in_struct->imageExtent),
9261 imageArrayLayers(in_struct->imageArrayLayers),
9262 imageUsage(in_struct->imageUsage),
9263 imageSharingMode(in_struct->imageSharingMode),
9264 queueFamilyIndexCount(in_struct->queueFamilyIndexCount),
9265 pQueueFamilyIndices(nullptr),
9266 preTransform(in_struct->preTransform),
9267 compositeAlpha(in_struct->compositeAlpha),
9268 presentMode(in_struct->presentMode),
9269 clipped(in_struct->clipped),
9270 oldSwapchain(in_struct->oldSwapchain)
9271{
9272 if (in_struct->pQueueFamilyIndices) {
9273 pQueueFamilyIndices = new uint32_t[in_struct->queueFamilyIndexCount];
9274 memcpy ((void *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount);
9275 }
9276}
9277
9278safe_VkSwapchainCreateInfoKHR::safe_VkSwapchainCreateInfoKHR() :
9279 pQueueFamilyIndices(nullptr)
9280{}
9281
9282safe_VkSwapchainCreateInfoKHR::safe_VkSwapchainCreateInfoKHR(const safe_VkSwapchainCreateInfoKHR& src)
9283{
9284 sType = src.sType;
9285 pNext = src.pNext;
9286 flags = src.flags;
9287 surface = src.surface;
9288 minImageCount = src.minImageCount;
9289 imageFormat = src.imageFormat;
9290 imageColorSpace = src.imageColorSpace;
9291 imageExtent = src.imageExtent;
9292 imageArrayLayers = src.imageArrayLayers;
9293 imageUsage = src.imageUsage;
9294 imageSharingMode = src.imageSharingMode;
9295 queueFamilyIndexCount = src.queueFamilyIndexCount;
9296 pQueueFamilyIndices = nullptr;
9297 preTransform = src.preTransform;
9298 compositeAlpha = src.compositeAlpha;
9299 presentMode = src.presentMode;
9300 clipped = src.clipped;
9301 oldSwapchain = src.oldSwapchain;
9302 if (src.pQueueFamilyIndices) {
9303 pQueueFamilyIndices = new uint32_t[src.queueFamilyIndexCount];
9304 memcpy ((void *)pQueueFamilyIndices, (void *)src.pQueueFamilyIndices, sizeof(uint32_t)*src.queueFamilyIndexCount);
9305 }
9306}
9307
9308safe_VkSwapchainCreateInfoKHR& safe_VkSwapchainCreateInfoKHR::operator=(const safe_VkSwapchainCreateInfoKHR& src)
9309{
9310 if (&src == this) return *this;
9311
9312 if (pQueueFamilyIndices)
9313 delete[] pQueueFamilyIndices;
9314
9315 sType = src.sType;
9316 pNext = src.pNext;
9317 flags = src.flags;
9318 surface = src.surface;
9319 minImageCount = src.minImageCount;
9320 imageFormat = src.imageFormat;
9321 imageColorSpace = src.imageColorSpace;
9322 imageExtent = src.imageExtent;
9323 imageArrayLayers = src.imageArrayLayers;
9324 imageUsage = src.imageUsage;
9325 imageSharingMode = src.imageSharingMode;
9326 queueFamilyIndexCount = src.queueFamilyIndexCount;
9327 pQueueFamilyIndices = nullptr;
9328 preTransform = src.preTransform;
9329 compositeAlpha = src.compositeAlpha;
9330 presentMode = src.presentMode;
9331 clipped = src.clipped;
9332 oldSwapchain = src.oldSwapchain;
9333 if (src.pQueueFamilyIndices) {
9334 pQueueFamilyIndices = new uint32_t[src.queueFamilyIndexCount];
9335 memcpy ((void *)pQueueFamilyIndices, (void *)src.pQueueFamilyIndices, sizeof(uint32_t)*src.queueFamilyIndexCount);
9336 }
9337
9338 return *this;
9339}
9340
9341safe_VkSwapchainCreateInfoKHR::~safe_VkSwapchainCreateInfoKHR()
9342{
9343 if (pQueueFamilyIndices)
9344 delete[] pQueueFamilyIndices;
9345}
9346
9347void safe_VkSwapchainCreateInfoKHR::initialize(const VkSwapchainCreateInfoKHR* in_struct)
9348{
9349 sType = in_struct->sType;
9350 pNext = in_struct->pNext;
9351 flags = in_struct->flags;
9352 surface = in_struct->surface;
9353 minImageCount = in_struct->minImageCount;
9354 imageFormat = in_struct->imageFormat;
9355 imageColorSpace = in_struct->imageColorSpace;
9356 imageExtent = in_struct->imageExtent;
9357 imageArrayLayers = in_struct->imageArrayLayers;
9358 imageUsage = in_struct->imageUsage;
9359 imageSharingMode = in_struct->imageSharingMode;
9360 queueFamilyIndexCount = in_struct->queueFamilyIndexCount;
9361 pQueueFamilyIndices = nullptr;
9362 preTransform = in_struct->preTransform;
9363 compositeAlpha = in_struct->compositeAlpha;
9364 presentMode = in_struct->presentMode;
9365 clipped = in_struct->clipped;
9366 oldSwapchain = in_struct->oldSwapchain;
9367 if (in_struct->pQueueFamilyIndices) {
9368 pQueueFamilyIndices = new uint32_t[in_struct->queueFamilyIndexCount];
9369 memcpy ((void *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount);
9370 }
9371}
9372
9373void safe_VkSwapchainCreateInfoKHR::initialize(const safe_VkSwapchainCreateInfoKHR* src)
9374{
9375 sType = src->sType;
9376 pNext = src->pNext;
9377 flags = src->flags;
9378 surface = src->surface;
9379 minImageCount = src->minImageCount;
9380 imageFormat = src->imageFormat;
9381 imageColorSpace = src->imageColorSpace;
9382 imageExtent = src->imageExtent;
9383 imageArrayLayers = src->imageArrayLayers;
9384 imageUsage = src->imageUsage;
9385 imageSharingMode = src->imageSharingMode;
9386 queueFamilyIndexCount = src->queueFamilyIndexCount;
9387 pQueueFamilyIndices = nullptr;
9388 preTransform = src->preTransform;
9389 compositeAlpha = src->compositeAlpha;
9390 presentMode = src->presentMode;
9391 clipped = src->clipped;
9392 oldSwapchain = src->oldSwapchain;
9393 if (src->pQueueFamilyIndices) {
9394 pQueueFamilyIndices = new uint32_t[src->queueFamilyIndexCount];
9395 memcpy ((void *)pQueueFamilyIndices, (void *)src->pQueueFamilyIndices, sizeof(uint32_t)*src->queueFamilyIndexCount);
9396 }
9397}
9398
9399safe_VkPresentInfoKHR::safe_VkPresentInfoKHR(const VkPresentInfoKHR* in_struct) :
9400 sType(in_struct->sType),
9401 pNext(in_struct->pNext),
9402 waitSemaphoreCount(in_struct->waitSemaphoreCount),
9403 pWaitSemaphores(nullptr),
9404 swapchainCount(in_struct->swapchainCount),
9405 pSwapchains(nullptr),
9406 pImageIndices(nullptr),
9407 pResults(nullptr)
9408{
9409 if (waitSemaphoreCount && in_struct->pWaitSemaphores) {
9410 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
9411 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
9412 pWaitSemaphores[i] = in_struct->pWaitSemaphores[i];
9413 }
9414 }
9415 if (swapchainCount && in_struct->pSwapchains) {
9416 pSwapchains = new VkSwapchainKHR[swapchainCount];
9417 for (uint32_t i=0; i<swapchainCount; ++i) {
9418 pSwapchains[i] = in_struct->pSwapchains[i];
9419 }
9420 }
9421 if (in_struct->pImageIndices) {
9422 pImageIndices = new uint32_t[in_struct->swapchainCount];
9423 memcpy ((void *)pImageIndices, (void *)in_struct->pImageIndices, sizeof(uint32_t)*in_struct->swapchainCount);
9424 }
9425 if (in_struct->pResults) {
9426 pResults = new VkResult[in_struct->swapchainCount];
9427 memcpy ((void *)pResults, (void *)in_struct->pResults, sizeof(VkResult)*in_struct->swapchainCount);
9428 }
9429}
9430
9431safe_VkPresentInfoKHR::safe_VkPresentInfoKHR() :
9432 pWaitSemaphores(nullptr),
9433 pSwapchains(nullptr),
9434 pImageIndices(nullptr),
9435 pResults(nullptr)
9436{}
9437
9438safe_VkPresentInfoKHR::safe_VkPresentInfoKHR(const safe_VkPresentInfoKHR& src)
9439{
9440 sType = src.sType;
9441 pNext = src.pNext;
9442 waitSemaphoreCount = src.waitSemaphoreCount;
9443 pWaitSemaphores = nullptr;
9444 swapchainCount = src.swapchainCount;
9445 pSwapchains = nullptr;
9446 pImageIndices = nullptr;
9447 pResults = nullptr;
9448 if (waitSemaphoreCount && src.pWaitSemaphores) {
9449 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
9450 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
9451 pWaitSemaphores[i] = src.pWaitSemaphores[i];
9452 }
9453 }
9454 if (swapchainCount && src.pSwapchains) {
9455 pSwapchains = new VkSwapchainKHR[swapchainCount];
9456 for (uint32_t i=0; i<swapchainCount; ++i) {
9457 pSwapchains[i] = src.pSwapchains[i];
9458 }
9459 }
9460 if (src.pImageIndices) {
9461 pImageIndices = new uint32_t[src.swapchainCount];
9462 memcpy ((void *)pImageIndices, (void *)src.pImageIndices, sizeof(uint32_t)*src.swapchainCount);
9463 }
9464 if (src.pResults) {
9465 pResults = new VkResult[src.swapchainCount];
9466 memcpy ((void *)pResults, (void *)src.pResults, sizeof(VkResult)*src.swapchainCount);
9467 }
9468}
9469
9470safe_VkPresentInfoKHR& safe_VkPresentInfoKHR::operator=(const safe_VkPresentInfoKHR& src)
9471{
9472 if (&src == this) return *this;
9473
9474 if (pWaitSemaphores)
9475 delete[] pWaitSemaphores;
9476 if (pSwapchains)
9477 delete[] pSwapchains;
9478 if (pImageIndices)
9479 delete[] pImageIndices;
9480 if (pResults)
9481 delete[] pResults;
9482
9483 sType = src.sType;
9484 pNext = src.pNext;
9485 waitSemaphoreCount = src.waitSemaphoreCount;
9486 pWaitSemaphores = nullptr;
9487 swapchainCount = src.swapchainCount;
9488 pSwapchains = nullptr;
9489 pImageIndices = nullptr;
9490 pResults = nullptr;
9491 if (waitSemaphoreCount && src.pWaitSemaphores) {
9492 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
9493 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
9494 pWaitSemaphores[i] = src.pWaitSemaphores[i];
9495 }
9496 }
9497 if (swapchainCount && src.pSwapchains) {
9498 pSwapchains = new VkSwapchainKHR[swapchainCount];
9499 for (uint32_t i=0; i<swapchainCount; ++i) {
9500 pSwapchains[i] = src.pSwapchains[i];
9501 }
9502 }
9503 if (src.pImageIndices) {
9504 pImageIndices = new uint32_t[src.swapchainCount];
9505 memcpy ((void *)pImageIndices, (void *)src.pImageIndices, sizeof(uint32_t)*src.swapchainCount);
9506 }
9507 if (src.pResults) {
9508 pResults = new VkResult[src.swapchainCount];
9509 memcpy ((void *)pResults, (void *)src.pResults, sizeof(VkResult)*src.swapchainCount);
9510 }
9511
9512 return *this;
9513}
9514
9515safe_VkPresentInfoKHR::~safe_VkPresentInfoKHR()
9516{
9517 if (pWaitSemaphores)
9518 delete[] pWaitSemaphores;
9519 if (pSwapchains)
9520 delete[] pSwapchains;
9521 if (pImageIndices)
9522 delete[] pImageIndices;
9523 if (pResults)
9524 delete[] pResults;
9525}
9526
9527void safe_VkPresentInfoKHR::initialize(const VkPresentInfoKHR* in_struct)
9528{
9529 sType = in_struct->sType;
9530 pNext = in_struct->pNext;
9531 waitSemaphoreCount = in_struct->waitSemaphoreCount;
9532 pWaitSemaphores = nullptr;
9533 swapchainCount = in_struct->swapchainCount;
9534 pSwapchains = nullptr;
9535 pImageIndices = nullptr;
9536 pResults = nullptr;
9537 if (waitSemaphoreCount && in_struct->pWaitSemaphores) {
9538 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
9539 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
9540 pWaitSemaphores[i] = in_struct->pWaitSemaphores[i];
9541 }
9542 }
9543 if (swapchainCount && in_struct->pSwapchains) {
9544 pSwapchains = new VkSwapchainKHR[swapchainCount];
9545 for (uint32_t i=0; i<swapchainCount; ++i) {
9546 pSwapchains[i] = in_struct->pSwapchains[i];
9547 }
9548 }
9549 if (in_struct->pImageIndices) {
9550 pImageIndices = new uint32_t[in_struct->swapchainCount];
9551 memcpy ((void *)pImageIndices, (void *)in_struct->pImageIndices, sizeof(uint32_t)*in_struct->swapchainCount);
9552 }
9553 if (in_struct->pResults) {
9554 pResults = new VkResult[in_struct->swapchainCount];
9555 memcpy ((void *)pResults, (void *)in_struct->pResults, sizeof(VkResult)*in_struct->swapchainCount);
9556 }
9557}
9558
9559void safe_VkPresentInfoKHR::initialize(const safe_VkPresentInfoKHR* src)
9560{
9561 sType = src->sType;
9562 pNext = src->pNext;
9563 waitSemaphoreCount = src->waitSemaphoreCount;
9564 pWaitSemaphores = nullptr;
9565 swapchainCount = src->swapchainCount;
9566 pSwapchains = nullptr;
9567 pImageIndices = nullptr;
9568 pResults = nullptr;
9569 if (waitSemaphoreCount && src->pWaitSemaphores) {
9570 pWaitSemaphores = new VkSemaphore[waitSemaphoreCount];
9571 for (uint32_t i=0; i<waitSemaphoreCount; ++i) {
9572 pWaitSemaphores[i] = src->pWaitSemaphores[i];
9573 }
9574 }
9575 if (swapchainCount && src->pSwapchains) {
9576 pSwapchains = new VkSwapchainKHR[swapchainCount];
9577 for (uint32_t i=0; i<swapchainCount; ++i) {
9578 pSwapchains[i] = src->pSwapchains[i];
9579 }
9580 }
9581 if (src->pImageIndices) {
9582 pImageIndices = new uint32_t[src->swapchainCount];
9583 memcpy ((void *)pImageIndices, (void *)src->pImageIndices, sizeof(uint32_t)*src->swapchainCount);
9584 }
9585 if (src->pResults) {
9586 pResults = new VkResult[src->swapchainCount];
9587 memcpy ((void *)pResults, (void *)src->pResults, sizeof(VkResult)*src->swapchainCount);
9588 }
9589}
9590
9591safe_VkImageSwapchainCreateInfoKHR::safe_VkImageSwapchainCreateInfoKHR(const VkImageSwapchainCreateInfoKHR* in_struct) :
9592 sType(in_struct->sType),
9593 pNext(in_struct->pNext),
9594 swapchain(in_struct->swapchain)
9595{
9596}
9597
9598safe_VkImageSwapchainCreateInfoKHR::safe_VkImageSwapchainCreateInfoKHR()
9599{}
9600
9601safe_VkImageSwapchainCreateInfoKHR::safe_VkImageSwapchainCreateInfoKHR(const safe_VkImageSwapchainCreateInfoKHR& src)
9602{
9603 sType = src.sType;
9604 pNext = src.pNext;
9605 swapchain = src.swapchain;
9606}
9607
9608safe_VkImageSwapchainCreateInfoKHR& safe_VkImageSwapchainCreateInfoKHR::operator=(const safe_VkImageSwapchainCreateInfoKHR& src)
9609{
9610 if (&src == this) return *this;
9611
9612
9613 sType = src.sType;
9614 pNext = src.pNext;
9615 swapchain = src.swapchain;
9616
9617 return *this;
9618}
9619
9620safe_VkImageSwapchainCreateInfoKHR::~safe_VkImageSwapchainCreateInfoKHR()
9621{
9622}
9623
9624void safe_VkImageSwapchainCreateInfoKHR::initialize(const VkImageSwapchainCreateInfoKHR* in_struct)
9625{
9626 sType = in_struct->sType;
9627 pNext = in_struct->pNext;
9628 swapchain = in_struct->swapchain;
9629}
9630
9631void safe_VkImageSwapchainCreateInfoKHR::initialize(const safe_VkImageSwapchainCreateInfoKHR* src)
9632{
9633 sType = src->sType;
9634 pNext = src->pNext;
9635 swapchain = src->swapchain;
9636}
9637
9638safe_VkBindImageMemorySwapchainInfoKHR::safe_VkBindImageMemorySwapchainInfoKHR(const VkBindImageMemorySwapchainInfoKHR* in_struct) :
9639 sType(in_struct->sType),
9640 pNext(in_struct->pNext),
9641 swapchain(in_struct->swapchain),
9642 imageIndex(in_struct->imageIndex)
9643{
9644}
9645
9646safe_VkBindImageMemorySwapchainInfoKHR::safe_VkBindImageMemorySwapchainInfoKHR()
9647{}
9648
9649safe_VkBindImageMemorySwapchainInfoKHR::safe_VkBindImageMemorySwapchainInfoKHR(const safe_VkBindImageMemorySwapchainInfoKHR& src)
9650{
9651 sType = src.sType;
9652 pNext = src.pNext;
9653 swapchain = src.swapchain;
9654 imageIndex = src.imageIndex;
9655}
9656
9657safe_VkBindImageMemorySwapchainInfoKHR& safe_VkBindImageMemorySwapchainInfoKHR::operator=(const safe_VkBindImageMemorySwapchainInfoKHR& src)
9658{
9659 if (&src == this) return *this;
9660
9661
9662 sType = src.sType;
9663 pNext = src.pNext;
9664 swapchain = src.swapchain;
9665 imageIndex = src.imageIndex;
9666
9667 return *this;
9668}
9669
9670safe_VkBindImageMemorySwapchainInfoKHR::~safe_VkBindImageMemorySwapchainInfoKHR()
9671{
9672}
9673
9674void safe_VkBindImageMemorySwapchainInfoKHR::initialize(const VkBindImageMemorySwapchainInfoKHR* in_struct)
9675{
9676 sType = in_struct->sType;
9677 pNext = in_struct->pNext;
9678 swapchain = in_struct->swapchain;
9679 imageIndex = in_struct->imageIndex;
9680}
9681
9682void safe_VkBindImageMemorySwapchainInfoKHR::initialize(const safe_VkBindImageMemorySwapchainInfoKHR* src)
9683{
9684 sType = src->sType;
9685 pNext = src->pNext;
9686 swapchain = src->swapchain;
9687 imageIndex = src->imageIndex;
9688}
9689
9690safe_VkAcquireNextImageInfoKHR::safe_VkAcquireNextImageInfoKHR(const VkAcquireNextImageInfoKHR* in_struct) :
9691 sType(in_struct->sType),
9692 pNext(in_struct->pNext),
9693 swapchain(in_struct->swapchain),
9694 timeout(in_struct->timeout),
9695 semaphore(in_struct->semaphore),
9696 fence(in_struct->fence),
9697 deviceMask(in_struct->deviceMask)
9698{
9699}
9700
9701safe_VkAcquireNextImageInfoKHR::safe_VkAcquireNextImageInfoKHR()
9702{}
9703
9704safe_VkAcquireNextImageInfoKHR::safe_VkAcquireNextImageInfoKHR(const safe_VkAcquireNextImageInfoKHR& src)
9705{
9706 sType = src.sType;
9707 pNext = src.pNext;
9708 swapchain = src.swapchain;
9709 timeout = src.timeout;
9710 semaphore = src.semaphore;
9711 fence = src.fence;
9712 deviceMask = src.deviceMask;
9713}
9714
9715safe_VkAcquireNextImageInfoKHR& safe_VkAcquireNextImageInfoKHR::operator=(const safe_VkAcquireNextImageInfoKHR& src)
9716{
9717 if (&src == this) return *this;
9718
9719
9720 sType = src.sType;
9721 pNext = src.pNext;
9722 swapchain = src.swapchain;
9723 timeout = src.timeout;
9724 semaphore = src.semaphore;
9725 fence = src.fence;
9726 deviceMask = src.deviceMask;
9727
9728 return *this;
9729}
9730
9731safe_VkAcquireNextImageInfoKHR::~safe_VkAcquireNextImageInfoKHR()
9732{
9733}
9734
9735void safe_VkAcquireNextImageInfoKHR::initialize(const VkAcquireNextImageInfoKHR* in_struct)
9736{
9737 sType = in_struct->sType;
9738 pNext = in_struct->pNext;
9739 swapchain = in_struct->swapchain;
9740 timeout = in_struct->timeout;
9741 semaphore = in_struct->semaphore;
9742 fence = in_struct->fence;
9743 deviceMask = in_struct->deviceMask;
9744}
9745
9746void safe_VkAcquireNextImageInfoKHR::initialize(const safe_VkAcquireNextImageInfoKHR* src)
9747{
9748 sType = src->sType;
9749 pNext = src->pNext;
9750 swapchain = src->swapchain;
9751 timeout = src->timeout;
9752 semaphore = src->semaphore;
9753 fence = src->fence;
9754 deviceMask = src->deviceMask;
9755}
9756
9757safe_VkDeviceGroupPresentCapabilitiesKHR::safe_VkDeviceGroupPresentCapabilitiesKHR(const VkDeviceGroupPresentCapabilitiesKHR* in_struct) :
9758 sType(in_struct->sType),
9759 pNext(in_struct->pNext),
9760 modes(in_struct->modes)
9761{
9762 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
9763 presentMask[i] = in_struct->presentMask[i];
9764 }
9765}
9766
9767safe_VkDeviceGroupPresentCapabilitiesKHR::safe_VkDeviceGroupPresentCapabilitiesKHR()
9768{}
9769
9770safe_VkDeviceGroupPresentCapabilitiesKHR::safe_VkDeviceGroupPresentCapabilitiesKHR(const safe_VkDeviceGroupPresentCapabilitiesKHR& src)
9771{
9772 sType = src.sType;
9773 pNext = src.pNext;
9774 modes = src.modes;
9775 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
9776 presentMask[i] = src.presentMask[i];
9777 }
9778}
9779
9780safe_VkDeviceGroupPresentCapabilitiesKHR& safe_VkDeviceGroupPresentCapabilitiesKHR::operator=(const safe_VkDeviceGroupPresentCapabilitiesKHR& src)
9781{
9782 if (&src == this) return *this;
9783
9784
9785 sType = src.sType;
9786 pNext = src.pNext;
9787 modes = src.modes;
9788 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
9789 presentMask[i] = src.presentMask[i];
9790 }
9791
9792 return *this;
9793}
9794
9795safe_VkDeviceGroupPresentCapabilitiesKHR::~safe_VkDeviceGroupPresentCapabilitiesKHR()
9796{
9797}
9798
9799void safe_VkDeviceGroupPresentCapabilitiesKHR::initialize(const VkDeviceGroupPresentCapabilitiesKHR* in_struct)
9800{
9801 sType = in_struct->sType;
9802 pNext = in_struct->pNext;
9803 modes = in_struct->modes;
9804 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
9805 presentMask[i] = in_struct->presentMask[i];
9806 }
9807}
9808
9809void safe_VkDeviceGroupPresentCapabilitiesKHR::initialize(const safe_VkDeviceGroupPresentCapabilitiesKHR* src)
9810{
9811 sType = src->sType;
9812 pNext = src->pNext;
9813 modes = src->modes;
9814 for (uint32_t i=0; i<VK_MAX_DEVICE_GROUP_SIZE; ++i) {
9815 presentMask[i] = src->presentMask[i];
9816 }
9817}
9818
9819safe_VkDeviceGroupPresentInfoKHR::safe_VkDeviceGroupPresentInfoKHR(const VkDeviceGroupPresentInfoKHR* in_struct) :
9820 sType(in_struct->sType),
9821 pNext(in_struct->pNext),
9822 swapchainCount(in_struct->swapchainCount),
9823 pDeviceMasks(nullptr),
9824 mode(in_struct->mode)
9825{
9826 if (in_struct->pDeviceMasks) {
9827 pDeviceMasks = new uint32_t[in_struct->swapchainCount];
9828 memcpy ((void *)pDeviceMasks, (void *)in_struct->pDeviceMasks, sizeof(uint32_t)*in_struct->swapchainCount);
9829 }
9830}
9831
9832safe_VkDeviceGroupPresentInfoKHR::safe_VkDeviceGroupPresentInfoKHR() :
9833 pDeviceMasks(nullptr)
9834{}
9835
9836safe_VkDeviceGroupPresentInfoKHR::safe_VkDeviceGroupPresentInfoKHR(const safe_VkDeviceGroupPresentInfoKHR& src)
9837{
9838 sType = src.sType;
9839 pNext = src.pNext;
9840 swapchainCount = src.swapchainCount;
9841 pDeviceMasks = nullptr;
9842 mode = src.mode;
9843 if (src.pDeviceMasks) {
9844 pDeviceMasks = new uint32_t[src.swapchainCount];
9845 memcpy ((void *)pDeviceMasks, (void *)src.pDeviceMasks, sizeof(uint32_t)*src.swapchainCount);
9846 }
9847}
9848
9849safe_VkDeviceGroupPresentInfoKHR& safe_VkDeviceGroupPresentInfoKHR::operator=(const safe_VkDeviceGroupPresentInfoKHR& src)
9850{
9851 if (&src == this) return *this;
9852
9853 if (pDeviceMasks)
9854 delete[] pDeviceMasks;
9855
9856 sType = src.sType;
9857 pNext = src.pNext;
9858 swapchainCount = src.swapchainCount;
9859 pDeviceMasks = nullptr;
9860 mode = src.mode;
9861 if (src.pDeviceMasks) {
9862 pDeviceMasks = new uint32_t[src.swapchainCount];
9863 memcpy ((void *)pDeviceMasks, (void *)src.pDeviceMasks, sizeof(uint32_t)*src.swapchainCount);
9864 }
9865
9866 return *this;
9867}
9868
9869safe_VkDeviceGroupPresentInfoKHR::~safe_VkDeviceGroupPresentInfoKHR()
9870{
9871 if (pDeviceMasks)
9872 delete[] pDeviceMasks;
9873}
9874
9875void safe_VkDeviceGroupPresentInfoKHR::initialize(const VkDeviceGroupPresentInfoKHR* in_struct)
9876{
9877 sType = in_struct->sType;
9878 pNext = in_struct->pNext;
9879 swapchainCount = in_struct->swapchainCount;
9880 pDeviceMasks = nullptr;
9881 mode = in_struct->mode;
9882 if (in_struct->pDeviceMasks) {
9883 pDeviceMasks = new uint32_t[in_struct->swapchainCount];
9884 memcpy ((void *)pDeviceMasks, (void *)in_struct->pDeviceMasks, sizeof(uint32_t)*in_struct->swapchainCount);
9885 }
9886}
9887
9888void safe_VkDeviceGroupPresentInfoKHR::initialize(const safe_VkDeviceGroupPresentInfoKHR* src)
9889{
9890 sType = src->sType;
9891 pNext = src->pNext;
9892 swapchainCount = src->swapchainCount;
9893 pDeviceMasks = nullptr;
9894 mode = src->mode;
9895 if (src->pDeviceMasks) {
9896 pDeviceMasks = new uint32_t[src->swapchainCount];
9897 memcpy ((void *)pDeviceMasks, (void *)src->pDeviceMasks, sizeof(uint32_t)*src->swapchainCount);
9898 }
9899}
9900
9901safe_VkDeviceGroupSwapchainCreateInfoKHR::safe_VkDeviceGroupSwapchainCreateInfoKHR(const VkDeviceGroupSwapchainCreateInfoKHR* in_struct) :
9902 sType(in_struct->sType),
9903 pNext(in_struct->pNext),
9904 modes(in_struct->modes)
9905{
9906}
9907
9908safe_VkDeviceGroupSwapchainCreateInfoKHR::safe_VkDeviceGroupSwapchainCreateInfoKHR()
9909{}
9910
9911safe_VkDeviceGroupSwapchainCreateInfoKHR::safe_VkDeviceGroupSwapchainCreateInfoKHR(const safe_VkDeviceGroupSwapchainCreateInfoKHR& src)
9912{
9913 sType = src.sType;
9914 pNext = src.pNext;
9915 modes = src.modes;
9916}
9917
9918safe_VkDeviceGroupSwapchainCreateInfoKHR& safe_VkDeviceGroupSwapchainCreateInfoKHR::operator=(const safe_VkDeviceGroupSwapchainCreateInfoKHR& src)
9919{
9920 if (&src == this) return *this;
9921
9922
9923 sType = src.sType;
9924 pNext = src.pNext;
9925 modes = src.modes;
9926
9927 return *this;
9928}
9929
9930safe_VkDeviceGroupSwapchainCreateInfoKHR::~safe_VkDeviceGroupSwapchainCreateInfoKHR()
9931{
9932}
9933
9934void safe_VkDeviceGroupSwapchainCreateInfoKHR::initialize(const VkDeviceGroupSwapchainCreateInfoKHR* in_struct)
9935{
9936 sType = in_struct->sType;
9937 pNext = in_struct->pNext;
9938 modes = in_struct->modes;
9939}
9940
9941void safe_VkDeviceGroupSwapchainCreateInfoKHR::initialize(const safe_VkDeviceGroupSwapchainCreateInfoKHR* src)
9942{
9943 sType = src->sType;
9944 pNext = src->pNext;
9945 modes = src->modes;
9946}
9947
9948safe_VkDisplayPropertiesKHR::safe_VkDisplayPropertiesKHR(const VkDisplayPropertiesKHR* in_struct) :
9949 display(in_struct->display),
9950 displayName(in_struct->displayName),
9951 physicalDimensions(in_struct->physicalDimensions),
9952 physicalResolution(in_struct->physicalResolution),
9953 supportedTransforms(in_struct->supportedTransforms),
9954 planeReorderPossible(in_struct->planeReorderPossible),
9955 persistentContent(in_struct->persistentContent)
9956{
9957}
9958
9959safe_VkDisplayPropertiesKHR::safe_VkDisplayPropertiesKHR()
9960{}
9961
9962safe_VkDisplayPropertiesKHR::safe_VkDisplayPropertiesKHR(const safe_VkDisplayPropertiesKHR& src)
9963{
9964 display = src.display;
9965 displayName = src.displayName;
9966 physicalDimensions = src.physicalDimensions;
9967 physicalResolution = src.physicalResolution;
9968 supportedTransforms = src.supportedTransforms;
9969 planeReorderPossible = src.planeReorderPossible;
9970 persistentContent = src.persistentContent;
9971}
9972
9973safe_VkDisplayPropertiesKHR& safe_VkDisplayPropertiesKHR::operator=(const safe_VkDisplayPropertiesKHR& src)
9974{
9975 if (&src == this) return *this;
9976
9977
9978 display = src.display;
9979 displayName = src.displayName;
9980 physicalDimensions = src.physicalDimensions;
9981 physicalResolution = src.physicalResolution;
9982 supportedTransforms = src.supportedTransforms;
9983 planeReorderPossible = src.planeReorderPossible;
9984 persistentContent = src.persistentContent;
9985
9986 return *this;
9987}
9988
9989safe_VkDisplayPropertiesKHR::~safe_VkDisplayPropertiesKHR()
9990{
9991}
9992
9993void safe_VkDisplayPropertiesKHR::initialize(const VkDisplayPropertiesKHR* in_struct)
9994{
9995 display = in_struct->display;
9996 displayName = in_struct->displayName;
9997 physicalDimensions = in_struct->physicalDimensions;
9998 physicalResolution = in_struct->physicalResolution;
9999 supportedTransforms = in_struct->supportedTransforms;
10000 planeReorderPossible = in_struct->planeReorderPossible;
10001 persistentContent = in_struct->persistentContent;
10002}
10003
10004void safe_VkDisplayPropertiesKHR::initialize(const safe_VkDisplayPropertiesKHR* src)
10005{
10006 display = src->display;
10007 displayName = src->displayName;
10008 physicalDimensions = src->physicalDimensions;
10009 physicalResolution = src->physicalResolution;
10010 supportedTransforms = src->supportedTransforms;
10011 planeReorderPossible = src->planeReorderPossible;
10012 persistentContent = src->persistentContent;
10013}
10014
10015safe_VkDisplayModeCreateInfoKHR::safe_VkDisplayModeCreateInfoKHR(const VkDisplayModeCreateInfoKHR* in_struct) :
10016 sType(in_struct->sType),
10017 pNext(in_struct->pNext),
10018 flags(in_struct->flags),
10019 parameters(in_struct->parameters)
10020{
10021}
10022
10023safe_VkDisplayModeCreateInfoKHR::safe_VkDisplayModeCreateInfoKHR()
10024{}
10025
10026safe_VkDisplayModeCreateInfoKHR::safe_VkDisplayModeCreateInfoKHR(const safe_VkDisplayModeCreateInfoKHR& src)
10027{
10028 sType = src.sType;
10029 pNext = src.pNext;
10030 flags = src.flags;
10031 parameters = src.parameters;
10032}
10033
10034safe_VkDisplayModeCreateInfoKHR& safe_VkDisplayModeCreateInfoKHR::operator=(const safe_VkDisplayModeCreateInfoKHR& src)
10035{
10036 if (&src == this) return *this;
10037
10038
10039 sType = src.sType;
10040 pNext = src.pNext;
10041 flags = src.flags;
10042 parameters = src.parameters;
10043
10044 return *this;
10045}
10046
10047safe_VkDisplayModeCreateInfoKHR::~safe_VkDisplayModeCreateInfoKHR()
10048{
10049}
10050
10051void safe_VkDisplayModeCreateInfoKHR::initialize(const VkDisplayModeCreateInfoKHR* in_struct)
10052{
10053 sType = in_struct->sType;
10054 pNext = in_struct->pNext;
10055 flags = in_struct->flags;
10056 parameters = in_struct->parameters;
10057}
10058
10059void safe_VkDisplayModeCreateInfoKHR::initialize(const safe_VkDisplayModeCreateInfoKHR* src)
10060{
10061 sType = src->sType;
10062 pNext = src->pNext;
10063 flags = src->flags;
10064 parameters = src->parameters;
10065}
10066
10067safe_VkDisplaySurfaceCreateInfoKHR::safe_VkDisplaySurfaceCreateInfoKHR(const VkDisplaySurfaceCreateInfoKHR* in_struct) :
10068 sType(in_struct->sType),
10069 pNext(in_struct->pNext),
10070 flags(in_struct->flags),
10071 displayMode(in_struct->displayMode),
10072 planeIndex(in_struct->planeIndex),
10073 planeStackIndex(in_struct->planeStackIndex),
10074 transform(in_struct->transform),
10075 globalAlpha(in_struct->globalAlpha),
10076 alphaMode(in_struct->alphaMode),
10077 imageExtent(in_struct->imageExtent)
10078{
10079}
10080
10081safe_VkDisplaySurfaceCreateInfoKHR::safe_VkDisplaySurfaceCreateInfoKHR()
10082{}
10083
10084safe_VkDisplaySurfaceCreateInfoKHR::safe_VkDisplaySurfaceCreateInfoKHR(const safe_VkDisplaySurfaceCreateInfoKHR& src)
10085{
10086 sType = src.sType;
10087 pNext = src.pNext;
10088 flags = src.flags;
10089 displayMode = src.displayMode;
10090 planeIndex = src.planeIndex;
10091 planeStackIndex = src.planeStackIndex;
10092 transform = src.transform;
10093 globalAlpha = src.globalAlpha;
10094 alphaMode = src.alphaMode;
10095 imageExtent = src.imageExtent;
10096}
10097
10098safe_VkDisplaySurfaceCreateInfoKHR& safe_VkDisplaySurfaceCreateInfoKHR::operator=(const safe_VkDisplaySurfaceCreateInfoKHR& src)
10099{
10100 if (&src == this) return *this;
10101
10102
10103 sType = src.sType;
10104 pNext = src.pNext;
10105 flags = src.flags;
10106 displayMode = src.displayMode;
10107 planeIndex = src.planeIndex;
10108 planeStackIndex = src.planeStackIndex;
10109 transform = src.transform;
10110 globalAlpha = src.globalAlpha;
10111 alphaMode = src.alphaMode;
10112 imageExtent = src.imageExtent;
10113
10114 return *this;
10115}
10116
10117safe_VkDisplaySurfaceCreateInfoKHR::~safe_VkDisplaySurfaceCreateInfoKHR()
10118{
10119}
10120
10121void safe_VkDisplaySurfaceCreateInfoKHR::initialize(const VkDisplaySurfaceCreateInfoKHR* in_struct)
10122{
10123 sType = in_struct->sType;
10124 pNext = in_struct->pNext;
10125 flags = in_struct->flags;
10126 displayMode = in_struct->displayMode;
10127 planeIndex = in_struct->planeIndex;
10128 planeStackIndex = in_struct->planeStackIndex;
10129 transform = in_struct->transform;
10130 globalAlpha = in_struct->globalAlpha;
10131 alphaMode = in_struct->alphaMode;
10132 imageExtent = in_struct->imageExtent;
10133}
10134
10135void safe_VkDisplaySurfaceCreateInfoKHR::initialize(const safe_VkDisplaySurfaceCreateInfoKHR* src)
10136{
10137 sType = src->sType;
10138 pNext = src->pNext;
10139 flags = src->flags;
10140 displayMode = src->displayMode;
10141 planeIndex = src->planeIndex;
10142 planeStackIndex = src->planeStackIndex;
10143 transform = src->transform;
10144 globalAlpha = src->globalAlpha;
10145 alphaMode = src->alphaMode;
10146 imageExtent = src->imageExtent;
10147}
10148
10149safe_VkDisplayPresentInfoKHR::safe_VkDisplayPresentInfoKHR(const VkDisplayPresentInfoKHR* in_struct) :
10150 sType(in_struct->sType),
10151 pNext(in_struct->pNext),
10152 srcRect(in_struct->srcRect),
10153 dstRect(in_struct->dstRect),
10154 persistent(in_struct->persistent)
10155{
10156}
10157
10158safe_VkDisplayPresentInfoKHR::safe_VkDisplayPresentInfoKHR()
10159{}
10160
10161safe_VkDisplayPresentInfoKHR::safe_VkDisplayPresentInfoKHR(const safe_VkDisplayPresentInfoKHR& src)
10162{
10163 sType = src.sType;
10164 pNext = src.pNext;
10165 srcRect = src.srcRect;
10166 dstRect = src.dstRect;
10167 persistent = src.persistent;
10168}
10169
10170safe_VkDisplayPresentInfoKHR& safe_VkDisplayPresentInfoKHR::operator=(const safe_VkDisplayPresentInfoKHR& src)
10171{
10172 if (&src == this) return *this;
10173
10174
10175 sType = src.sType;
10176 pNext = src.pNext;
10177 srcRect = src.srcRect;
10178 dstRect = src.dstRect;
10179 persistent = src.persistent;
10180
10181 return *this;
10182}
10183
10184safe_VkDisplayPresentInfoKHR::~safe_VkDisplayPresentInfoKHR()
10185{
10186}
10187
10188void safe_VkDisplayPresentInfoKHR::initialize(const VkDisplayPresentInfoKHR* in_struct)
10189{
10190 sType = in_struct->sType;
10191 pNext = in_struct->pNext;
10192 srcRect = in_struct->srcRect;
10193 dstRect = in_struct->dstRect;
10194 persistent = in_struct->persistent;
10195}
10196
10197void safe_VkDisplayPresentInfoKHR::initialize(const safe_VkDisplayPresentInfoKHR* src)
10198{
10199 sType = src->sType;
10200 pNext = src->pNext;
10201 srcRect = src->srcRect;
10202 dstRect = src->dstRect;
10203 persistent = src->persistent;
10204}
10205#ifdef VK_USE_PLATFORM_WIN32_KHR
10206
10207
10208safe_VkImportMemoryWin32HandleInfoKHR::safe_VkImportMemoryWin32HandleInfoKHR(const VkImportMemoryWin32HandleInfoKHR* in_struct) :
10209 sType(in_struct->sType),
10210 pNext(in_struct->pNext),
10211 handleType(in_struct->handleType),
10212 handle(in_struct->handle),
10213 name(in_struct->name)
10214{
10215}
10216
10217safe_VkImportMemoryWin32HandleInfoKHR::safe_VkImportMemoryWin32HandleInfoKHR()
10218{}
10219
10220safe_VkImportMemoryWin32HandleInfoKHR::safe_VkImportMemoryWin32HandleInfoKHR(const safe_VkImportMemoryWin32HandleInfoKHR& src)
10221{
10222 sType = src.sType;
10223 pNext = src.pNext;
10224 handleType = src.handleType;
10225 handle = src.handle;
10226 name = src.name;
10227}
10228
10229safe_VkImportMemoryWin32HandleInfoKHR& safe_VkImportMemoryWin32HandleInfoKHR::operator=(const safe_VkImportMemoryWin32HandleInfoKHR& src)
10230{
10231 if (&src == this) return *this;
10232
10233
10234 sType = src.sType;
10235 pNext = src.pNext;
10236 handleType = src.handleType;
10237 handle = src.handle;
10238 name = src.name;
10239
10240 return *this;
10241}
10242
10243safe_VkImportMemoryWin32HandleInfoKHR::~safe_VkImportMemoryWin32HandleInfoKHR()
10244{
10245}
10246
10247void safe_VkImportMemoryWin32HandleInfoKHR::initialize(const VkImportMemoryWin32HandleInfoKHR* in_struct)
10248{
10249 sType = in_struct->sType;
10250 pNext = in_struct->pNext;
10251 handleType = in_struct->handleType;
10252 handle = in_struct->handle;
10253 name = in_struct->name;
10254}
10255
10256void safe_VkImportMemoryWin32HandleInfoKHR::initialize(const safe_VkImportMemoryWin32HandleInfoKHR* src)
10257{
10258 sType = src->sType;
10259 pNext = src->pNext;
10260 handleType = src->handleType;
10261 handle = src->handle;
10262 name = src->name;
10263}
10264#endif // VK_USE_PLATFORM_WIN32_KHR
10265
10266#ifdef VK_USE_PLATFORM_WIN32_KHR
10267
10268
10269safe_VkExportMemoryWin32HandleInfoKHR::safe_VkExportMemoryWin32HandleInfoKHR(const VkExportMemoryWin32HandleInfoKHR* in_struct) :
10270 sType(in_struct->sType),
10271 pNext(in_struct->pNext),
10272 pAttributes(nullptr),
10273 dwAccess(in_struct->dwAccess),
10274 name(in_struct->name)
10275{
10276 if (in_struct->pAttributes) {
10277 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
10278 }
10279}
10280
10281safe_VkExportMemoryWin32HandleInfoKHR::safe_VkExportMemoryWin32HandleInfoKHR() :
10282 pAttributes(nullptr)
10283{}
10284
10285safe_VkExportMemoryWin32HandleInfoKHR::safe_VkExportMemoryWin32HandleInfoKHR(const safe_VkExportMemoryWin32HandleInfoKHR& src)
10286{
10287 sType = src.sType;
10288 pNext = src.pNext;
10289 pAttributes = nullptr;
10290 dwAccess = src.dwAccess;
10291 name = src.name;
10292 if (src.pAttributes) {
10293 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
10294 }
10295}
10296
10297safe_VkExportMemoryWin32HandleInfoKHR& safe_VkExportMemoryWin32HandleInfoKHR::operator=(const safe_VkExportMemoryWin32HandleInfoKHR& src)
10298{
10299 if (&src == this) return *this;
10300
10301 if (pAttributes)
10302 delete pAttributes;
10303
10304 sType = src.sType;
10305 pNext = src.pNext;
10306 pAttributes = nullptr;
10307 dwAccess = src.dwAccess;
10308 name = src.name;
10309 if (src.pAttributes) {
10310 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
10311 }
10312
10313 return *this;
10314}
10315
10316safe_VkExportMemoryWin32HandleInfoKHR::~safe_VkExportMemoryWin32HandleInfoKHR()
10317{
10318 if (pAttributes)
10319 delete pAttributes;
10320}
10321
10322void safe_VkExportMemoryWin32HandleInfoKHR::initialize(const VkExportMemoryWin32HandleInfoKHR* in_struct)
10323{
10324 sType = in_struct->sType;
10325 pNext = in_struct->pNext;
10326 pAttributes = nullptr;
10327 dwAccess = in_struct->dwAccess;
10328 name = in_struct->name;
10329 if (in_struct->pAttributes) {
10330 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
10331 }
10332}
10333
10334void safe_VkExportMemoryWin32HandleInfoKHR::initialize(const safe_VkExportMemoryWin32HandleInfoKHR* src)
10335{
10336 sType = src->sType;
10337 pNext = src->pNext;
10338 pAttributes = nullptr;
10339 dwAccess = src->dwAccess;
10340 name = src->name;
10341 if (src->pAttributes) {
10342 pAttributes = new SECURITY_ATTRIBUTES(*src->pAttributes);
10343 }
10344}
10345#endif // VK_USE_PLATFORM_WIN32_KHR
10346
10347#ifdef VK_USE_PLATFORM_WIN32_KHR
10348
10349
10350safe_VkMemoryWin32HandlePropertiesKHR::safe_VkMemoryWin32HandlePropertiesKHR(const VkMemoryWin32HandlePropertiesKHR* in_struct) :
10351 sType(in_struct->sType),
10352 pNext(in_struct->pNext),
10353 memoryTypeBits(in_struct->memoryTypeBits)
10354{
10355}
10356
10357safe_VkMemoryWin32HandlePropertiesKHR::safe_VkMemoryWin32HandlePropertiesKHR()
10358{}
10359
10360safe_VkMemoryWin32HandlePropertiesKHR::safe_VkMemoryWin32HandlePropertiesKHR(const safe_VkMemoryWin32HandlePropertiesKHR& src)
10361{
10362 sType = src.sType;
10363 pNext = src.pNext;
10364 memoryTypeBits = src.memoryTypeBits;
10365}
10366
10367safe_VkMemoryWin32HandlePropertiesKHR& safe_VkMemoryWin32HandlePropertiesKHR::operator=(const safe_VkMemoryWin32HandlePropertiesKHR& src)
10368{
10369 if (&src == this) return *this;
10370
10371
10372 sType = src.sType;
10373 pNext = src.pNext;
10374 memoryTypeBits = src.memoryTypeBits;
10375
10376 return *this;
10377}
10378
10379safe_VkMemoryWin32HandlePropertiesKHR::~safe_VkMemoryWin32HandlePropertiesKHR()
10380{
10381}
10382
10383void safe_VkMemoryWin32HandlePropertiesKHR::initialize(const VkMemoryWin32HandlePropertiesKHR* in_struct)
10384{
10385 sType = in_struct->sType;
10386 pNext = in_struct->pNext;
10387 memoryTypeBits = in_struct->memoryTypeBits;
10388}
10389
10390void safe_VkMemoryWin32HandlePropertiesKHR::initialize(const safe_VkMemoryWin32HandlePropertiesKHR* src)
10391{
10392 sType = src->sType;
10393 pNext = src->pNext;
10394 memoryTypeBits = src->memoryTypeBits;
10395}
10396#endif // VK_USE_PLATFORM_WIN32_KHR
10397
10398#ifdef VK_USE_PLATFORM_WIN32_KHR
10399
10400
10401safe_VkMemoryGetWin32HandleInfoKHR::safe_VkMemoryGetWin32HandleInfoKHR(const VkMemoryGetWin32HandleInfoKHR* in_struct) :
10402 sType(in_struct->sType),
10403 pNext(in_struct->pNext),
10404 memory(in_struct->memory),
10405 handleType(in_struct->handleType)
10406{
10407}
10408
10409safe_VkMemoryGetWin32HandleInfoKHR::safe_VkMemoryGetWin32HandleInfoKHR()
10410{}
10411
10412safe_VkMemoryGetWin32HandleInfoKHR::safe_VkMemoryGetWin32HandleInfoKHR(const safe_VkMemoryGetWin32HandleInfoKHR& src)
10413{
10414 sType = src.sType;
10415 pNext = src.pNext;
10416 memory = src.memory;
10417 handleType = src.handleType;
10418}
10419
10420safe_VkMemoryGetWin32HandleInfoKHR& safe_VkMemoryGetWin32HandleInfoKHR::operator=(const safe_VkMemoryGetWin32HandleInfoKHR& src)
10421{
10422 if (&src == this) return *this;
10423
10424
10425 sType = src.sType;
10426 pNext = src.pNext;
10427 memory = src.memory;
10428 handleType = src.handleType;
10429
10430 return *this;
10431}
10432
10433safe_VkMemoryGetWin32HandleInfoKHR::~safe_VkMemoryGetWin32HandleInfoKHR()
10434{
10435}
10436
10437void safe_VkMemoryGetWin32HandleInfoKHR::initialize(const VkMemoryGetWin32HandleInfoKHR* in_struct)
10438{
10439 sType = in_struct->sType;
10440 pNext = in_struct->pNext;
10441 memory = in_struct->memory;
10442 handleType = in_struct->handleType;
10443}
10444
10445void safe_VkMemoryGetWin32HandleInfoKHR::initialize(const safe_VkMemoryGetWin32HandleInfoKHR* src)
10446{
10447 sType = src->sType;
10448 pNext = src->pNext;
10449 memory = src->memory;
10450 handleType = src->handleType;
10451}
10452#endif // VK_USE_PLATFORM_WIN32_KHR
10453
10454
10455safe_VkImportMemoryFdInfoKHR::safe_VkImportMemoryFdInfoKHR(const VkImportMemoryFdInfoKHR* in_struct) :
10456 sType(in_struct->sType),
10457 pNext(in_struct->pNext),
10458 handleType(in_struct->handleType),
10459 fd(in_struct->fd)
10460{
10461}
10462
10463safe_VkImportMemoryFdInfoKHR::safe_VkImportMemoryFdInfoKHR()
10464{}
10465
10466safe_VkImportMemoryFdInfoKHR::safe_VkImportMemoryFdInfoKHR(const safe_VkImportMemoryFdInfoKHR& src)
10467{
10468 sType = src.sType;
10469 pNext = src.pNext;
10470 handleType = src.handleType;
10471 fd = src.fd;
10472}
10473
10474safe_VkImportMemoryFdInfoKHR& safe_VkImportMemoryFdInfoKHR::operator=(const safe_VkImportMemoryFdInfoKHR& src)
10475{
10476 if (&src == this) return *this;
10477
10478
10479 sType = src.sType;
10480 pNext = src.pNext;
10481 handleType = src.handleType;
10482 fd = src.fd;
10483
10484 return *this;
10485}
10486
10487safe_VkImportMemoryFdInfoKHR::~safe_VkImportMemoryFdInfoKHR()
10488{
10489}
10490
10491void safe_VkImportMemoryFdInfoKHR::initialize(const VkImportMemoryFdInfoKHR* in_struct)
10492{
10493 sType = in_struct->sType;
10494 pNext = in_struct->pNext;
10495 handleType = in_struct->handleType;
10496 fd = in_struct->fd;
10497}
10498
10499void safe_VkImportMemoryFdInfoKHR::initialize(const safe_VkImportMemoryFdInfoKHR* src)
10500{
10501 sType = src->sType;
10502 pNext = src->pNext;
10503 handleType = src->handleType;
10504 fd = src->fd;
10505}
10506
10507safe_VkMemoryFdPropertiesKHR::safe_VkMemoryFdPropertiesKHR(const VkMemoryFdPropertiesKHR* in_struct) :
10508 sType(in_struct->sType),
10509 pNext(in_struct->pNext),
10510 memoryTypeBits(in_struct->memoryTypeBits)
10511{
10512}
10513
10514safe_VkMemoryFdPropertiesKHR::safe_VkMemoryFdPropertiesKHR()
10515{}
10516
10517safe_VkMemoryFdPropertiesKHR::safe_VkMemoryFdPropertiesKHR(const safe_VkMemoryFdPropertiesKHR& src)
10518{
10519 sType = src.sType;
10520 pNext = src.pNext;
10521 memoryTypeBits = src.memoryTypeBits;
10522}
10523
10524safe_VkMemoryFdPropertiesKHR& safe_VkMemoryFdPropertiesKHR::operator=(const safe_VkMemoryFdPropertiesKHR& src)
10525{
10526 if (&src == this) return *this;
10527
10528
10529 sType = src.sType;
10530 pNext = src.pNext;
10531 memoryTypeBits = src.memoryTypeBits;
10532
10533 return *this;
10534}
10535
10536safe_VkMemoryFdPropertiesKHR::~safe_VkMemoryFdPropertiesKHR()
10537{
10538}
10539
10540void safe_VkMemoryFdPropertiesKHR::initialize(const VkMemoryFdPropertiesKHR* in_struct)
10541{
10542 sType = in_struct->sType;
10543 pNext = in_struct->pNext;
10544 memoryTypeBits = in_struct->memoryTypeBits;
10545}
10546
10547void safe_VkMemoryFdPropertiesKHR::initialize(const safe_VkMemoryFdPropertiesKHR* src)
10548{
10549 sType = src->sType;
10550 pNext = src->pNext;
10551 memoryTypeBits = src->memoryTypeBits;
10552}
10553
10554safe_VkMemoryGetFdInfoKHR::safe_VkMemoryGetFdInfoKHR(const VkMemoryGetFdInfoKHR* in_struct) :
10555 sType(in_struct->sType),
10556 pNext(in_struct->pNext),
10557 memory(in_struct->memory),
10558 handleType(in_struct->handleType)
10559{
10560}
10561
10562safe_VkMemoryGetFdInfoKHR::safe_VkMemoryGetFdInfoKHR()
10563{}
10564
10565safe_VkMemoryGetFdInfoKHR::safe_VkMemoryGetFdInfoKHR(const safe_VkMemoryGetFdInfoKHR& src)
10566{
10567 sType = src.sType;
10568 pNext = src.pNext;
10569 memory = src.memory;
10570 handleType = src.handleType;
10571}
10572
10573safe_VkMemoryGetFdInfoKHR& safe_VkMemoryGetFdInfoKHR::operator=(const safe_VkMemoryGetFdInfoKHR& src)
10574{
10575 if (&src == this) return *this;
10576
10577
10578 sType = src.sType;
10579 pNext = src.pNext;
10580 memory = src.memory;
10581 handleType = src.handleType;
10582
10583 return *this;
10584}
10585
10586safe_VkMemoryGetFdInfoKHR::~safe_VkMemoryGetFdInfoKHR()
10587{
10588}
10589
10590void safe_VkMemoryGetFdInfoKHR::initialize(const VkMemoryGetFdInfoKHR* in_struct)
10591{
10592 sType = in_struct->sType;
10593 pNext = in_struct->pNext;
10594 memory = in_struct->memory;
10595 handleType = in_struct->handleType;
10596}
10597
10598void safe_VkMemoryGetFdInfoKHR::initialize(const safe_VkMemoryGetFdInfoKHR* src)
10599{
10600 sType = src->sType;
10601 pNext = src->pNext;
10602 memory = src->memory;
10603 handleType = src->handleType;
10604}
10605#ifdef VK_USE_PLATFORM_WIN32_KHR
10606
10607
10608safe_VkWin32KeyedMutexAcquireReleaseInfoKHR::safe_VkWin32KeyedMutexAcquireReleaseInfoKHR(const VkWin32KeyedMutexAcquireReleaseInfoKHR* in_struct) :
10609 sType(in_struct->sType),
10610 pNext(in_struct->pNext),
10611 acquireCount(in_struct->acquireCount),
10612 pAcquireSyncs(nullptr),
10613 pAcquireKeys(nullptr),
10614 pAcquireTimeouts(nullptr),
10615 releaseCount(in_struct->releaseCount),
10616 pReleaseSyncs(nullptr),
10617 pReleaseKeys(nullptr)
10618{
10619 if (acquireCount && in_struct->pAcquireSyncs) {
10620 pAcquireSyncs = new VkDeviceMemory[acquireCount];
10621 for (uint32_t i=0; i<acquireCount; ++i) {
10622 pAcquireSyncs[i] = in_struct->pAcquireSyncs[i];
10623 }
10624 }
10625 if (in_struct->pAcquireKeys) {
10626 pAcquireKeys = new uint64_t[in_struct->acquireCount];
10627 memcpy ((void *)pAcquireKeys, (void *)in_struct->pAcquireKeys, sizeof(uint64_t)*in_struct->acquireCount);
10628 }
10629 if (in_struct->pAcquireTimeouts) {
10630 pAcquireTimeouts = new uint32_t[in_struct->acquireCount];
10631 memcpy ((void *)pAcquireTimeouts, (void *)in_struct->pAcquireTimeouts, sizeof(uint32_t)*in_struct->acquireCount);
10632 }
10633 if (releaseCount && in_struct->pReleaseSyncs) {
10634 pReleaseSyncs = new VkDeviceMemory[releaseCount];
10635 for (uint32_t i=0; i<releaseCount; ++i) {
10636 pReleaseSyncs[i] = in_struct->pReleaseSyncs[i];
10637 }
10638 }
10639 if (in_struct->pReleaseKeys) {
10640 pReleaseKeys = new uint64_t[in_struct->releaseCount];
10641 memcpy ((void *)pReleaseKeys, (void *)in_struct->pReleaseKeys, sizeof(uint64_t)*in_struct->releaseCount);
10642 }
10643}
10644
10645safe_VkWin32KeyedMutexAcquireReleaseInfoKHR::safe_VkWin32KeyedMutexAcquireReleaseInfoKHR() :
10646 pAcquireSyncs(nullptr),
10647 pAcquireKeys(nullptr),
10648 pAcquireTimeouts(nullptr),
10649 pReleaseSyncs(nullptr),
10650 pReleaseKeys(nullptr)
10651{}
10652
10653safe_VkWin32KeyedMutexAcquireReleaseInfoKHR::safe_VkWin32KeyedMutexAcquireReleaseInfoKHR(const safe_VkWin32KeyedMutexAcquireReleaseInfoKHR& src)
10654{
10655 sType = src.sType;
10656 pNext = src.pNext;
10657 acquireCount = src.acquireCount;
10658 pAcquireSyncs = nullptr;
10659 pAcquireKeys = nullptr;
10660 pAcquireTimeouts = nullptr;
10661 releaseCount = src.releaseCount;
10662 pReleaseSyncs = nullptr;
10663 pReleaseKeys = nullptr;
10664 if (acquireCount && src.pAcquireSyncs) {
10665 pAcquireSyncs = new VkDeviceMemory[acquireCount];
10666 for (uint32_t i=0; i<acquireCount; ++i) {
10667 pAcquireSyncs[i] = src.pAcquireSyncs[i];
10668 }
10669 }
10670 if (src.pAcquireKeys) {
10671 pAcquireKeys = new uint64_t[src.acquireCount];
10672 memcpy ((void *)pAcquireKeys, (void *)src.pAcquireKeys, sizeof(uint64_t)*src.acquireCount);
10673 }
10674 if (src.pAcquireTimeouts) {
10675 pAcquireTimeouts = new uint32_t[src.acquireCount];
10676 memcpy ((void *)pAcquireTimeouts, (void *)src.pAcquireTimeouts, sizeof(uint32_t)*src.acquireCount);
10677 }
10678 if (releaseCount && src.pReleaseSyncs) {
10679 pReleaseSyncs = new VkDeviceMemory[releaseCount];
10680 for (uint32_t i=0; i<releaseCount; ++i) {
10681 pReleaseSyncs[i] = src.pReleaseSyncs[i];
10682 }
10683 }
10684 if (src.pReleaseKeys) {
10685 pReleaseKeys = new uint64_t[src.releaseCount];
10686 memcpy ((void *)pReleaseKeys, (void *)src.pReleaseKeys, sizeof(uint64_t)*src.releaseCount);
10687 }
10688}
10689
10690safe_VkWin32KeyedMutexAcquireReleaseInfoKHR& safe_VkWin32KeyedMutexAcquireReleaseInfoKHR::operator=(const safe_VkWin32KeyedMutexAcquireReleaseInfoKHR& src)
10691{
10692 if (&src == this) return *this;
10693
10694 if (pAcquireSyncs)
10695 delete[] pAcquireSyncs;
10696 if (pAcquireKeys)
10697 delete[] pAcquireKeys;
10698 if (pAcquireTimeouts)
10699 delete[] pAcquireTimeouts;
10700 if (pReleaseSyncs)
10701 delete[] pReleaseSyncs;
10702 if (pReleaseKeys)
10703 delete[] pReleaseKeys;
10704
10705 sType = src.sType;
10706 pNext = src.pNext;
10707 acquireCount = src.acquireCount;
10708 pAcquireSyncs = nullptr;
10709 pAcquireKeys = nullptr;
10710 pAcquireTimeouts = nullptr;
10711 releaseCount = src.releaseCount;
10712 pReleaseSyncs = nullptr;
10713 pReleaseKeys = nullptr;
10714 if (acquireCount && src.pAcquireSyncs) {
10715 pAcquireSyncs = new VkDeviceMemory[acquireCount];
10716 for (uint32_t i=0; i<acquireCount; ++i) {
10717 pAcquireSyncs[i] = src.pAcquireSyncs[i];
10718 }
10719 }
10720 if (src.pAcquireKeys) {
10721 pAcquireKeys = new uint64_t[src.acquireCount];
10722 memcpy ((void *)pAcquireKeys, (void *)src.pAcquireKeys, sizeof(uint64_t)*src.acquireCount);
10723 }
10724 if (src.pAcquireTimeouts) {
10725 pAcquireTimeouts = new uint32_t[src.acquireCount];
10726 memcpy ((void *)pAcquireTimeouts, (void *)src.pAcquireTimeouts, sizeof(uint32_t)*src.acquireCount);
10727 }
10728 if (releaseCount && src.pReleaseSyncs) {
10729 pReleaseSyncs = new VkDeviceMemory[releaseCount];
10730 for (uint32_t i=0; i<releaseCount; ++i) {
10731 pReleaseSyncs[i] = src.pReleaseSyncs[i];
10732 }
10733 }
10734 if (src.pReleaseKeys) {
10735 pReleaseKeys = new uint64_t[src.releaseCount];
10736 memcpy ((void *)pReleaseKeys, (void *)src.pReleaseKeys, sizeof(uint64_t)*src.releaseCount);
10737 }
10738
10739 return *this;
10740}
10741
10742safe_VkWin32KeyedMutexAcquireReleaseInfoKHR::~safe_VkWin32KeyedMutexAcquireReleaseInfoKHR()
10743{
10744 if (pAcquireSyncs)
10745 delete[] pAcquireSyncs;
10746 if (pAcquireKeys)
10747 delete[] pAcquireKeys;
10748 if (pAcquireTimeouts)
10749 delete[] pAcquireTimeouts;
10750 if (pReleaseSyncs)
10751 delete[] pReleaseSyncs;
10752 if (pReleaseKeys)
10753 delete[] pReleaseKeys;
10754}
10755
10756void safe_VkWin32KeyedMutexAcquireReleaseInfoKHR::initialize(const VkWin32KeyedMutexAcquireReleaseInfoKHR* in_struct)
10757{
10758 sType = in_struct->sType;
10759 pNext = in_struct->pNext;
10760 acquireCount = in_struct->acquireCount;
10761 pAcquireSyncs = nullptr;
10762 pAcquireKeys = nullptr;
10763 pAcquireTimeouts = nullptr;
10764 releaseCount = in_struct->releaseCount;
10765 pReleaseSyncs = nullptr;
10766 pReleaseKeys = nullptr;
10767 if (acquireCount && in_struct->pAcquireSyncs) {
10768 pAcquireSyncs = new VkDeviceMemory[acquireCount];
10769 for (uint32_t i=0; i<acquireCount; ++i) {
10770 pAcquireSyncs[i] = in_struct->pAcquireSyncs[i];
10771 }
10772 }
10773 if (in_struct->pAcquireKeys) {
10774 pAcquireKeys = new uint64_t[in_struct->acquireCount];
10775 memcpy ((void *)pAcquireKeys, (void *)in_struct->pAcquireKeys, sizeof(uint64_t)*in_struct->acquireCount);
10776 }
10777 if (in_struct->pAcquireTimeouts) {
10778 pAcquireTimeouts = new uint32_t[in_struct->acquireCount];
10779 memcpy ((void *)pAcquireTimeouts, (void *)in_struct->pAcquireTimeouts, sizeof(uint32_t)*in_struct->acquireCount);
10780 }
10781 if (releaseCount && in_struct->pReleaseSyncs) {
10782 pReleaseSyncs = new VkDeviceMemory[releaseCount];
10783 for (uint32_t i=0; i<releaseCount; ++i) {
10784 pReleaseSyncs[i] = in_struct->pReleaseSyncs[i];
10785 }
10786 }
10787 if (in_struct->pReleaseKeys) {
10788 pReleaseKeys = new uint64_t[in_struct->releaseCount];
10789 memcpy ((void *)pReleaseKeys, (void *)in_struct->pReleaseKeys, sizeof(uint64_t)*in_struct->releaseCount);
10790 }
10791}
10792
10793void safe_VkWin32KeyedMutexAcquireReleaseInfoKHR::initialize(const safe_VkWin32KeyedMutexAcquireReleaseInfoKHR* src)
10794{
10795 sType = src->sType;
10796 pNext = src->pNext;
10797 acquireCount = src->acquireCount;
10798 pAcquireSyncs = nullptr;
10799 pAcquireKeys = nullptr;
10800 pAcquireTimeouts = nullptr;
10801 releaseCount = src->releaseCount;
10802 pReleaseSyncs = nullptr;
10803 pReleaseKeys = nullptr;
10804 if (acquireCount && src->pAcquireSyncs) {
10805 pAcquireSyncs = new VkDeviceMemory[acquireCount];
10806 for (uint32_t i=0; i<acquireCount; ++i) {
10807 pAcquireSyncs[i] = src->pAcquireSyncs[i];
10808 }
10809 }
10810 if (src->pAcquireKeys) {
10811 pAcquireKeys = new uint64_t[src->acquireCount];
10812 memcpy ((void *)pAcquireKeys, (void *)src->pAcquireKeys, sizeof(uint64_t)*src->acquireCount);
10813 }
10814 if (src->pAcquireTimeouts) {
10815 pAcquireTimeouts = new uint32_t[src->acquireCount];
10816 memcpy ((void *)pAcquireTimeouts, (void *)src->pAcquireTimeouts, sizeof(uint32_t)*src->acquireCount);
10817 }
10818 if (releaseCount && src->pReleaseSyncs) {
10819 pReleaseSyncs = new VkDeviceMemory[releaseCount];
10820 for (uint32_t i=0; i<releaseCount; ++i) {
10821 pReleaseSyncs[i] = src->pReleaseSyncs[i];
10822 }
10823 }
10824 if (src->pReleaseKeys) {
10825 pReleaseKeys = new uint64_t[src->releaseCount];
10826 memcpy ((void *)pReleaseKeys, (void *)src->pReleaseKeys, sizeof(uint64_t)*src->releaseCount);
10827 }
10828}
10829#endif // VK_USE_PLATFORM_WIN32_KHR
10830
10831#ifdef VK_USE_PLATFORM_WIN32_KHR
10832
10833
10834safe_VkImportSemaphoreWin32HandleInfoKHR::safe_VkImportSemaphoreWin32HandleInfoKHR(const VkImportSemaphoreWin32HandleInfoKHR* in_struct) :
10835 sType(in_struct->sType),
10836 pNext(in_struct->pNext),
10837 semaphore(in_struct->semaphore),
10838 flags(in_struct->flags),
10839 handleType(in_struct->handleType),
10840 handle(in_struct->handle),
10841 name(in_struct->name)
10842{
10843}
10844
10845safe_VkImportSemaphoreWin32HandleInfoKHR::safe_VkImportSemaphoreWin32HandleInfoKHR()
10846{}
10847
10848safe_VkImportSemaphoreWin32HandleInfoKHR::safe_VkImportSemaphoreWin32HandleInfoKHR(const safe_VkImportSemaphoreWin32HandleInfoKHR& src)
10849{
10850 sType = src.sType;
10851 pNext = src.pNext;
10852 semaphore = src.semaphore;
10853 flags = src.flags;
10854 handleType = src.handleType;
10855 handle = src.handle;
10856 name = src.name;
10857}
10858
10859safe_VkImportSemaphoreWin32HandleInfoKHR& safe_VkImportSemaphoreWin32HandleInfoKHR::operator=(const safe_VkImportSemaphoreWin32HandleInfoKHR& src)
10860{
10861 if (&src == this) return *this;
10862
10863
10864 sType = src.sType;
10865 pNext = src.pNext;
10866 semaphore = src.semaphore;
10867 flags = src.flags;
10868 handleType = src.handleType;
10869 handle = src.handle;
10870 name = src.name;
10871
10872 return *this;
10873}
10874
10875safe_VkImportSemaphoreWin32HandleInfoKHR::~safe_VkImportSemaphoreWin32HandleInfoKHR()
10876{
10877}
10878
10879void safe_VkImportSemaphoreWin32HandleInfoKHR::initialize(const VkImportSemaphoreWin32HandleInfoKHR* in_struct)
10880{
10881 sType = in_struct->sType;
10882 pNext = in_struct->pNext;
10883 semaphore = in_struct->semaphore;
10884 flags = in_struct->flags;
10885 handleType = in_struct->handleType;
10886 handle = in_struct->handle;
10887 name = in_struct->name;
10888}
10889
10890void safe_VkImportSemaphoreWin32HandleInfoKHR::initialize(const safe_VkImportSemaphoreWin32HandleInfoKHR* src)
10891{
10892 sType = src->sType;
10893 pNext = src->pNext;
10894 semaphore = src->semaphore;
10895 flags = src->flags;
10896 handleType = src->handleType;
10897 handle = src->handle;
10898 name = src->name;
10899}
10900#endif // VK_USE_PLATFORM_WIN32_KHR
10901
10902#ifdef VK_USE_PLATFORM_WIN32_KHR
10903
10904
10905safe_VkExportSemaphoreWin32HandleInfoKHR::safe_VkExportSemaphoreWin32HandleInfoKHR(const VkExportSemaphoreWin32HandleInfoKHR* in_struct) :
10906 sType(in_struct->sType),
10907 pNext(in_struct->pNext),
10908 pAttributes(nullptr),
10909 dwAccess(in_struct->dwAccess),
10910 name(in_struct->name)
10911{
10912 if (in_struct->pAttributes) {
10913 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
10914 }
10915}
10916
10917safe_VkExportSemaphoreWin32HandleInfoKHR::safe_VkExportSemaphoreWin32HandleInfoKHR() :
10918 pAttributes(nullptr)
10919{}
10920
10921safe_VkExportSemaphoreWin32HandleInfoKHR::safe_VkExportSemaphoreWin32HandleInfoKHR(const safe_VkExportSemaphoreWin32HandleInfoKHR& src)
10922{
10923 sType = src.sType;
10924 pNext = src.pNext;
10925 pAttributes = nullptr;
10926 dwAccess = src.dwAccess;
10927 name = src.name;
10928 if (src.pAttributes) {
10929 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
10930 }
10931}
10932
10933safe_VkExportSemaphoreWin32HandleInfoKHR& safe_VkExportSemaphoreWin32HandleInfoKHR::operator=(const safe_VkExportSemaphoreWin32HandleInfoKHR& src)
10934{
10935 if (&src == this) return *this;
10936
10937 if (pAttributes)
10938 delete pAttributes;
10939
10940 sType = src.sType;
10941 pNext = src.pNext;
10942 pAttributes = nullptr;
10943 dwAccess = src.dwAccess;
10944 name = src.name;
10945 if (src.pAttributes) {
10946 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
10947 }
10948
10949 return *this;
10950}
10951
10952safe_VkExportSemaphoreWin32HandleInfoKHR::~safe_VkExportSemaphoreWin32HandleInfoKHR()
10953{
10954 if (pAttributes)
10955 delete pAttributes;
10956}
10957
10958void safe_VkExportSemaphoreWin32HandleInfoKHR::initialize(const VkExportSemaphoreWin32HandleInfoKHR* in_struct)
10959{
10960 sType = in_struct->sType;
10961 pNext = in_struct->pNext;
10962 pAttributes = nullptr;
10963 dwAccess = in_struct->dwAccess;
10964 name = in_struct->name;
10965 if (in_struct->pAttributes) {
10966 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
10967 }
10968}
10969
10970void safe_VkExportSemaphoreWin32HandleInfoKHR::initialize(const safe_VkExportSemaphoreWin32HandleInfoKHR* src)
10971{
10972 sType = src->sType;
10973 pNext = src->pNext;
10974 pAttributes = nullptr;
10975 dwAccess = src->dwAccess;
10976 name = src->name;
10977 if (src->pAttributes) {
10978 pAttributes = new SECURITY_ATTRIBUTES(*src->pAttributes);
10979 }
10980}
10981#endif // VK_USE_PLATFORM_WIN32_KHR
10982
10983#ifdef VK_USE_PLATFORM_WIN32_KHR
10984
10985
10986safe_VkD3D12FenceSubmitInfoKHR::safe_VkD3D12FenceSubmitInfoKHR(const VkD3D12FenceSubmitInfoKHR* in_struct) :
10987 sType(in_struct->sType),
10988 pNext(in_struct->pNext),
10989 waitSemaphoreValuesCount(in_struct->waitSemaphoreValuesCount),
10990 pWaitSemaphoreValues(nullptr),
10991 signalSemaphoreValuesCount(in_struct->signalSemaphoreValuesCount),
10992 pSignalSemaphoreValues(nullptr)
10993{
10994 if (in_struct->pWaitSemaphoreValues) {
10995 pWaitSemaphoreValues = new uint64_t[in_struct->waitSemaphoreValuesCount];
10996 memcpy ((void *)pWaitSemaphoreValues, (void *)in_struct->pWaitSemaphoreValues, sizeof(uint64_t)*in_struct->waitSemaphoreValuesCount);
10997 }
10998 if (in_struct->pSignalSemaphoreValues) {
10999 pSignalSemaphoreValues = new uint64_t[in_struct->signalSemaphoreValuesCount];
11000 memcpy ((void *)pSignalSemaphoreValues, (void *)in_struct->pSignalSemaphoreValues, sizeof(uint64_t)*in_struct->signalSemaphoreValuesCount);
11001 }
11002}
11003
11004safe_VkD3D12FenceSubmitInfoKHR::safe_VkD3D12FenceSubmitInfoKHR() :
11005 pWaitSemaphoreValues(nullptr),
11006 pSignalSemaphoreValues(nullptr)
11007{}
11008
11009safe_VkD3D12FenceSubmitInfoKHR::safe_VkD3D12FenceSubmitInfoKHR(const safe_VkD3D12FenceSubmitInfoKHR& src)
11010{
11011 sType = src.sType;
11012 pNext = src.pNext;
11013 waitSemaphoreValuesCount = src.waitSemaphoreValuesCount;
11014 pWaitSemaphoreValues = nullptr;
11015 signalSemaphoreValuesCount = src.signalSemaphoreValuesCount;
11016 pSignalSemaphoreValues = nullptr;
11017 if (src.pWaitSemaphoreValues) {
11018 pWaitSemaphoreValues = new uint64_t[src.waitSemaphoreValuesCount];
11019 memcpy ((void *)pWaitSemaphoreValues, (void *)src.pWaitSemaphoreValues, sizeof(uint64_t)*src.waitSemaphoreValuesCount);
11020 }
11021 if (src.pSignalSemaphoreValues) {
11022 pSignalSemaphoreValues = new uint64_t[src.signalSemaphoreValuesCount];
11023 memcpy ((void *)pSignalSemaphoreValues, (void *)src.pSignalSemaphoreValues, sizeof(uint64_t)*src.signalSemaphoreValuesCount);
11024 }
11025}
11026
11027safe_VkD3D12FenceSubmitInfoKHR& safe_VkD3D12FenceSubmitInfoKHR::operator=(const safe_VkD3D12FenceSubmitInfoKHR& src)
11028{
11029 if (&src == this) return *this;
11030
11031 if (pWaitSemaphoreValues)
11032 delete[] pWaitSemaphoreValues;
11033 if (pSignalSemaphoreValues)
11034 delete[] pSignalSemaphoreValues;
11035
11036 sType = src.sType;
11037 pNext = src.pNext;
11038 waitSemaphoreValuesCount = src.waitSemaphoreValuesCount;
11039 pWaitSemaphoreValues = nullptr;
11040 signalSemaphoreValuesCount = src.signalSemaphoreValuesCount;
11041 pSignalSemaphoreValues = nullptr;
11042 if (src.pWaitSemaphoreValues) {
11043 pWaitSemaphoreValues = new uint64_t[src.waitSemaphoreValuesCount];
11044 memcpy ((void *)pWaitSemaphoreValues, (void *)src.pWaitSemaphoreValues, sizeof(uint64_t)*src.waitSemaphoreValuesCount);
11045 }
11046 if (src.pSignalSemaphoreValues) {
11047 pSignalSemaphoreValues = new uint64_t[src.signalSemaphoreValuesCount];
11048 memcpy ((void *)pSignalSemaphoreValues, (void *)src.pSignalSemaphoreValues, sizeof(uint64_t)*src.signalSemaphoreValuesCount);
11049 }
11050
11051 return *this;
11052}
11053
11054safe_VkD3D12FenceSubmitInfoKHR::~safe_VkD3D12FenceSubmitInfoKHR()
11055{
11056 if (pWaitSemaphoreValues)
11057 delete[] pWaitSemaphoreValues;
11058 if (pSignalSemaphoreValues)
11059 delete[] pSignalSemaphoreValues;
11060}
11061
11062void safe_VkD3D12FenceSubmitInfoKHR::initialize(const VkD3D12FenceSubmitInfoKHR* in_struct)
11063{
11064 sType = in_struct->sType;
11065 pNext = in_struct->pNext;
11066 waitSemaphoreValuesCount = in_struct->waitSemaphoreValuesCount;
11067 pWaitSemaphoreValues = nullptr;
11068 signalSemaphoreValuesCount = in_struct->signalSemaphoreValuesCount;
11069 pSignalSemaphoreValues = nullptr;
11070 if (in_struct->pWaitSemaphoreValues) {
11071 pWaitSemaphoreValues = new uint64_t[in_struct->waitSemaphoreValuesCount];
11072 memcpy ((void *)pWaitSemaphoreValues, (void *)in_struct->pWaitSemaphoreValues, sizeof(uint64_t)*in_struct->waitSemaphoreValuesCount);
11073 }
11074 if (in_struct->pSignalSemaphoreValues) {
11075 pSignalSemaphoreValues = new uint64_t[in_struct->signalSemaphoreValuesCount];
11076 memcpy ((void *)pSignalSemaphoreValues, (void *)in_struct->pSignalSemaphoreValues, sizeof(uint64_t)*in_struct->signalSemaphoreValuesCount);
11077 }
11078}
11079
11080void safe_VkD3D12FenceSubmitInfoKHR::initialize(const safe_VkD3D12FenceSubmitInfoKHR* src)
11081{
11082 sType = src->sType;
11083 pNext = src->pNext;
11084 waitSemaphoreValuesCount = src->waitSemaphoreValuesCount;
11085 pWaitSemaphoreValues = nullptr;
11086 signalSemaphoreValuesCount = src->signalSemaphoreValuesCount;
11087 pSignalSemaphoreValues = nullptr;
11088 if (src->pWaitSemaphoreValues) {
11089 pWaitSemaphoreValues = new uint64_t[src->waitSemaphoreValuesCount];
11090 memcpy ((void *)pWaitSemaphoreValues, (void *)src->pWaitSemaphoreValues, sizeof(uint64_t)*src->waitSemaphoreValuesCount);
11091 }
11092 if (src->pSignalSemaphoreValues) {
11093 pSignalSemaphoreValues = new uint64_t[src->signalSemaphoreValuesCount];
11094 memcpy ((void *)pSignalSemaphoreValues, (void *)src->pSignalSemaphoreValues, sizeof(uint64_t)*src->signalSemaphoreValuesCount);
11095 }
11096}
11097#endif // VK_USE_PLATFORM_WIN32_KHR
11098
11099#ifdef VK_USE_PLATFORM_WIN32_KHR
11100
11101
11102safe_VkSemaphoreGetWin32HandleInfoKHR::safe_VkSemaphoreGetWin32HandleInfoKHR(const VkSemaphoreGetWin32HandleInfoKHR* in_struct) :
11103 sType(in_struct->sType),
11104 pNext(in_struct->pNext),
11105 semaphore(in_struct->semaphore),
11106 handleType(in_struct->handleType)
11107{
11108}
11109
11110safe_VkSemaphoreGetWin32HandleInfoKHR::safe_VkSemaphoreGetWin32HandleInfoKHR()
11111{}
11112
11113safe_VkSemaphoreGetWin32HandleInfoKHR::safe_VkSemaphoreGetWin32HandleInfoKHR(const safe_VkSemaphoreGetWin32HandleInfoKHR& src)
11114{
11115 sType = src.sType;
11116 pNext = src.pNext;
11117 semaphore = src.semaphore;
11118 handleType = src.handleType;
11119}
11120
11121safe_VkSemaphoreGetWin32HandleInfoKHR& safe_VkSemaphoreGetWin32HandleInfoKHR::operator=(const safe_VkSemaphoreGetWin32HandleInfoKHR& src)
11122{
11123 if (&src == this) return *this;
11124
11125
11126 sType = src.sType;
11127 pNext = src.pNext;
11128 semaphore = src.semaphore;
11129 handleType = src.handleType;
11130
11131 return *this;
11132}
11133
11134safe_VkSemaphoreGetWin32HandleInfoKHR::~safe_VkSemaphoreGetWin32HandleInfoKHR()
11135{
11136}
11137
11138void safe_VkSemaphoreGetWin32HandleInfoKHR::initialize(const VkSemaphoreGetWin32HandleInfoKHR* in_struct)
11139{
11140 sType = in_struct->sType;
11141 pNext = in_struct->pNext;
11142 semaphore = in_struct->semaphore;
11143 handleType = in_struct->handleType;
11144}
11145
11146void safe_VkSemaphoreGetWin32HandleInfoKHR::initialize(const safe_VkSemaphoreGetWin32HandleInfoKHR* src)
11147{
11148 sType = src->sType;
11149 pNext = src->pNext;
11150 semaphore = src->semaphore;
11151 handleType = src->handleType;
11152}
11153#endif // VK_USE_PLATFORM_WIN32_KHR
11154
11155
11156safe_VkImportSemaphoreFdInfoKHR::safe_VkImportSemaphoreFdInfoKHR(const VkImportSemaphoreFdInfoKHR* in_struct) :
11157 sType(in_struct->sType),
11158 pNext(in_struct->pNext),
11159 semaphore(in_struct->semaphore),
11160 flags(in_struct->flags),
11161 handleType(in_struct->handleType),
11162 fd(in_struct->fd)
11163{
11164}
11165
11166safe_VkImportSemaphoreFdInfoKHR::safe_VkImportSemaphoreFdInfoKHR()
11167{}
11168
11169safe_VkImportSemaphoreFdInfoKHR::safe_VkImportSemaphoreFdInfoKHR(const safe_VkImportSemaphoreFdInfoKHR& src)
11170{
11171 sType = src.sType;
11172 pNext = src.pNext;
11173 semaphore = src.semaphore;
11174 flags = src.flags;
11175 handleType = src.handleType;
11176 fd = src.fd;
11177}
11178
11179safe_VkImportSemaphoreFdInfoKHR& safe_VkImportSemaphoreFdInfoKHR::operator=(const safe_VkImportSemaphoreFdInfoKHR& src)
11180{
11181 if (&src == this) return *this;
11182
11183
11184 sType = src.sType;
11185 pNext = src.pNext;
11186 semaphore = src.semaphore;
11187 flags = src.flags;
11188 handleType = src.handleType;
11189 fd = src.fd;
11190
11191 return *this;
11192}
11193
11194safe_VkImportSemaphoreFdInfoKHR::~safe_VkImportSemaphoreFdInfoKHR()
11195{
11196}
11197
11198void safe_VkImportSemaphoreFdInfoKHR::initialize(const VkImportSemaphoreFdInfoKHR* in_struct)
11199{
11200 sType = in_struct->sType;
11201 pNext = in_struct->pNext;
11202 semaphore = in_struct->semaphore;
11203 flags = in_struct->flags;
11204 handleType = in_struct->handleType;
11205 fd = in_struct->fd;
11206}
11207
11208void safe_VkImportSemaphoreFdInfoKHR::initialize(const safe_VkImportSemaphoreFdInfoKHR* src)
11209{
11210 sType = src->sType;
11211 pNext = src->pNext;
11212 semaphore = src->semaphore;
11213 flags = src->flags;
11214 handleType = src->handleType;
11215 fd = src->fd;
11216}
11217
11218safe_VkSemaphoreGetFdInfoKHR::safe_VkSemaphoreGetFdInfoKHR(const VkSemaphoreGetFdInfoKHR* in_struct) :
11219 sType(in_struct->sType),
11220 pNext(in_struct->pNext),
11221 semaphore(in_struct->semaphore),
11222 handleType(in_struct->handleType)
11223{
11224}
11225
11226safe_VkSemaphoreGetFdInfoKHR::safe_VkSemaphoreGetFdInfoKHR()
11227{}
11228
11229safe_VkSemaphoreGetFdInfoKHR::safe_VkSemaphoreGetFdInfoKHR(const safe_VkSemaphoreGetFdInfoKHR& src)
11230{
11231 sType = src.sType;
11232 pNext = src.pNext;
11233 semaphore = src.semaphore;
11234 handleType = src.handleType;
11235}
11236
11237safe_VkSemaphoreGetFdInfoKHR& safe_VkSemaphoreGetFdInfoKHR::operator=(const safe_VkSemaphoreGetFdInfoKHR& src)
11238{
11239 if (&src == this) return *this;
11240
11241
11242 sType = src.sType;
11243 pNext = src.pNext;
11244 semaphore = src.semaphore;
11245 handleType = src.handleType;
11246
11247 return *this;
11248}
11249
11250safe_VkSemaphoreGetFdInfoKHR::~safe_VkSemaphoreGetFdInfoKHR()
11251{
11252}
11253
11254void safe_VkSemaphoreGetFdInfoKHR::initialize(const VkSemaphoreGetFdInfoKHR* in_struct)
11255{
11256 sType = in_struct->sType;
11257 pNext = in_struct->pNext;
11258 semaphore = in_struct->semaphore;
11259 handleType = in_struct->handleType;
11260}
11261
11262void safe_VkSemaphoreGetFdInfoKHR::initialize(const safe_VkSemaphoreGetFdInfoKHR* src)
11263{
11264 sType = src->sType;
11265 pNext = src->pNext;
11266 semaphore = src->semaphore;
11267 handleType = src->handleType;
11268}
11269
11270safe_VkPhysicalDevicePushDescriptorPropertiesKHR::safe_VkPhysicalDevicePushDescriptorPropertiesKHR(const VkPhysicalDevicePushDescriptorPropertiesKHR* in_struct) :
11271 sType(in_struct->sType),
11272 pNext(in_struct->pNext),
11273 maxPushDescriptors(in_struct->maxPushDescriptors)
11274{
11275}
11276
11277safe_VkPhysicalDevicePushDescriptorPropertiesKHR::safe_VkPhysicalDevicePushDescriptorPropertiesKHR()
11278{}
11279
11280safe_VkPhysicalDevicePushDescriptorPropertiesKHR::safe_VkPhysicalDevicePushDescriptorPropertiesKHR(const safe_VkPhysicalDevicePushDescriptorPropertiesKHR& src)
11281{
11282 sType = src.sType;
11283 pNext = src.pNext;
11284 maxPushDescriptors = src.maxPushDescriptors;
11285}
11286
11287safe_VkPhysicalDevicePushDescriptorPropertiesKHR& safe_VkPhysicalDevicePushDescriptorPropertiesKHR::operator=(const safe_VkPhysicalDevicePushDescriptorPropertiesKHR& src)
11288{
11289 if (&src == this) return *this;
11290
11291
11292 sType = src.sType;
11293 pNext = src.pNext;
11294 maxPushDescriptors = src.maxPushDescriptors;
11295
11296 return *this;
11297}
11298
11299safe_VkPhysicalDevicePushDescriptorPropertiesKHR::~safe_VkPhysicalDevicePushDescriptorPropertiesKHR()
11300{
11301}
11302
11303void safe_VkPhysicalDevicePushDescriptorPropertiesKHR::initialize(const VkPhysicalDevicePushDescriptorPropertiesKHR* in_struct)
11304{
11305 sType = in_struct->sType;
11306 pNext = in_struct->pNext;
11307 maxPushDescriptors = in_struct->maxPushDescriptors;
11308}
11309
11310void safe_VkPhysicalDevicePushDescriptorPropertiesKHR::initialize(const safe_VkPhysicalDevicePushDescriptorPropertiesKHR* src)
11311{
11312 sType = src->sType;
11313 pNext = src->pNext;
11314 maxPushDescriptors = src->maxPushDescriptors;
11315}
11316
11317safe_VkPhysicalDeviceFloat16Int8FeaturesKHR::safe_VkPhysicalDeviceFloat16Int8FeaturesKHR(const VkPhysicalDeviceFloat16Int8FeaturesKHR* in_struct) :
11318 sType(in_struct->sType),
11319 pNext(in_struct->pNext),
11320 shaderFloat16(in_struct->shaderFloat16),
11321 shaderInt8(in_struct->shaderInt8)
11322{
11323}
11324
11325safe_VkPhysicalDeviceFloat16Int8FeaturesKHR::safe_VkPhysicalDeviceFloat16Int8FeaturesKHR()
11326{}
11327
11328safe_VkPhysicalDeviceFloat16Int8FeaturesKHR::safe_VkPhysicalDeviceFloat16Int8FeaturesKHR(const safe_VkPhysicalDeviceFloat16Int8FeaturesKHR& src)
11329{
11330 sType = src.sType;
11331 pNext = src.pNext;
11332 shaderFloat16 = src.shaderFloat16;
11333 shaderInt8 = src.shaderInt8;
11334}
11335
11336safe_VkPhysicalDeviceFloat16Int8FeaturesKHR& safe_VkPhysicalDeviceFloat16Int8FeaturesKHR::operator=(const safe_VkPhysicalDeviceFloat16Int8FeaturesKHR& src)
11337{
11338 if (&src == this) return *this;
11339
11340
11341 sType = src.sType;
11342 pNext = src.pNext;
11343 shaderFloat16 = src.shaderFloat16;
11344 shaderInt8 = src.shaderInt8;
11345
11346 return *this;
11347}
11348
11349safe_VkPhysicalDeviceFloat16Int8FeaturesKHR::~safe_VkPhysicalDeviceFloat16Int8FeaturesKHR()
11350{
11351}
11352
11353void safe_VkPhysicalDeviceFloat16Int8FeaturesKHR::initialize(const VkPhysicalDeviceFloat16Int8FeaturesKHR* in_struct)
11354{
11355 sType = in_struct->sType;
11356 pNext = in_struct->pNext;
11357 shaderFloat16 = in_struct->shaderFloat16;
11358 shaderInt8 = in_struct->shaderInt8;
11359}
11360
11361void safe_VkPhysicalDeviceFloat16Int8FeaturesKHR::initialize(const safe_VkPhysicalDeviceFloat16Int8FeaturesKHR* src)
11362{
11363 sType = src->sType;
11364 pNext = src->pNext;
11365 shaderFloat16 = src->shaderFloat16;
11366 shaderInt8 = src->shaderInt8;
11367}
11368
11369safe_VkPresentRegionKHR::safe_VkPresentRegionKHR(const VkPresentRegionKHR* in_struct) :
11370 rectangleCount(in_struct->rectangleCount),
11371 pRectangles(nullptr)
11372{
11373 if (in_struct->pRectangles) {
11374 pRectangles = new VkRectLayerKHR[in_struct->rectangleCount];
11375 memcpy ((void *)pRectangles, (void *)in_struct->pRectangles, sizeof(VkRectLayerKHR)*in_struct->rectangleCount);
11376 }
11377}
11378
11379safe_VkPresentRegionKHR::safe_VkPresentRegionKHR() :
11380 pRectangles(nullptr)
11381{}
11382
11383safe_VkPresentRegionKHR::safe_VkPresentRegionKHR(const safe_VkPresentRegionKHR& src)
11384{
11385 rectangleCount = src.rectangleCount;
11386 pRectangles = nullptr;
11387 if (src.pRectangles) {
11388 pRectangles = new VkRectLayerKHR[src.rectangleCount];
11389 memcpy ((void *)pRectangles, (void *)src.pRectangles, sizeof(VkRectLayerKHR)*src.rectangleCount);
11390 }
11391}
11392
11393safe_VkPresentRegionKHR& safe_VkPresentRegionKHR::operator=(const safe_VkPresentRegionKHR& src)
11394{
11395 if (&src == this) return *this;
11396
11397 if (pRectangles)
11398 delete[] pRectangles;
11399
11400 rectangleCount = src.rectangleCount;
11401 pRectangles = nullptr;
11402 if (src.pRectangles) {
11403 pRectangles = new VkRectLayerKHR[src.rectangleCount];
11404 memcpy ((void *)pRectangles, (void *)src.pRectangles, sizeof(VkRectLayerKHR)*src.rectangleCount);
11405 }
11406
11407 return *this;
11408}
11409
11410safe_VkPresentRegionKHR::~safe_VkPresentRegionKHR()
11411{
11412 if (pRectangles)
11413 delete[] pRectangles;
11414}
11415
11416void safe_VkPresentRegionKHR::initialize(const VkPresentRegionKHR* in_struct)
11417{
11418 rectangleCount = in_struct->rectangleCount;
11419 pRectangles = nullptr;
11420 if (in_struct->pRectangles) {
11421 pRectangles = new VkRectLayerKHR[in_struct->rectangleCount];
11422 memcpy ((void *)pRectangles, (void *)in_struct->pRectangles, sizeof(VkRectLayerKHR)*in_struct->rectangleCount);
11423 }
11424}
11425
11426void safe_VkPresentRegionKHR::initialize(const safe_VkPresentRegionKHR* src)
11427{
11428 rectangleCount = src->rectangleCount;
11429 pRectangles = nullptr;
11430 if (src->pRectangles) {
11431 pRectangles = new VkRectLayerKHR[src->rectangleCount];
11432 memcpy ((void *)pRectangles, (void *)src->pRectangles, sizeof(VkRectLayerKHR)*src->rectangleCount);
11433 }
11434}
11435
11436safe_VkPresentRegionsKHR::safe_VkPresentRegionsKHR(const VkPresentRegionsKHR* in_struct) :
11437 sType(in_struct->sType),
11438 pNext(in_struct->pNext),
11439 swapchainCount(in_struct->swapchainCount),
11440 pRegions(nullptr)
11441{
11442 if (swapchainCount && in_struct->pRegions) {
11443 pRegions = new safe_VkPresentRegionKHR[swapchainCount];
11444 for (uint32_t i=0; i<swapchainCount; ++i) {
11445 pRegions[i].initialize(&in_struct->pRegions[i]);
11446 }
11447 }
11448}
11449
11450safe_VkPresentRegionsKHR::safe_VkPresentRegionsKHR() :
11451 pRegions(nullptr)
11452{}
11453
11454safe_VkPresentRegionsKHR::safe_VkPresentRegionsKHR(const safe_VkPresentRegionsKHR& src)
11455{
11456 sType = src.sType;
11457 pNext = src.pNext;
11458 swapchainCount = src.swapchainCount;
11459 pRegions = nullptr;
11460 if (swapchainCount && src.pRegions) {
11461 pRegions = new safe_VkPresentRegionKHR[swapchainCount];
11462 for (uint32_t i=0; i<swapchainCount; ++i) {
11463 pRegions[i].initialize(&src.pRegions[i]);
11464 }
11465 }
11466}
11467
11468safe_VkPresentRegionsKHR& safe_VkPresentRegionsKHR::operator=(const safe_VkPresentRegionsKHR& src)
11469{
11470 if (&src == this) return *this;
11471
11472 if (pRegions)
11473 delete[] pRegions;
11474
11475 sType = src.sType;
11476 pNext = src.pNext;
11477 swapchainCount = src.swapchainCount;
11478 pRegions = nullptr;
11479 if (swapchainCount && src.pRegions) {
11480 pRegions = new safe_VkPresentRegionKHR[swapchainCount];
11481 for (uint32_t i=0; i<swapchainCount; ++i) {
11482 pRegions[i].initialize(&src.pRegions[i]);
11483 }
11484 }
11485
11486 return *this;
11487}
11488
11489safe_VkPresentRegionsKHR::~safe_VkPresentRegionsKHR()
11490{
11491 if (pRegions)
11492 delete[] pRegions;
11493}
11494
11495void safe_VkPresentRegionsKHR::initialize(const VkPresentRegionsKHR* in_struct)
11496{
11497 sType = in_struct->sType;
11498 pNext = in_struct->pNext;
11499 swapchainCount = in_struct->swapchainCount;
11500 pRegions = nullptr;
11501 if (swapchainCount && in_struct->pRegions) {
11502 pRegions = new safe_VkPresentRegionKHR[swapchainCount];
11503 for (uint32_t i=0; i<swapchainCount; ++i) {
11504 pRegions[i].initialize(&in_struct->pRegions[i]);
11505 }
11506 }
11507}
11508
11509void safe_VkPresentRegionsKHR::initialize(const safe_VkPresentRegionsKHR* src)
11510{
11511 sType = src->sType;
11512 pNext = src->pNext;
11513 swapchainCount = src->swapchainCount;
11514 pRegions = nullptr;
11515 if (swapchainCount && src->pRegions) {
11516 pRegions = new safe_VkPresentRegionKHR[swapchainCount];
11517 for (uint32_t i=0; i<swapchainCount; ++i) {
11518 pRegions[i].initialize(&src->pRegions[i]);
11519 }
11520 }
11521}
11522
Shannon McPherson0e65e192019-07-17 16:52:21 -060011523safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR::safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR(const VkPhysicalDeviceImagelessFramebufferFeaturesKHR* in_struct) :
11524 sType(in_struct->sType),
11525 pNext(in_struct->pNext),
11526 imagelessFramebuffer(in_struct->imagelessFramebuffer)
11527{
11528}
11529
11530safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR::safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR()
11531{}
11532
11533safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR::safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR(const safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR& src)
11534{
11535 sType = src.sType;
11536 pNext = src.pNext;
11537 imagelessFramebuffer = src.imagelessFramebuffer;
11538}
11539
11540safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR& safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR::operator=(const safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR& src)
11541{
11542 if (&src == this) return *this;
11543
11544
11545 sType = src.sType;
11546 pNext = src.pNext;
11547 imagelessFramebuffer = src.imagelessFramebuffer;
11548
11549 return *this;
11550}
11551
11552safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR::~safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR()
11553{
11554}
11555
11556void safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR::initialize(const VkPhysicalDeviceImagelessFramebufferFeaturesKHR* in_struct)
11557{
11558 sType = in_struct->sType;
11559 pNext = in_struct->pNext;
11560 imagelessFramebuffer = in_struct->imagelessFramebuffer;
11561}
11562
11563void safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR::initialize(const safe_VkPhysicalDeviceImagelessFramebufferFeaturesKHR* src)
11564{
11565 sType = src->sType;
11566 pNext = src->pNext;
11567 imagelessFramebuffer = src->imagelessFramebuffer;
11568}
11569
11570safe_VkFramebufferAttachmentImageInfoKHR::safe_VkFramebufferAttachmentImageInfoKHR(const VkFramebufferAttachmentImageInfoKHR* in_struct) :
11571 sType(in_struct->sType),
11572 pNext(in_struct->pNext),
11573 flags(in_struct->flags),
11574 usage(in_struct->usage),
11575 width(in_struct->width),
11576 height(in_struct->height),
11577 layerCount(in_struct->layerCount),
11578 viewFormatCount(in_struct->viewFormatCount),
11579 pViewFormats(nullptr)
11580{
11581 if (in_struct->pViewFormats) {
11582 pViewFormats = new VkFormat[in_struct->viewFormatCount];
11583 memcpy ((void *)pViewFormats, (void *)in_struct->pViewFormats, sizeof(VkFormat)*in_struct->viewFormatCount);
11584 }
11585}
11586
11587safe_VkFramebufferAttachmentImageInfoKHR::safe_VkFramebufferAttachmentImageInfoKHR() :
11588 pViewFormats(nullptr)
11589{}
11590
11591safe_VkFramebufferAttachmentImageInfoKHR::safe_VkFramebufferAttachmentImageInfoKHR(const safe_VkFramebufferAttachmentImageInfoKHR& src)
11592{
11593 sType = src.sType;
11594 pNext = src.pNext;
11595 flags = src.flags;
11596 usage = src.usage;
11597 width = src.width;
11598 height = src.height;
11599 layerCount = src.layerCount;
11600 viewFormatCount = src.viewFormatCount;
11601 pViewFormats = nullptr;
11602 if (src.pViewFormats) {
11603 pViewFormats = new VkFormat[src.viewFormatCount];
11604 memcpy ((void *)pViewFormats, (void *)src.pViewFormats, sizeof(VkFormat)*src.viewFormatCount);
11605 }
11606}
11607
11608safe_VkFramebufferAttachmentImageInfoKHR& safe_VkFramebufferAttachmentImageInfoKHR::operator=(const safe_VkFramebufferAttachmentImageInfoKHR& src)
11609{
11610 if (&src == this) return *this;
11611
11612 if (pViewFormats)
11613 delete[] pViewFormats;
11614
11615 sType = src.sType;
11616 pNext = src.pNext;
11617 flags = src.flags;
11618 usage = src.usage;
11619 width = src.width;
11620 height = src.height;
11621 layerCount = src.layerCount;
11622 viewFormatCount = src.viewFormatCount;
11623 pViewFormats = nullptr;
11624 if (src.pViewFormats) {
11625 pViewFormats = new VkFormat[src.viewFormatCount];
11626 memcpy ((void *)pViewFormats, (void *)src.pViewFormats, sizeof(VkFormat)*src.viewFormatCount);
11627 }
11628
11629 return *this;
11630}
11631
11632safe_VkFramebufferAttachmentImageInfoKHR::~safe_VkFramebufferAttachmentImageInfoKHR()
11633{
11634 if (pViewFormats)
11635 delete[] pViewFormats;
11636}
11637
11638void safe_VkFramebufferAttachmentImageInfoKHR::initialize(const VkFramebufferAttachmentImageInfoKHR* in_struct)
11639{
11640 sType = in_struct->sType;
11641 pNext = in_struct->pNext;
11642 flags = in_struct->flags;
11643 usage = in_struct->usage;
11644 width = in_struct->width;
11645 height = in_struct->height;
11646 layerCount = in_struct->layerCount;
11647 viewFormatCount = in_struct->viewFormatCount;
11648 pViewFormats = nullptr;
11649 if (in_struct->pViewFormats) {
11650 pViewFormats = new VkFormat[in_struct->viewFormatCount];
11651 memcpy ((void *)pViewFormats, (void *)in_struct->pViewFormats, sizeof(VkFormat)*in_struct->viewFormatCount);
11652 }
11653}
11654
11655void safe_VkFramebufferAttachmentImageInfoKHR::initialize(const safe_VkFramebufferAttachmentImageInfoKHR* src)
11656{
11657 sType = src->sType;
11658 pNext = src->pNext;
11659 flags = src->flags;
11660 usage = src->usage;
11661 width = src->width;
11662 height = src->height;
11663 layerCount = src->layerCount;
11664 viewFormatCount = src->viewFormatCount;
11665 pViewFormats = nullptr;
11666 if (src->pViewFormats) {
11667 pViewFormats = new VkFormat[src->viewFormatCount];
11668 memcpy ((void *)pViewFormats, (void *)src->pViewFormats, sizeof(VkFormat)*src->viewFormatCount);
11669 }
11670}
11671
11672safe_VkFramebufferAttachmentsCreateInfoKHR::safe_VkFramebufferAttachmentsCreateInfoKHR(const VkFramebufferAttachmentsCreateInfoKHR* in_struct) :
11673 sType(in_struct->sType),
11674 pNext(in_struct->pNext),
11675 attachmentImageInfoCount(in_struct->attachmentImageInfoCount),
11676 pAttachmentImageInfos(nullptr)
11677{
11678 if (attachmentImageInfoCount && in_struct->pAttachmentImageInfos) {
11679 pAttachmentImageInfos = new safe_VkFramebufferAttachmentImageInfoKHR[attachmentImageInfoCount];
11680 for (uint32_t i=0; i<attachmentImageInfoCount; ++i) {
11681 pAttachmentImageInfos[i].initialize(&in_struct->pAttachmentImageInfos[i]);
11682 }
11683 }
11684}
11685
11686safe_VkFramebufferAttachmentsCreateInfoKHR::safe_VkFramebufferAttachmentsCreateInfoKHR() :
11687 pAttachmentImageInfos(nullptr)
11688{}
11689
11690safe_VkFramebufferAttachmentsCreateInfoKHR::safe_VkFramebufferAttachmentsCreateInfoKHR(const safe_VkFramebufferAttachmentsCreateInfoKHR& src)
11691{
11692 sType = src.sType;
11693 pNext = src.pNext;
11694 attachmentImageInfoCount = src.attachmentImageInfoCount;
11695 pAttachmentImageInfos = nullptr;
11696 if (attachmentImageInfoCount && src.pAttachmentImageInfos) {
11697 pAttachmentImageInfos = new safe_VkFramebufferAttachmentImageInfoKHR[attachmentImageInfoCount];
11698 for (uint32_t i=0; i<attachmentImageInfoCount; ++i) {
11699 pAttachmentImageInfos[i].initialize(&src.pAttachmentImageInfos[i]);
11700 }
11701 }
11702}
11703
11704safe_VkFramebufferAttachmentsCreateInfoKHR& safe_VkFramebufferAttachmentsCreateInfoKHR::operator=(const safe_VkFramebufferAttachmentsCreateInfoKHR& src)
11705{
11706 if (&src == this) return *this;
11707
11708 if (pAttachmentImageInfos)
11709 delete[] pAttachmentImageInfos;
11710
11711 sType = src.sType;
11712 pNext = src.pNext;
11713 attachmentImageInfoCount = src.attachmentImageInfoCount;
11714 pAttachmentImageInfos = nullptr;
11715 if (attachmentImageInfoCount && src.pAttachmentImageInfos) {
11716 pAttachmentImageInfos = new safe_VkFramebufferAttachmentImageInfoKHR[attachmentImageInfoCount];
11717 for (uint32_t i=0; i<attachmentImageInfoCount; ++i) {
11718 pAttachmentImageInfos[i].initialize(&src.pAttachmentImageInfos[i]);
11719 }
11720 }
11721
11722 return *this;
11723}
11724
11725safe_VkFramebufferAttachmentsCreateInfoKHR::~safe_VkFramebufferAttachmentsCreateInfoKHR()
11726{
11727 if (pAttachmentImageInfos)
11728 delete[] pAttachmentImageInfos;
11729}
11730
11731void safe_VkFramebufferAttachmentsCreateInfoKHR::initialize(const VkFramebufferAttachmentsCreateInfoKHR* in_struct)
11732{
11733 sType = in_struct->sType;
11734 pNext = in_struct->pNext;
11735 attachmentImageInfoCount = in_struct->attachmentImageInfoCount;
11736 pAttachmentImageInfos = nullptr;
11737 if (attachmentImageInfoCount && in_struct->pAttachmentImageInfos) {
11738 pAttachmentImageInfos = new safe_VkFramebufferAttachmentImageInfoKHR[attachmentImageInfoCount];
11739 for (uint32_t i=0; i<attachmentImageInfoCount; ++i) {
11740 pAttachmentImageInfos[i].initialize(&in_struct->pAttachmentImageInfos[i]);
11741 }
11742 }
11743}
11744
11745void safe_VkFramebufferAttachmentsCreateInfoKHR::initialize(const safe_VkFramebufferAttachmentsCreateInfoKHR* src)
11746{
11747 sType = src->sType;
11748 pNext = src->pNext;
11749 attachmentImageInfoCount = src->attachmentImageInfoCount;
11750 pAttachmentImageInfos = nullptr;
11751 if (attachmentImageInfoCount && src->pAttachmentImageInfos) {
11752 pAttachmentImageInfos = new safe_VkFramebufferAttachmentImageInfoKHR[attachmentImageInfoCount];
11753 for (uint32_t i=0; i<attachmentImageInfoCount; ++i) {
11754 pAttachmentImageInfos[i].initialize(&src->pAttachmentImageInfos[i]);
11755 }
11756 }
11757}
11758
11759safe_VkRenderPassAttachmentBeginInfoKHR::safe_VkRenderPassAttachmentBeginInfoKHR(const VkRenderPassAttachmentBeginInfoKHR* in_struct) :
11760 sType(in_struct->sType),
11761 pNext(in_struct->pNext),
11762 attachmentCount(in_struct->attachmentCount),
11763 pAttachments(nullptr)
11764{
11765 if (attachmentCount && in_struct->pAttachments) {
11766 pAttachments = new VkImageView[attachmentCount];
11767 for (uint32_t i=0; i<attachmentCount; ++i) {
11768 pAttachments[i] = in_struct->pAttachments[i];
11769 }
11770 }
11771}
11772
11773safe_VkRenderPassAttachmentBeginInfoKHR::safe_VkRenderPassAttachmentBeginInfoKHR() :
11774 pAttachments(nullptr)
11775{}
11776
11777safe_VkRenderPassAttachmentBeginInfoKHR::safe_VkRenderPassAttachmentBeginInfoKHR(const safe_VkRenderPassAttachmentBeginInfoKHR& src)
11778{
11779 sType = src.sType;
11780 pNext = src.pNext;
11781 attachmentCount = src.attachmentCount;
11782 pAttachments = nullptr;
11783 if (attachmentCount && src.pAttachments) {
11784 pAttachments = new VkImageView[attachmentCount];
11785 for (uint32_t i=0; i<attachmentCount; ++i) {
11786 pAttachments[i] = src.pAttachments[i];
11787 }
11788 }
11789}
11790
11791safe_VkRenderPassAttachmentBeginInfoKHR& safe_VkRenderPassAttachmentBeginInfoKHR::operator=(const safe_VkRenderPassAttachmentBeginInfoKHR& src)
11792{
11793 if (&src == this) return *this;
11794
11795 if (pAttachments)
11796 delete[] pAttachments;
11797
11798 sType = src.sType;
11799 pNext = src.pNext;
11800 attachmentCount = src.attachmentCount;
11801 pAttachments = nullptr;
11802 if (attachmentCount && src.pAttachments) {
11803 pAttachments = new VkImageView[attachmentCount];
11804 for (uint32_t i=0; i<attachmentCount; ++i) {
11805 pAttachments[i] = src.pAttachments[i];
11806 }
11807 }
11808
11809 return *this;
11810}
11811
11812safe_VkRenderPassAttachmentBeginInfoKHR::~safe_VkRenderPassAttachmentBeginInfoKHR()
11813{
11814 if (pAttachments)
11815 delete[] pAttachments;
11816}
11817
11818void safe_VkRenderPassAttachmentBeginInfoKHR::initialize(const VkRenderPassAttachmentBeginInfoKHR* in_struct)
11819{
11820 sType = in_struct->sType;
11821 pNext = in_struct->pNext;
11822 attachmentCount = in_struct->attachmentCount;
11823 pAttachments = nullptr;
11824 if (attachmentCount && in_struct->pAttachments) {
11825 pAttachments = new VkImageView[attachmentCount];
11826 for (uint32_t i=0; i<attachmentCount; ++i) {
11827 pAttachments[i] = in_struct->pAttachments[i];
11828 }
11829 }
11830}
11831
11832void safe_VkRenderPassAttachmentBeginInfoKHR::initialize(const safe_VkRenderPassAttachmentBeginInfoKHR* src)
11833{
11834 sType = src->sType;
11835 pNext = src->pNext;
11836 attachmentCount = src->attachmentCount;
11837 pAttachments = nullptr;
11838 if (attachmentCount && src->pAttachments) {
11839 pAttachments = new VkImageView[attachmentCount];
11840 for (uint32_t i=0; i<attachmentCount; ++i) {
11841 pAttachments[i] = src->pAttachments[i];
11842 }
11843 }
11844}
11845
Mike Schuchardt440d4642019-06-20 17:14:57 -070011846safe_VkAttachmentDescription2KHR::safe_VkAttachmentDescription2KHR(const VkAttachmentDescription2KHR* in_struct) :
11847 sType(in_struct->sType),
11848 pNext(in_struct->pNext),
11849 flags(in_struct->flags),
11850 format(in_struct->format),
11851 samples(in_struct->samples),
11852 loadOp(in_struct->loadOp),
11853 storeOp(in_struct->storeOp),
11854 stencilLoadOp(in_struct->stencilLoadOp),
11855 stencilStoreOp(in_struct->stencilStoreOp),
11856 initialLayout(in_struct->initialLayout),
11857 finalLayout(in_struct->finalLayout)
11858{
11859}
11860
11861safe_VkAttachmentDescription2KHR::safe_VkAttachmentDescription2KHR()
11862{}
11863
11864safe_VkAttachmentDescription2KHR::safe_VkAttachmentDescription2KHR(const safe_VkAttachmentDescription2KHR& src)
11865{
11866 sType = src.sType;
11867 pNext = src.pNext;
11868 flags = src.flags;
11869 format = src.format;
11870 samples = src.samples;
11871 loadOp = src.loadOp;
11872 storeOp = src.storeOp;
11873 stencilLoadOp = src.stencilLoadOp;
11874 stencilStoreOp = src.stencilStoreOp;
11875 initialLayout = src.initialLayout;
11876 finalLayout = src.finalLayout;
11877}
11878
11879safe_VkAttachmentDescription2KHR& safe_VkAttachmentDescription2KHR::operator=(const safe_VkAttachmentDescription2KHR& src)
11880{
11881 if (&src == this) return *this;
11882
11883
11884 sType = src.sType;
11885 pNext = src.pNext;
11886 flags = src.flags;
11887 format = src.format;
11888 samples = src.samples;
11889 loadOp = src.loadOp;
11890 storeOp = src.storeOp;
11891 stencilLoadOp = src.stencilLoadOp;
11892 stencilStoreOp = src.stencilStoreOp;
11893 initialLayout = src.initialLayout;
11894 finalLayout = src.finalLayout;
11895
11896 return *this;
11897}
11898
11899safe_VkAttachmentDescription2KHR::~safe_VkAttachmentDescription2KHR()
11900{
11901}
11902
11903void safe_VkAttachmentDescription2KHR::initialize(const VkAttachmentDescription2KHR* in_struct)
11904{
11905 sType = in_struct->sType;
11906 pNext = in_struct->pNext;
11907 flags = in_struct->flags;
11908 format = in_struct->format;
11909 samples = in_struct->samples;
11910 loadOp = in_struct->loadOp;
11911 storeOp = in_struct->storeOp;
11912 stencilLoadOp = in_struct->stencilLoadOp;
11913 stencilStoreOp = in_struct->stencilStoreOp;
11914 initialLayout = in_struct->initialLayout;
11915 finalLayout = in_struct->finalLayout;
11916}
11917
11918void safe_VkAttachmentDescription2KHR::initialize(const safe_VkAttachmentDescription2KHR* src)
11919{
11920 sType = src->sType;
11921 pNext = src->pNext;
11922 flags = src->flags;
11923 format = src->format;
11924 samples = src->samples;
11925 loadOp = src->loadOp;
11926 storeOp = src->storeOp;
11927 stencilLoadOp = src->stencilLoadOp;
11928 stencilStoreOp = src->stencilStoreOp;
11929 initialLayout = src->initialLayout;
11930 finalLayout = src->finalLayout;
11931}
11932
11933safe_VkAttachmentReference2KHR::safe_VkAttachmentReference2KHR(const VkAttachmentReference2KHR* in_struct) :
11934 sType(in_struct->sType),
11935 pNext(in_struct->pNext),
11936 attachment(in_struct->attachment),
11937 layout(in_struct->layout),
11938 aspectMask(in_struct->aspectMask)
11939{
11940}
11941
11942safe_VkAttachmentReference2KHR::safe_VkAttachmentReference2KHR()
11943{}
11944
11945safe_VkAttachmentReference2KHR::safe_VkAttachmentReference2KHR(const safe_VkAttachmentReference2KHR& src)
11946{
11947 sType = src.sType;
11948 pNext = src.pNext;
11949 attachment = src.attachment;
11950 layout = src.layout;
11951 aspectMask = src.aspectMask;
11952}
11953
11954safe_VkAttachmentReference2KHR& safe_VkAttachmentReference2KHR::operator=(const safe_VkAttachmentReference2KHR& src)
11955{
11956 if (&src == this) return *this;
11957
11958
11959 sType = src.sType;
11960 pNext = src.pNext;
11961 attachment = src.attachment;
11962 layout = src.layout;
11963 aspectMask = src.aspectMask;
11964
11965 return *this;
11966}
11967
11968safe_VkAttachmentReference2KHR::~safe_VkAttachmentReference2KHR()
11969{
11970}
11971
11972void safe_VkAttachmentReference2KHR::initialize(const VkAttachmentReference2KHR* in_struct)
11973{
11974 sType = in_struct->sType;
11975 pNext = in_struct->pNext;
11976 attachment = in_struct->attachment;
11977 layout = in_struct->layout;
11978 aspectMask = in_struct->aspectMask;
11979}
11980
11981void safe_VkAttachmentReference2KHR::initialize(const safe_VkAttachmentReference2KHR* src)
11982{
11983 sType = src->sType;
11984 pNext = src->pNext;
11985 attachment = src->attachment;
11986 layout = src->layout;
11987 aspectMask = src->aspectMask;
11988}
11989
11990safe_VkSubpassDescription2KHR::safe_VkSubpassDescription2KHR(const VkSubpassDescription2KHR* in_struct) :
11991 sType(in_struct->sType),
11992 pNext(in_struct->pNext),
11993 flags(in_struct->flags),
11994 pipelineBindPoint(in_struct->pipelineBindPoint),
11995 viewMask(in_struct->viewMask),
11996 inputAttachmentCount(in_struct->inputAttachmentCount),
11997 pInputAttachments(nullptr),
11998 colorAttachmentCount(in_struct->colorAttachmentCount),
11999 pColorAttachments(nullptr),
12000 pResolveAttachments(nullptr),
12001 preserveAttachmentCount(in_struct->preserveAttachmentCount),
12002 pPreserveAttachments(nullptr)
12003{
12004 if (inputAttachmentCount && in_struct->pInputAttachments) {
12005 pInputAttachments = new safe_VkAttachmentReference2KHR[inputAttachmentCount];
12006 for (uint32_t i=0; i<inputAttachmentCount; ++i) {
12007 pInputAttachments[i].initialize(&in_struct->pInputAttachments[i]);
12008 }
12009 }
12010 if (colorAttachmentCount && in_struct->pColorAttachments) {
12011 pColorAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12012 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12013 pColorAttachments[i].initialize(&in_struct->pColorAttachments[i]);
12014 }
12015 }
12016 if (colorAttachmentCount && in_struct->pResolveAttachments) {
12017 pResolveAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12018 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12019 pResolveAttachments[i].initialize(&in_struct->pResolveAttachments[i]);
12020 }
12021 }
12022 if (in_struct->pDepthStencilAttachment)
12023 pDepthStencilAttachment = new safe_VkAttachmentReference2KHR(in_struct->pDepthStencilAttachment);
12024 else
12025 pDepthStencilAttachment = NULL;
12026 if (in_struct->pPreserveAttachments) {
12027 pPreserveAttachments = new uint32_t[in_struct->preserveAttachmentCount];
12028 memcpy ((void *)pPreserveAttachments, (void *)in_struct->pPreserveAttachments, sizeof(uint32_t)*in_struct->preserveAttachmentCount);
12029 }
12030}
12031
12032safe_VkSubpassDescription2KHR::safe_VkSubpassDescription2KHR() :
12033 pInputAttachments(nullptr),
12034 pColorAttachments(nullptr),
12035 pResolveAttachments(nullptr),
12036 pPreserveAttachments(nullptr)
12037{}
12038
12039safe_VkSubpassDescription2KHR::safe_VkSubpassDescription2KHR(const safe_VkSubpassDescription2KHR& src)
12040{
12041 sType = src.sType;
12042 pNext = src.pNext;
12043 flags = src.flags;
12044 pipelineBindPoint = src.pipelineBindPoint;
12045 viewMask = src.viewMask;
12046 inputAttachmentCount = src.inputAttachmentCount;
12047 pInputAttachments = nullptr;
12048 colorAttachmentCount = src.colorAttachmentCount;
12049 pColorAttachments = nullptr;
12050 pResolveAttachments = nullptr;
12051 preserveAttachmentCount = src.preserveAttachmentCount;
12052 pPreserveAttachments = nullptr;
12053 if (inputAttachmentCount && src.pInputAttachments) {
12054 pInputAttachments = new safe_VkAttachmentReference2KHR[inputAttachmentCount];
12055 for (uint32_t i=0; i<inputAttachmentCount; ++i) {
12056 pInputAttachments[i].initialize(&src.pInputAttachments[i]);
12057 }
12058 }
12059 if (colorAttachmentCount && src.pColorAttachments) {
12060 pColorAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12061 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12062 pColorAttachments[i].initialize(&src.pColorAttachments[i]);
12063 }
12064 }
12065 if (colorAttachmentCount && src.pResolveAttachments) {
12066 pResolveAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12067 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12068 pResolveAttachments[i].initialize(&src.pResolveAttachments[i]);
12069 }
12070 }
12071 if (src.pDepthStencilAttachment)
12072 pDepthStencilAttachment = new safe_VkAttachmentReference2KHR(*src.pDepthStencilAttachment);
12073 else
12074 pDepthStencilAttachment = NULL;
12075 if (src.pPreserveAttachments) {
12076 pPreserveAttachments = new uint32_t[src.preserveAttachmentCount];
12077 memcpy ((void *)pPreserveAttachments, (void *)src.pPreserveAttachments, sizeof(uint32_t)*src.preserveAttachmentCount);
12078 }
12079}
12080
12081safe_VkSubpassDescription2KHR& safe_VkSubpassDescription2KHR::operator=(const safe_VkSubpassDescription2KHR& src)
12082{
12083 if (&src == this) return *this;
12084
12085 if (pInputAttachments)
12086 delete[] pInputAttachments;
12087 if (pColorAttachments)
12088 delete[] pColorAttachments;
12089 if (pResolveAttachments)
12090 delete[] pResolveAttachments;
12091 if (pDepthStencilAttachment)
12092 delete pDepthStencilAttachment;
12093 if (pPreserveAttachments)
12094 delete[] pPreserveAttachments;
12095
12096 sType = src.sType;
12097 pNext = src.pNext;
12098 flags = src.flags;
12099 pipelineBindPoint = src.pipelineBindPoint;
12100 viewMask = src.viewMask;
12101 inputAttachmentCount = src.inputAttachmentCount;
12102 pInputAttachments = nullptr;
12103 colorAttachmentCount = src.colorAttachmentCount;
12104 pColorAttachments = nullptr;
12105 pResolveAttachments = nullptr;
12106 preserveAttachmentCount = src.preserveAttachmentCount;
12107 pPreserveAttachments = nullptr;
12108 if (inputAttachmentCount && src.pInputAttachments) {
12109 pInputAttachments = new safe_VkAttachmentReference2KHR[inputAttachmentCount];
12110 for (uint32_t i=0; i<inputAttachmentCount; ++i) {
12111 pInputAttachments[i].initialize(&src.pInputAttachments[i]);
12112 }
12113 }
12114 if (colorAttachmentCount && src.pColorAttachments) {
12115 pColorAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12116 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12117 pColorAttachments[i].initialize(&src.pColorAttachments[i]);
12118 }
12119 }
12120 if (colorAttachmentCount && src.pResolveAttachments) {
12121 pResolveAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12122 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12123 pResolveAttachments[i].initialize(&src.pResolveAttachments[i]);
12124 }
12125 }
12126 if (src.pDepthStencilAttachment)
12127 pDepthStencilAttachment = new safe_VkAttachmentReference2KHR(*src.pDepthStencilAttachment);
12128 else
12129 pDepthStencilAttachment = NULL;
12130 if (src.pPreserveAttachments) {
12131 pPreserveAttachments = new uint32_t[src.preserveAttachmentCount];
12132 memcpy ((void *)pPreserveAttachments, (void *)src.pPreserveAttachments, sizeof(uint32_t)*src.preserveAttachmentCount);
12133 }
12134
12135 return *this;
12136}
12137
12138safe_VkSubpassDescription2KHR::~safe_VkSubpassDescription2KHR()
12139{
12140 if (pInputAttachments)
12141 delete[] pInputAttachments;
12142 if (pColorAttachments)
12143 delete[] pColorAttachments;
12144 if (pResolveAttachments)
12145 delete[] pResolveAttachments;
12146 if (pDepthStencilAttachment)
12147 delete pDepthStencilAttachment;
12148 if (pPreserveAttachments)
12149 delete[] pPreserveAttachments;
12150}
12151
12152void safe_VkSubpassDescription2KHR::initialize(const VkSubpassDescription2KHR* in_struct)
12153{
12154 sType = in_struct->sType;
12155 pNext = in_struct->pNext;
12156 flags = in_struct->flags;
12157 pipelineBindPoint = in_struct->pipelineBindPoint;
12158 viewMask = in_struct->viewMask;
12159 inputAttachmentCount = in_struct->inputAttachmentCount;
12160 pInputAttachments = nullptr;
12161 colorAttachmentCount = in_struct->colorAttachmentCount;
12162 pColorAttachments = nullptr;
12163 pResolveAttachments = nullptr;
12164 preserveAttachmentCount = in_struct->preserveAttachmentCount;
12165 pPreserveAttachments = nullptr;
12166 if (inputAttachmentCount && in_struct->pInputAttachments) {
12167 pInputAttachments = new safe_VkAttachmentReference2KHR[inputAttachmentCount];
12168 for (uint32_t i=0; i<inputAttachmentCount; ++i) {
12169 pInputAttachments[i].initialize(&in_struct->pInputAttachments[i]);
12170 }
12171 }
12172 if (colorAttachmentCount && in_struct->pColorAttachments) {
12173 pColorAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12174 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12175 pColorAttachments[i].initialize(&in_struct->pColorAttachments[i]);
12176 }
12177 }
12178 if (colorAttachmentCount && in_struct->pResolveAttachments) {
12179 pResolveAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12180 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12181 pResolveAttachments[i].initialize(&in_struct->pResolveAttachments[i]);
12182 }
12183 }
12184 if (in_struct->pDepthStencilAttachment)
12185 pDepthStencilAttachment = new safe_VkAttachmentReference2KHR(in_struct->pDepthStencilAttachment);
12186 else
12187 pDepthStencilAttachment = NULL;
12188 if (in_struct->pPreserveAttachments) {
12189 pPreserveAttachments = new uint32_t[in_struct->preserveAttachmentCount];
12190 memcpy ((void *)pPreserveAttachments, (void *)in_struct->pPreserveAttachments, sizeof(uint32_t)*in_struct->preserveAttachmentCount);
12191 }
12192}
12193
12194void safe_VkSubpassDescription2KHR::initialize(const safe_VkSubpassDescription2KHR* src)
12195{
12196 sType = src->sType;
12197 pNext = src->pNext;
12198 flags = src->flags;
12199 pipelineBindPoint = src->pipelineBindPoint;
12200 viewMask = src->viewMask;
12201 inputAttachmentCount = src->inputAttachmentCount;
12202 pInputAttachments = nullptr;
12203 colorAttachmentCount = src->colorAttachmentCount;
12204 pColorAttachments = nullptr;
12205 pResolveAttachments = nullptr;
12206 preserveAttachmentCount = src->preserveAttachmentCount;
12207 pPreserveAttachments = nullptr;
12208 if (inputAttachmentCount && src->pInputAttachments) {
12209 pInputAttachments = new safe_VkAttachmentReference2KHR[inputAttachmentCount];
12210 for (uint32_t i=0; i<inputAttachmentCount; ++i) {
12211 pInputAttachments[i].initialize(&src->pInputAttachments[i]);
12212 }
12213 }
12214 if (colorAttachmentCount && src->pColorAttachments) {
12215 pColorAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12216 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12217 pColorAttachments[i].initialize(&src->pColorAttachments[i]);
12218 }
12219 }
12220 if (colorAttachmentCount && src->pResolveAttachments) {
12221 pResolveAttachments = new safe_VkAttachmentReference2KHR[colorAttachmentCount];
12222 for (uint32_t i=0; i<colorAttachmentCount; ++i) {
12223 pResolveAttachments[i].initialize(&src->pResolveAttachments[i]);
12224 }
12225 }
12226 if (src->pDepthStencilAttachment)
12227 pDepthStencilAttachment = new safe_VkAttachmentReference2KHR(*src->pDepthStencilAttachment);
12228 else
12229 pDepthStencilAttachment = NULL;
12230 if (src->pPreserveAttachments) {
12231 pPreserveAttachments = new uint32_t[src->preserveAttachmentCount];
12232 memcpy ((void *)pPreserveAttachments, (void *)src->pPreserveAttachments, sizeof(uint32_t)*src->preserveAttachmentCount);
12233 }
12234}
12235
12236safe_VkSubpassDependency2KHR::safe_VkSubpassDependency2KHR(const VkSubpassDependency2KHR* in_struct) :
12237 sType(in_struct->sType),
12238 pNext(in_struct->pNext),
12239 srcSubpass(in_struct->srcSubpass),
12240 dstSubpass(in_struct->dstSubpass),
12241 srcStageMask(in_struct->srcStageMask),
12242 dstStageMask(in_struct->dstStageMask),
12243 srcAccessMask(in_struct->srcAccessMask),
12244 dstAccessMask(in_struct->dstAccessMask),
12245 dependencyFlags(in_struct->dependencyFlags),
12246 viewOffset(in_struct->viewOffset)
12247{
12248}
12249
12250safe_VkSubpassDependency2KHR::safe_VkSubpassDependency2KHR()
12251{}
12252
12253safe_VkSubpassDependency2KHR::safe_VkSubpassDependency2KHR(const safe_VkSubpassDependency2KHR& src)
12254{
12255 sType = src.sType;
12256 pNext = src.pNext;
12257 srcSubpass = src.srcSubpass;
12258 dstSubpass = src.dstSubpass;
12259 srcStageMask = src.srcStageMask;
12260 dstStageMask = src.dstStageMask;
12261 srcAccessMask = src.srcAccessMask;
12262 dstAccessMask = src.dstAccessMask;
12263 dependencyFlags = src.dependencyFlags;
12264 viewOffset = src.viewOffset;
12265}
12266
12267safe_VkSubpassDependency2KHR& safe_VkSubpassDependency2KHR::operator=(const safe_VkSubpassDependency2KHR& src)
12268{
12269 if (&src == this) return *this;
12270
12271
12272 sType = src.sType;
12273 pNext = src.pNext;
12274 srcSubpass = src.srcSubpass;
12275 dstSubpass = src.dstSubpass;
12276 srcStageMask = src.srcStageMask;
12277 dstStageMask = src.dstStageMask;
12278 srcAccessMask = src.srcAccessMask;
12279 dstAccessMask = src.dstAccessMask;
12280 dependencyFlags = src.dependencyFlags;
12281 viewOffset = src.viewOffset;
12282
12283 return *this;
12284}
12285
12286safe_VkSubpassDependency2KHR::~safe_VkSubpassDependency2KHR()
12287{
12288}
12289
12290void safe_VkSubpassDependency2KHR::initialize(const VkSubpassDependency2KHR* in_struct)
12291{
12292 sType = in_struct->sType;
12293 pNext = in_struct->pNext;
12294 srcSubpass = in_struct->srcSubpass;
12295 dstSubpass = in_struct->dstSubpass;
12296 srcStageMask = in_struct->srcStageMask;
12297 dstStageMask = in_struct->dstStageMask;
12298 srcAccessMask = in_struct->srcAccessMask;
12299 dstAccessMask = in_struct->dstAccessMask;
12300 dependencyFlags = in_struct->dependencyFlags;
12301 viewOffset = in_struct->viewOffset;
12302}
12303
12304void safe_VkSubpassDependency2KHR::initialize(const safe_VkSubpassDependency2KHR* src)
12305{
12306 sType = src->sType;
12307 pNext = src->pNext;
12308 srcSubpass = src->srcSubpass;
12309 dstSubpass = src->dstSubpass;
12310 srcStageMask = src->srcStageMask;
12311 dstStageMask = src->dstStageMask;
12312 srcAccessMask = src->srcAccessMask;
12313 dstAccessMask = src->dstAccessMask;
12314 dependencyFlags = src->dependencyFlags;
12315 viewOffset = src->viewOffset;
12316}
12317
12318safe_VkRenderPassCreateInfo2KHR::safe_VkRenderPassCreateInfo2KHR(const VkRenderPassCreateInfo2KHR* in_struct) :
12319 sType(in_struct->sType),
12320 pNext(in_struct->pNext),
12321 flags(in_struct->flags),
12322 attachmentCount(in_struct->attachmentCount),
12323 pAttachments(nullptr),
12324 subpassCount(in_struct->subpassCount),
12325 pSubpasses(nullptr),
12326 dependencyCount(in_struct->dependencyCount),
12327 pDependencies(nullptr),
12328 correlatedViewMaskCount(in_struct->correlatedViewMaskCount),
12329 pCorrelatedViewMasks(nullptr)
12330{
12331 if (attachmentCount && in_struct->pAttachments) {
12332 pAttachments = new safe_VkAttachmentDescription2KHR[attachmentCount];
12333 for (uint32_t i=0; i<attachmentCount; ++i) {
12334 pAttachments[i].initialize(&in_struct->pAttachments[i]);
12335 }
12336 }
12337 if (subpassCount && in_struct->pSubpasses) {
12338 pSubpasses = new safe_VkSubpassDescription2KHR[subpassCount];
12339 for (uint32_t i=0; i<subpassCount; ++i) {
12340 pSubpasses[i].initialize(&in_struct->pSubpasses[i]);
12341 }
12342 }
12343 if (dependencyCount && in_struct->pDependencies) {
12344 pDependencies = new safe_VkSubpassDependency2KHR[dependencyCount];
12345 for (uint32_t i=0; i<dependencyCount; ++i) {
12346 pDependencies[i].initialize(&in_struct->pDependencies[i]);
12347 }
12348 }
12349 if (in_struct->pCorrelatedViewMasks) {
12350 pCorrelatedViewMasks = new uint32_t[in_struct->correlatedViewMaskCount];
12351 memcpy ((void *)pCorrelatedViewMasks, (void *)in_struct->pCorrelatedViewMasks, sizeof(uint32_t)*in_struct->correlatedViewMaskCount);
12352 }
12353}
12354
12355safe_VkRenderPassCreateInfo2KHR::safe_VkRenderPassCreateInfo2KHR() :
12356 pAttachments(nullptr),
12357 pSubpasses(nullptr),
12358 pDependencies(nullptr),
12359 pCorrelatedViewMasks(nullptr)
12360{}
12361
12362safe_VkRenderPassCreateInfo2KHR::safe_VkRenderPassCreateInfo2KHR(const safe_VkRenderPassCreateInfo2KHR& src)
12363{
12364 sType = src.sType;
12365 pNext = src.pNext;
12366 flags = src.flags;
12367 attachmentCount = src.attachmentCount;
12368 pAttachments = nullptr;
12369 subpassCount = src.subpassCount;
12370 pSubpasses = nullptr;
12371 dependencyCount = src.dependencyCount;
12372 pDependencies = nullptr;
12373 correlatedViewMaskCount = src.correlatedViewMaskCount;
12374 pCorrelatedViewMasks = nullptr;
12375 if (attachmentCount && src.pAttachments) {
12376 pAttachments = new safe_VkAttachmentDescription2KHR[attachmentCount];
12377 for (uint32_t i=0; i<attachmentCount; ++i) {
12378 pAttachments[i].initialize(&src.pAttachments[i]);
12379 }
12380 }
12381 if (subpassCount && src.pSubpasses) {
12382 pSubpasses = new safe_VkSubpassDescription2KHR[subpassCount];
12383 for (uint32_t i=0; i<subpassCount; ++i) {
12384 pSubpasses[i].initialize(&src.pSubpasses[i]);
12385 }
12386 }
12387 if (dependencyCount && src.pDependencies) {
12388 pDependencies = new safe_VkSubpassDependency2KHR[dependencyCount];
12389 for (uint32_t i=0; i<dependencyCount; ++i) {
12390 pDependencies[i].initialize(&src.pDependencies[i]);
12391 }
12392 }
12393 if (src.pCorrelatedViewMasks) {
12394 pCorrelatedViewMasks = new uint32_t[src.correlatedViewMaskCount];
12395 memcpy ((void *)pCorrelatedViewMasks, (void *)src.pCorrelatedViewMasks, sizeof(uint32_t)*src.correlatedViewMaskCount);
12396 }
12397}
12398
12399safe_VkRenderPassCreateInfo2KHR& safe_VkRenderPassCreateInfo2KHR::operator=(const safe_VkRenderPassCreateInfo2KHR& src)
12400{
12401 if (&src == this) return *this;
12402
12403 if (pAttachments)
12404 delete[] pAttachments;
12405 if (pSubpasses)
12406 delete[] pSubpasses;
12407 if (pDependencies)
12408 delete[] pDependencies;
12409 if (pCorrelatedViewMasks)
12410 delete[] pCorrelatedViewMasks;
12411
12412 sType = src.sType;
12413 pNext = src.pNext;
12414 flags = src.flags;
12415 attachmentCount = src.attachmentCount;
12416 pAttachments = nullptr;
12417 subpassCount = src.subpassCount;
12418 pSubpasses = nullptr;
12419 dependencyCount = src.dependencyCount;
12420 pDependencies = nullptr;
12421 correlatedViewMaskCount = src.correlatedViewMaskCount;
12422 pCorrelatedViewMasks = nullptr;
12423 if (attachmentCount && src.pAttachments) {
12424 pAttachments = new safe_VkAttachmentDescription2KHR[attachmentCount];
12425 for (uint32_t i=0; i<attachmentCount; ++i) {
12426 pAttachments[i].initialize(&src.pAttachments[i]);
12427 }
12428 }
12429 if (subpassCount && src.pSubpasses) {
12430 pSubpasses = new safe_VkSubpassDescription2KHR[subpassCount];
12431 for (uint32_t i=0; i<subpassCount; ++i) {
12432 pSubpasses[i].initialize(&src.pSubpasses[i]);
12433 }
12434 }
12435 if (dependencyCount && src.pDependencies) {
12436 pDependencies = new safe_VkSubpassDependency2KHR[dependencyCount];
12437 for (uint32_t i=0; i<dependencyCount; ++i) {
12438 pDependencies[i].initialize(&src.pDependencies[i]);
12439 }
12440 }
12441 if (src.pCorrelatedViewMasks) {
12442 pCorrelatedViewMasks = new uint32_t[src.correlatedViewMaskCount];
12443 memcpy ((void *)pCorrelatedViewMasks, (void *)src.pCorrelatedViewMasks, sizeof(uint32_t)*src.correlatedViewMaskCount);
12444 }
12445
12446 return *this;
12447}
12448
12449safe_VkRenderPassCreateInfo2KHR::~safe_VkRenderPassCreateInfo2KHR()
12450{
12451 if (pAttachments)
12452 delete[] pAttachments;
12453 if (pSubpasses)
12454 delete[] pSubpasses;
12455 if (pDependencies)
12456 delete[] pDependencies;
12457 if (pCorrelatedViewMasks)
12458 delete[] pCorrelatedViewMasks;
12459}
12460
12461void safe_VkRenderPassCreateInfo2KHR::initialize(const VkRenderPassCreateInfo2KHR* in_struct)
12462{
12463 sType = in_struct->sType;
12464 pNext = in_struct->pNext;
12465 flags = in_struct->flags;
12466 attachmentCount = in_struct->attachmentCount;
12467 pAttachments = nullptr;
12468 subpassCount = in_struct->subpassCount;
12469 pSubpasses = nullptr;
12470 dependencyCount = in_struct->dependencyCount;
12471 pDependencies = nullptr;
12472 correlatedViewMaskCount = in_struct->correlatedViewMaskCount;
12473 pCorrelatedViewMasks = nullptr;
12474 if (attachmentCount && in_struct->pAttachments) {
12475 pAttachments = new safe_VkAttachmentDescription2KHR[attachmentCount];
12476 for (uint32_t i=0; i<attachmentCount; ++i) {
12477 pAttachments[i].initialize(&in_struct->pAttachments[i]);
12478 }
12479 }
12480 if (subpassCount && in_struct->pSubpasses) {
12481 pSubpasses = new safe_VkSubpassDescription2KHR[subpassCount];
12482 for (uint32_t i=0; i<subpassCount; ++i) {
12483 pSubpasses[i].initialize(&in_struct->pSubpasses[i]);
12484 }
12485 }
12486 if (dependencyCount && in_struct->pDependencies) {
12487 pDependencies = new safe_VkSubpassDependency2KHR[dependencyCount];
12488 for (uint32_t i=0; i<dependencyCount; ++i) {
12489 pDependencies[i].initialize(&in_struct->pDependencies[i]);
12490 }
12491 }
12492 if (in_struct->pCorrelatedViewMasks) {
12493 pCorrelatedViewMasks = new uint32_t[in_struct->correlatedViewMaskCount];
12494 memcpy ((void *)pCorrelatedViewMasks, (void *)in_struct->pCorrelatedViewMasks, sizeof(uint32_t)*in_struct->correlatedViewMaskCount);
12495 }
12496}
12497
12498void safe_VkRenderPassCreateInfo2KHR::initialize(const safe_VkRenderPassCreateInfo2KHR* src)
12499{
12500 sType = src->sType;
12501 pNext = src->pNext;
12502 flags = src->flags;
12503 attachmentCount = src->attachmentCount;
12504 pAttachments = nullptr;
12505 subpassCount = src->subpassCount;
12506 pSubpasses = nullptr;
12507 dependencyCount = src->dependencyCount;
12508 pDependencies = nullptr;
12509 correlatedViewMaskCount = src->correlatedViewMaskCount;
12510 pCorrelatedViewMasks = nullptr;
12511 if (attachmentCount && src->pAttachments) {
12512 pAttachments = new safe_VkAttachmentDescription2KHR[attachmentCount];
12513 for (uint32_t i=0; i<attachmentCount; ++i) {
12514 pAttachments[i].initialize(&src->pAttachments[i]);
12515 }
12516 }
12517 if (subpassCount && src->pSubpasses) {
12518 pSubpasses = new safe_VkSubpassDescription2KHR[subpassCount];
12519 for (uint32_t i=0; i<subpassCount; ++i) {
12520 pSubpasses[i].initialize(&src->pSubpasses[i]);
12521 }
12522 }
12523 if (dependencyCount && src->pDependencies) {
12524 pDependencies = new safe_VkSubpassDependency2KHR[dependencyCount];
12525 for (uint32_t i=0; i<dependencyCount; ++i) {
12526 pDependencies[i].initialize(&src->pDependencies[i]);
12527 }
12528 }
12529 if (src->pCorrelatedViewMasks) {
12530 pCorrelatedViewMasks = new uint32_t[src->correlatedViewMaskCount];
12531 memcpy ((void *)pCorrelatedViewMasks, (void *)src->pCorrelatedViewMasks, sizeof(uint32_t)*src->correlatedViewMaskCount);
12532 }
12533}
12534
12535safe_VkSubpassBeginInfoKHR::safe_VkSubpassBeginInfoKHR(const VkSubpassBeginInfoKHR* in_struct) :
12536 sType(in_struct->sType),
12537 pNext(in_struct->pNext),
12538 contents(in_struct->contents)
12539{
12540}
12541
12542safe_VkSubpassBeginInfoKHR::safe_VkSubpassBeginInfoKHR()
12543{}
12544
12545safe_VkSubpassBeginInfoKHR::safe_VkSubpassBeginInfoKHR(const safe_VkSubpassBeginInfoKHR& src)
12546{
12547 sType = src.sType;
12548 pNext = src.pNext;
12549 contents = src.contents;
12550}
12551
12552safe_VkSubpassBeginInfoKHR& safe_VkSubpassBeginInfoKHR::operator=(const safe_VkSubpassBeginInfoKHR& src)
12553{
12554 if (&src == this) return *this;
12555
12556
12557 sType = src.sType;
12558 pNext = src.pNext;
12559 contents = src.contents;
12560
12561 return *this;
12562}
12563
12564safe_VkSubpassBeginInfoKHR::~safe_VkSubpassBeginInfoKHR()
12565{
12566}
12567
12568void safe_VkSubpassBeginInfoKHR::initialize(const VkSubpassBeginInfoKHR* in_struct)
12569{
12570 sType = in_struct->sType;
12571 pNext = in_struct->pNext;
12572 contents = in_struct->contents;
12573}
12574
12575void safe_VkSubpassBeginInfoKHR::initialize(const safe_VkSubpassBeginInfoKHR* src)
12576{
12577 sType = src->sType;
12578 pNext = src->pNext;
12579 contents = src->contents;
12580}
12581
12582safe_VkSubpassEndInfoKHR::safe_VkSubpassEndInfoKHR(const VkSubpassEndInfoKHR* in_struct) :
12583 sType(in_struct->sType),
12584 pNext(in_struct->pNext)
12585{
12586}
12587
12588safe_VkSubpassEndInfoKHR::safe_VkSubpassEndInfoKHR()
12589{}
12590
12591safe_VkSubpassEndInfoKHR::safe_VkSubpassEndInfoKHR(const safe_VkSubpassEndInfoKHR& src)
12592{
12593 sType = src.sType;
12594 pNext = src.pNext;
12595}
12596
12597safe_VkSubpassEndInfoKHR& safe_VkSubpassEndInfoKHR::operator=(const safe_VkSubpassEndInfoKHR& src)
12598{
12599 if (&src == this) return *this;
12600
12601
12602 sType = src.sType;
12603 pNext = src.pNext;
12604
12605 return *this;
12606}
12607
12608safe_VkSubpassEndInfoKHR::~safe_VkSubpassEndInfoKHR()
12609{
12610}
12611
12612void safe_VkSubpassEndInfoKHR::initialize(const VkSubpassEndInfoKHR* in_struct)
12613{
12614 sType = in_struct->sType;
12615 pNext = in_struct->pNext;
12616}
12617
12618void safe_VkSubpassEndInfoKHR::initialize(const safe_VkSubpassEndInfoKHR* src)
12619{
12620 sType = src->sType;
12621 pNext = src->pNext;
12622}
12623
12624safe_VkSharedPresentSurfaceCapabilitiesKHR::safe_VkSharedPresentSurfaceCapabilitiesKHR(const VkSharedPresentSurfaceCapabilitiesKHR* in_struct) :
12625 sType(in_struct->sType),
12626 pNext(in_struct->pNext),
12627 sharedPresentSupportedUsageFlags(in_struct->sharedPresentSupportedUsageFlags)
12628{
12629}
12630
12631safe_VkSharedPresentSurfaceCapabilitiesKHR::safe_VkSharedPresentSurfaceCapabilitiesKHR()
12632{}
12633
12634safe_VkSharedPresentSurfaceCapabilitiesKHR::safe_VkSharedPresentSurfaceCapabilitiesKHR(const safe_VkSharedPresentSurfaceCapabilitiesKHR& src)
12635{
12636 sType = src.sType;
12637 pNext = src.pNext;
12638 sharedPresentSupportedUsageFlags = src.sharedPresentSupportedUsageFlags;
12639}
12640
12641safe_VkSharedPresentSurfaceCapabilitiesKHR& safe_VkSharedPresentSurfaceCapabilitiesKHR::operator=(const safe_VkSharedPresentSurfaceCapabilitiesKHR& src)
12642{
12643 if (&src == this) return *this;
12644
12645
12646 sType = src.sType;
12647 pNext = src.pNext;
12648 sharedPresentSupportedUsageFlags = src.sharedPresentSupportedUsageFlags;
12649
12650 return *this;
12651}
12652
12653safe_VkSharedPresentSurfaceCapabilitiesKHR::~safe_VkSharedPresentSurfaceCapabilitiesKHR()
12654{
12655}
12656
12657void safe_VkSharedPresentSurfaceCapabilitiesKHR::initialize(const VkSharedPresentSurfaceCapabilitiesKHR* in_struct)
12658{
12659 sType = in_struct->sType;
12660 pNext = in_struct->pNext;
12661 sharedPresentSupportedUsageFlags = in_struct->sharedPresentSupportedUsageFlags;
12662}
12663
12664void safe_VkSharedPresentSurfaceCapabilitiesKHR::initialize(const safe_VkSharedPresentSurfaceCapabilitiesKHR* src)
12665{
12666 sType = src->sType;
12667 pNext = src->pNext;
12668 sharedPresentSupportedUsageFlags = src->sharedPresentSupportedUsageFlags;
12669}
12670#ifdef VK_USE_PLATFORM_WIN32_KHR
12671
12672
12673safe_VkImportFenceWin32HandleInfoKHR::safe_VkImportFenceWin32HandleInfoKHR(const VkImportFenceWin32HandleInfoKHR* in_struct) :
12674 sType(in_struct->sType),
12675 pNext(in_struct->pNext),
12676 fence(in_struct->fence),
12677 flags(in_struct->flags),
12678 handleType(in_struct->handleType),
12679 handle(in_struct->handle),
12680 name(in_struct->name)
12681{
12682}
12683
12684safe_VkImportFenceWin32HandleInfoKHR::safe_VkImportFenceWin32HandleInfoKHR()
12685{}
12686
12687safe_VkImportFenceWin32HandleInfoKHR::safe_VkImportFenceWin32HandleInfoKHR(const safe_VkImportFenceWin32HandleInfoKHR& src)
12688{
12689 sType = src.sType;
12690 pNext = src.pNext;
12691 fence = src.fence;
12692 flags = src.flags;
12693 handleType = src.handleType;
12694 handle = src.handle;
12695 name = src.name;
12696}
12697
12698safe_VkImportFenceWin32HandleInfoKHR& safe_VkImportFenceWin32HandleInfoKHR::operator=(const safe_VkImportFenceWin32HandleInfoKHR& src)
12699{
12700 if (&src == this) return *this;
12701
12702
12703 sType = src.sType;
12704 pNext = src.pNext;
12705 fence = src.fence;
12706 flags = src.flags;
12707 handleType = src.handleType;
12708 handle = src.handle;
12709 name = src.name;
12710
12711 return *this;
12712}
12713
12714safe_VkImportFenceWin32HandleInfoKHR::~safe_VkImportFenceWin32HandleInfoKHR()
12715{
12716}
12717
12718void safe_VkImportFenceWin32HandleInfoKHR::initialize(const VkImportFenceWin32HandleInfoKHR* in_struct)
12719{
12720 sType = in_struct->sType;
12721 pNext = in_struct->pNext;
12722 fence = in_struct->fence;
12723 flags = in_struct->flags;
12724 handleType = in_struct->handleType;
12725 handle = in_struct->handle;
12726 name = in_struct->name;
12727}
12728
12729void safe_VkImportFenceWin32HandleInfoKHR::initialize(const safe_VkImportFenceWin32HandleInfoKHR* src)
12730{
12731 sType = src->sType;
12732 pNext = src->pNext;
12733 fence = src->fence;
12734 flags = src->flags;
12735 handleType = src->handleType;
12736 handle = src->handle;
12737 name = src->name;
12738}
12739#endif // VK_USE_PLATFORM_WIN32_KHR
12740
12741#ifdef VK_USE_PLATFORM_WIN32_KHR
12742
12743
12744safe_VkExportFenceWin32HandleInfoKHR::safe_VkExportFenceWin32HandleInfoKHR(const VkExportFenceWin32HandleInfoKHR* in_struct) :
12745 sType(in_struct->sType),
12746 pNext(in_struct->pNext),
12747 pAttributes(nullptr),
12748 dwAccess(in_struct->dwAccess),
12749 name(in_struct->name)
12750{
12751 if (in_struct->pAttributes) {
12752 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
12753 }
12754}
12755
12756safe_VkExportFenceWin32HandleInfoKHR::safe_VkExportFenceWin32HandleInfoKHR() :
12757 pAttributes(nullptr)
12758{}
12759
12760safe_VkExportFenceWin32HandleInfoKHR::safe_VkExportFenceWin32HandleInfoKHR(const safe_VkExportFenceWin32HandleInfoKHR& src)
12761{
12762 sType = src.sType;
12763 pNext = src.pNext;
12764 pAttributes = nullptr;
12765 dwAccess = src.dwAccess;
12766 name = src.name;
12767 if (src.pAttributes) {
12768 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
12769 }
12770}
12771
12772safe_VkExportFenceWin32HandleInfoKHR& safe_VkExportFenceWin32HandleInfoKHR::operator=(const safe_VkExportFenceWin32HandleInfoKHR& src)
12773{
12774 if (&src == this) return *this;
12775
12776 if (pAttributes)
12777 delete pAttributes;
12778
12779 sType = src.sType;
12780 pNext = src.pNext;
12781 pAttributes = nullptr;
12782 dwAccess = src.dwAccess;
12783 name = src.name;
12784 if (src.pAttributes) {
12785 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
12786 }
12787
12788 return *this;
12789}
12790
12791safe_VkExportFenceWin32HandleInfoKHR::~safe_VkExportFenceWin32HandleInfoKHR()
12792{
12793 if (pAttributes)
12794 delete pAttributes;
12795}
12796
12797void safe_VkExportFenceWin32HandleInfoKHR::initialize(const VkExportFenceWin32HandleInfoKHR* in_struct)
12798{
12799 sType = in_struct->sType;
12800 pNext = in_struct->pNext;
12801 pAttributes = nullptr;
12802 dwAccess = in_struct->dwAccess;
12803 name = in_struct->name;
12804 if (in_struct->pAttributes) {
12805 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
12806 }
12807}
12808
12809void safe_VkExportFenceWin32HandleInfoKHR::initialize(const safe_VkExportFenceWin32HandleInfoKHR* src)
12810{
12811 sType = src->sType;
12812 pNext = src->pNext;
12813 pAttributes = nullptr;
12814 dwAccess = src->dwAccess;
12815 name = src->name;
12816 if (src->pAttributes) {
12817 pAttributes = new SECURITY_ATTRIBUTES(*src->pAttributes);
12818 }
12819}
12820#endif // VK_USE_PLATFORM_WIN32_KHR
12821
12822#ifdef VK_USE_PLATFORM_WIN32_KHR
12823
12824
12825safe_VkFenceGetWin32HandleInfoKHR::safe_VkFenceGetWin32HandleInfoKHR(const VkFenceGetWin32HandleInfoKHR* in_struct) :
12826 sType(in_struct->sType),
12827 pNext(in_struct->pNext),
12828 fence(in_struct->fence),
12829 handleType(in_struct->handleType)
12830{
12831}
12832
12833safe_VkFenceGetWin32HandleInfoKHR::safe_VkFenceGetWin32HandleInfoKHR()
12834{}
12835
12836safe_VkFenceGetWin32HandleInfoKHR::safe_VkFenceGetWin32HandleInfoKHR(const safe_VkFenceGetWin32HandleInfoKHR& src)
12837{
12838 sType = src.sType;
12839 pNext = src.pNext;
12840 fence = src.fence;
12841 handleType = src.handleType;
12842}
12843
12844safe_VkFenceGetWin32HandleInfoKHR& safe_VkFenceGetWin32HandleInfoKHR::operator=(const safe_VkFenceGetWin32HandleInfoKHR& src)
12845{
12846 if (&src == this) return *this;
12847
12848
12849 sType = src.sType;
12850 pNext = src.pNext;
12851 fence = src.fence;
12852 handleType = src.handleType;
12853
12854 return *this;
12855}
12856
12857safe_VkFenceGetWin32HandleInfoKHR::~safe_VkFenceGetWin32HandleInfoKHR()
12858{
12859}
12860
12861void safe_VkFenceGetWin32HandleInfoKHR::initialize(const VkFenceGetWin32HandleInfoKHR* in_struct)
12862{
12863 sType = in_struct->sType;
12864 pNext = in_struct->pNext;
12865 fence = in_struct->fence;
12866 handleType = in_struct->handleType;
12867}
12868
12869void safe_VkFenceGetWin32HandleInfoKHR::initialize(const safe_VkFenceGetWin32HandleInfoKHR* src)
12870{
12871 sType = src->sType;
12872 pNext = src->pNext;
12873 fence = src->fence;
12874 handleType = src->handleType;
12875}
12876#endif // VK_USE_PLATFORM_WIN32_KHR
12877
12878
12879safe_VkImportFenceFdInfoKHR::safe_VkImportFenceFdInfoKHR(const VkImportFenceFdInfoKHR* in_struct) :
12880 sType(in_struct->sType),
12881 pNext(in_struct->pNext),
12882 fence(in_struct->fence),
12883 flags(in_struct->flags),
12884 handleType(in_struct->handleType),
12885 fd(in_struct->fd)
12886{
12887}
12888
12889safe_VkImportFenceFdInfoKHR::safe_VkImportFenceFdInfoKHR()
12890{}
12891
12892safe_VkImportFenceFdInfoKHR::safe_VkImportFenceFdInfoKHR(const safe_VkImportFenceFdInfoKHR& src)
12893{
12894 sType = src.sType;
12895 pNext = src.pNext;
12896 fence = src.fence;
12897 flags = src.flags;
12898 handleType = src.handleType;
12899 fd = src.fd;
12900}
12901
12902safe_VkImportFenceFdInfoKHR& safe_VkImportFenceFdInfoKHR::operator=(const safe_VkImportFenceFdInfoKHR& src)
12903{
12904 if (&src == this) return *this;
12905
12906
12907 sType = src.sType;
12908 pNext = src.pNext;
12909 fence = src.fence;
12910 flags = src.flags;
12911 handleType = src.handleType;
12912 fd = src.fd;
12913
12914 return *this;
12915}
12916
12917safe_VkImportFenceFdInfoKHR::~safe_VkImportFenceFdInfoKHR()
12918{
12919}
12920
12921void safe_VkImportFenceFdInfoKHR::initialize(const VkImportFenceFdInfoKHR* in_struct)
12922{
12923 sType = in_struct->sType;
12924 pNext = in_struct->pNext;
12925 fence = in_struct->fence;
12926 flags = in_struct->flags;
12927 handleType = in_struct->handleType;
12928 fd = in_struct->fd;
12929}
12930
12931void safe_VkImportFenceFdInfoKHR::initialize(const safe_VkImportFenceFdInfoKHR* src)
12932{
12933 sType = src->sType;
12934 pNext = src->pNext;
12935 fence = src->fence;
12936 flags = src->flags;
12937 handleType = src->handleType;
12938 fd = src->fd;
12939}
12940
12941safe_VkFenceGetFdInfoKHR::safe_VkFenceGetFdInfoKHR(const VkFenceGetFdInfoKHR* in_struct) :
12942 sType(in_struct->sType),
12943 pNext(in_struct->pNext),
12944 fence(in_struct->fence),
12945 handleType(in_struct->handleType)
12946{
12947}
12948
12949safe_VkFenceGetFdInfoKHR::safe_VkFenceGetFdInfoKHR()
12950{}
12951
12952safe_VkFenceGetFdInfoKHR::safe_VkFenceGetFdInfoKHR(const safe_VkFenceGetFdInfoKHR& src)
12953{
12954 sType = src.sType;
12955 pNext = src.pNext;
12956 fence = src.fence;
12957 handleType = src.handleType;
12958}
12959
12960safe_VkFenceGetFdInfoKHR& safe_VkFenceGetFdInfoKHR::operator=(const safe_VkFenceGetFdInfoKHR& src)
12961{
12962 if (&src == this) return *this;
12963
12964
12965 sType = src.sType;
12966 pNext = src.pNext;
12967 fence = src.fence;
12968 handleType = src.handleType;
12969
12970 return *this;
12971}
12972
12973safe_VkFenceGetFdInfoKHR::~safe_VkFenceGetFdInfoKHR()
12974{
12975}
12976
12977void safe_VkFenceGetFdInfoKHR::initialize(const VkFenceGetFdInfoKHR* in_struct)
12978{
12979 sType = in_struct->sType;
12980 pNext = in_struct->pNext;
12981 fence = in_struct->fence;
12982 handleType = in_struct->handleType;
12983}
12984
12985void safe_VkFenceGetFdInfoKHR::initialize(const safe_VkFenceGetFdInfoKHR* src)
12986{
12987 sType = src->sType;
12988 pNext = src->pNext;
12989 fence = src->fence;
12990 handleType = src->handleType;
12991}
12992
12993safe_VkPhysicalDeviceSurfaceInfo2KHR::safe_VkPhysicalDeviceSurfaceInfo2KHR(const VkPhysicalDeviceSurfaceInfo2KHR* in_struct) :
12994 sType(in_struct->sType),
12995 pNext(in_struct->pNext),
12996 surface(in_struct->surface)
12997{
12998}
12999
13000safe_VkPhysicalDeviceSurfaceInfo2KHR::safe_VkPhysicalDeviceSurfaceInfo2KHR()
13001{}
13002
13003safe_VkPhysicalDeviceSurfaceInfo2KHR::safe_VkPhysicalDeviceSurfaceInfo2KHR(const safe_VkPhysicalDeviceSurfaceInfo2KHR& src)
13004{
13005 sType = src.sType;
13006 pNext = src.pNext;
13007 surface = src.surface;
13008}
13009
13010safe_VkPhysicalDeviceSurfaceInfo2KHR& safe_VkPhysicalDeviceSurfaceInfo2KHR::operator=(const safe_VkPhysicalDeviceSurfaceInfo2KHR& src)
13011{
13012 if (&src == this) return *this;
13013
13014
13015 sType = src.sType;
13016 pNext = src.pNext;
13017 surface = src.surface;
13018
13019 return *this;
13020}
13021
13022safe_VkPhysicalDeviceSurfaceInfo2KHR::~safe_VkPhysicalDeviceSurfaceInfo2KHR()
13023{
13024}
13025
13026void safe_VkPhysicalDeviceSurfaceInfo2KHR::initialize(const VkPhysicalDeviceSurfaceInfo2KHR* in_struct)
13027{
13028 sType = in_struct->sType;
13029 pNext = in_struct->pNext;
13030 surface = in_struct->surface;
13031}
13032
13033void safe_VkPhysicalDeviceSurfaceInfo2KHR::initialize(const safe_VkPhysicalDeviceSurfaceInfo2KHR* src)
13034{
13035 sType = src->sType;
13036 pNext = src->pNext;
13037 surface = src->surface;
13038}
13039
13040safe_VkSurfaceCapabilities2KHR::safe_VkSurfaceCapabilities2KHR(const VkSurfaceCapabilities2KHR* in_struct) :
13041 sType(in_struct->sType),
13042 pNext(in_struct->pNext),
13043 surfaceCapabilities(in_struct->surfaceCapabilities)
13044{
13045}
13046
13047safe_VkSurfaceCapabilities2KHR::safe_VkSurfaceCapabilities2KHR()
13048{}
13049
13050safe_VkSurfaceCapabilities2KHR::safe_VkSurfaceCapabilities2KHR(const safe_VkSurfaceCapabilities2KHR& src)
13051{
13052 sType = src.sType;
13053 pNext = src.pNext;
13054 surfaceCapabilities = src.surfaceCapabilities;
13055}
13056
13057safe_VkSurfaceCapabilities2KHR& safe_VkSurfaceCapabilities2KHR::operator=(const safe_VkSurfaceCapabilities2KHR& src)
13058{
13059 if (&src == this) return *this;
13060
13061
13062 sType = src.sType;
13063 pNext = src.pNext;
13064 surfaceCapabilities = src.surfaceCapabilities;
13065
13066 return *this;
13067}
13068
13069safe_VkSurfaceCapabilities2KHR::~safe_VkSurfaceCapabilities2KHR()
13070{
13071}
13072
13073void safe_VkSurfaceCapabilities2KHR::initialize(const VkSurfaceCapabilities2KHR* in_struct)
13074{
13075 sType = in_struct->sType;
13076 pNext = in_struct->pNext;
13077 surfaceCapabilities = in_struct->surfaceCapabilities;
13078}
13079
13080void safe_VkSurfaceCapabilities2KHR::initialize(const safe_VkSurfaceCapabilities2KHR* src)
13081{
13082 sType = src->sType;
13083 pNext = src->pNext;
13084 surfaceCapabilities = src->surfaceCapabilities;
13085}
13086
13087safe_VkSurfaceFormat2KHR::safe_VkSurfaceFormat2KHR(const VkSurfaceFormat2KHR* in_struct) :
13088 sType(in_struct->sType),
13089 pNext(in_struct->pNext),
13090 surfaceFormat(in_struct->surfaceFormat)
13091{
13092}
13093
13094safe_VkSurfaceFormat2KHR::safe_VkSurfaceFormat2KHR()
13095{}
13096
13097safe_VkSurfaceFormat2KHR::safe_VkSurfaceFormat2KHR(const safe_VkSurfaceFormat2KHR& src)
13098{
13099 sType = src.sType;
13100 pNext = src.pNext;
13101 surfaceFormat = src.surfaceFormat;
13102}
13103
13104safe_VkSurfaceFormat2KHR& safe_VkSurfaceFormat2KHR::operator=(const safe_VkSurfaceFormat2KHR& src)
13105{
13106 if (&src == this) return *this;
13107
13108
13109 sType = src.sType;
13110 pNext = src.pNext;
13111 surfaceFormat = src.surfaceFormat;
13112
13113 return *this;
13114}
13115
13116safe_VkSurfaceFormat2KHR::~safe_VkSurfaceFormat2KHR()
13117{
13118}
13119
13120void safe_VkSurfaceFormat2KHR::initialize(const VkSurfaceFormat2KHR* in_struct)
13121{
13122 sType = in_struct->sType;
13123 pNext = in_struct->pNext;
13124 surfaceFormat = in_struct->surfaceFormat;
13125}
13126
13127void safe_VkSurfaceFormat2KHR::initialize(const safe_VkSurfaceFormat2KHR* src)
13128{
13129 sType = src->sType;
13130 pNext = src->pNext;
13131 surfaceFormat = src->surfaceFormat;
13132}
13133
13134safe_VkDisplayProperties2KHR::safe_VkDisplayProperties2KHR(const VkDisplayProperties2KHR* in_struct) :
13135 sType(in_struct->sType),
13136 pNext(in_struct->pNext),
13137 displayProperties(&in_struct->displayProperties)
13138{
13139}
13140
13141safe_VkDisplayProperties2KHR::safe_VkDisplayProperties2KHR()
13142{}
13143
13144safe_VkDisplayProperties2KHR::safe_VkDisplayProperties2KHR(const safe_VkDisplayProperties2KHR& src)
13145{
13146 sType = src.sType;
13147 pNext = src.pNext;
13148 displayProperties.initialize(&src.displayProperties);
13149}
13150
13151safe_VkDisplayProperties2KHR& safe_VkDisplayProperties2KHR::operator=(const safe_VkDisplayProperties2KHR& src)
13152{
13153 if (&src == this) return *this;
13154
13155
13156 sType = src.sType;
13157 pNext = src.pNext;
13158 displayProperties.initialize(&src.displayProperties);
13159
13160 return *this;
13161}
13162
13163safe_VkDisplayProperties2KHR::~safe_VkDisplayProperties2KHR()
13164{
13165}
13166
13167void safe_VkDisplayProperties2KHR::initialize(const VkDisplayProperties2KHR* in_struct)
13168{
13169 sType = in_struct->sType;
13170 pNext = in_struct->pNext;
13171 displayProperties.initialize(&in_struct->displayProperties);
13172}
13173
13174void safe_VkDisplayProperties2KHR::initialize(const safe_VkDisplayProperties2KHR* src)
13175{
13176 sType = src->sType;
13177 pNext = src->pNext;
13178 displayProperties.initialize(&src->displayProperties);
13179}
13180
13181safe_VkDisplayPlaneProperties2KHR::safe_VkDisplayPlaneProperties2KHR(const VkDisplayPlaneProperties2KHR* in_struct) :
13182 sType(in_struct->sType),
13183 pNext(in_struct->pNext),
13184 displayPlaneProperties(in_struct->displayPlaneProperties)
13185{
13186}
13187
13188safe_VkDisplayPlaneProperties2KHR::safe_VkDisplayPlaneProperties2KHR()
13189{}
13190
13191safe_VkDisplayPlaneProperties2KHR::safe_VkDisplayPlaneProperties2KHR(const safe_VkDisplayPlaneProperties2KHR& src)
13192{
13193 sType = src.sType;
13194 pNext = src.pNext;
13195 displayPlaneProperties = src.displayPlaneProperties;
13196}
13197
13198safe_VkDisplayPlaneProperties2KHR& safe_VkDisplayPlaneProperties2KHR::operator=(const safe_VkDisplayPlaneProperties2KHR& src)
13199{
13200 if (&src == this) return *this;
13201
13202
13203 sType = src.sType;
13204 pNext = src.pNext;
13205 displayPlaneProperties = src.displayPlaneProperties;
13206
13207 return *this;
13208}
13209
13210safe_VkDisplayPlaneProperties2KHR::~safe_VkDisplayPlaneProperties2KHR()
13211{
13212}
13213
13214void safe_VkDisplayPlaneProperties2KHR::initialize(const VkDisplayPlaneProperties2KHR* in_struct)
13215{
13216 sType = in_struct->sType;
13217 pNext = in_struct->pNext;
13218 displayPlaneProperties = in_struct->displayPlaneProperties;
13219}
13220
13221void safe_VkDisplayPlaneProperties2KHR::initialize(const safe_VkDisplayPlaneProperties2KHR* src)
13222{
13223 sType = src->sType;
13224 pNext = src->pNext;
13225 displayPlaneProperties = src->displayPlaneProperties;
13226}
13227
13228safe_VkDisplayModeProperties2KHR::safe_VkDisplayModeProperties2KHR(const VkDisplayModeProperties2KHR* in_struct) :
13229 sType(in_struct->sType),
13230 pNext(in_struct->pNext),
13231 displayModeProperties(in_struct->displayModeProperties)
13232{
13233}
13234
13235safe_VkDisplayModeProperties2KHR::safe_VkDisplayModeProperties2KHR()
13236{}
13237
13238safe_VkDisplayModeProperties2KHR::safe_VkDisplayModeProperties2KHR(const safe_VkDisplayModeProperties2KHR& src)
13239{
13240 sType = src.sType;
13241 pNext = src.pNext;
13242 displayModeProperties = src.displayModeProperties;
13243}
13244
13245safe_VkDisplayModeProperties2KHR& safe_VkDisplayModeProperties2KHR::operator=(const safe_VkDisplayModeProperties2KHR& src)
13246{
13247 if (&src == this) return *this;
13248
13249
13250 sType = src.sType;
13251 pNext = src.pNext;
13252 displayModeProperties = src.displayModeProperties;
13253
13254 return *this;
13255}
13256
13257safe_VkDisplayModeProperties2KHR::~safe_VkDisplayModeProperties2KHR()
13258{
13259}
13260
13261void safe_VkDisplayModeProperties2KHR::initialize(const VkDisplayModeProperties2KHR* in_struct)
13262{
13263 sType = in_struct->sType;
13264 pNext = in_struct->pNext;
13265 displayModeProperties = in_struct->displayModeProperties;
13266}
13267
13268void safe_VkDisplayModeProperties2KHR::initialize(const safe_VkDisplayModeProperties2KHR* src)
13269{
13270 sType = src->sType;
13271 pNext = src->pNext;
13272 displayModeProperties = src->displayModeProperties;
13273}
13274
13275safe_VkDisplayPlaneInfo2KHR::safe_VkDisplayPlaneInfo2KHR(const VkDisplayPlaneInfo2KHR* in_struct) :
13276 sType(in_struct->sType),
13277 pNext(in_struct->pNext),
13278 mode(in_struct->mode),
13279 planeIndex(in_struct->planeIndex)
13280{
13281}
13282
13283safe_VkDisplayPlaneInfo2KHR::safe_VkDisplayPlaneInfo2KHR()
13284{}
13285
13286safe_VkDisplayPlaneInfo2KHR::safe_VkDisplayPlaneInfo2KHR(const safe_VkDisplayPlaneInfo2KHR& src)
13287{
13288 sType = src.sType;
13289 pNext = src.pNext;
13290 mode = src.mode;
13291 planeIndex = src.planeIndex;
13292}
13293
13294safe_VkDisplayPlaneInfo2KHR& safe_VkDisplayPlaneInfo2KHR::operator=(const safe_VkDisplayPlaneInfo2KHR& src)
13295{
13296 if (&src == this) return *this;
13297
13298
13299 sType = src.sType;
13300 pNext = src.pNext;
13301 mode = src.mode;
13302 planeIndex = src.planeIndex;
13303
13304 return *this;
13305}
13306
13307safe_VkDisplayPlaneInfo2KHR::~safe_VkDisplayPlaneInfo2KHR()
13308{
13309}
13310
13311void safe_VkDisplayPlaneInfo2KHR::initialize(const VkDisplayPlaneInfo2KHR* in_struct)
13312{
13313 sType = in_struct->sType;
13314 pNext = in_struct->pNext;
13315 mode = in_struct->mode;
13316 planeIndex = in_struct->planeIndex;
13317}
13318
13319void safe_VkDisplayPlaneInfo2KHR::initialize(const safe_VkDisplayPlaneInfo2KHR* src)
13320{
13321 sType = src->sType;
13322 pNext = src->pNext;
13323 mode = src->mode;
13324 planeIndex = src->planeIndex;
13325}
13326
13327safe_VkDisplayPlaneCapabilities2KHR::safe_VkDisplayPlaneCapabilities2KHR(const VkDisplayPlaneCapabilities2KHR* in_struct) :
13328 sType(in_struct->sType),
13329 pNext(in_struct->pNext),
13330 capabilities(in_struct->capabilities)
13331{
13332}
13333
13334safe_VkDisplayPlaneCapabilities2KHR::safe_VkDisplayPlaneCapabilities2KHR()
13335{}
13336
13337safe_VkDisplayPlaneCapabilities2KHR::safe_VkDisplayPlaneCapabilities2KHR(const safe_VkDisplayPlaneCapabilities2KHR& src)
13338{
13339 sType = src.sType;
13340 pNext = src.pNext;
13341 capabilities = src.capabilities;
13342}
13343
13344safe_VkDisplayPlaneCapabilities2KHR& safe_VkDisplayPlaneCapabilities2KHR::operator=(const safe_VkDisplayPlaneCapabilities2KHR& src)
13345{
13346 if (&src == this) return *this;
13347
13348
13349 sType = src.sType;
13350 pNext = src.pNext;
13351 capabilities = src.capabilities;
13352
13353 return *this;
13354}
13355
13356safe_VkDisplayPlaneCapabilities2KHR::~safe_VkDisplayPlaneCapabilities2KHR()
13357{
13358}
13359
13360void safe_VkDisplayPlaneCapabilities2KHR::initialize(const VkDisplayPlaneCapabilities2KHR* in_struct)
13361{
13362 sType = in_struct->sType;
13363 pNext = in_struct->pNext;
13364 capabilities = in_struct->capabilities;
13365}
13366
13367void safe_VkDisplayPlaneCapabilities2KHR::initialize(const safe_VkDisplayPlaneCapabilities2KHR* src)
13368{
13369 sType = src->sType;
13370 pNext = src->pNext;
13371 capabilities = src->capabilities;
13372}
13373
13374safe_VkImageFormatListCreateInfoKHR::safe_VkImageFormatListCreateInfoKHR(const VkImageFormatListCreateInfoKHR* in_struct) :
13375 sType(in_struct->sType),
13376 pNext(in_struct->pNext),
13377 viewFormatCount(in_struct->viewFormatCount),
13378 pViewFormats(nullptr)
13379{
13380 if (in_struct->pViewFormats) {
13381 pViewFormats = new VkFormat[in_struct->viewFormatCount];
13382 memcpy ((void *)pViewFormats, (void *)in_struct->pViewFormats, sizeof(VkFormat)*in_struct->viewFormatCount);
13383 }
13384}
13385
13386safe_VkImageFormatListCreateInfoKHR::safe_VkImageFormatListCreateInfoKHR() :
13387 pViewFormats(nullptr)
13388{}
13389
13390safe_VkImageFormatListCreateInfoKHR::safe_VkImageFormatListCreateInfoKHR(const safe_VkImageFormatListCreateInfoKHR& src)
13391{
13392 sType = src.sType;
13393 pNext = src.pNext;
13394 viewFormatCount = src.viewFormatCount;
13395 pViewFormats = nullptr;
13396 if (src.pViewFormats) {
13397 pViewFormats = new VkFormat[src.viewFormatCount];
13398 memcpy ((void *)pViewFormats, (void *)src.pViewFormats, sizeof(VkFormat)*src.viewFormatCount);
13399 }
13400}
13401
13402safe_VkImageFormatListCreateInfoKHR& safe_VkImageFormatListCreateInfoKHR::operator=(const safe_VkImageFormatListCreateInfoKHR& src)
13403{
13404 if (&src == this) return *this;
13405
13406 if (pViewFormats)
13407 delete[] pViewFormats;
13408
13409 sType = src.sType;
13410 pNext = src.pNext;
13411 viewFormatCount = src.viewFormatCount;
13412 pViewFormats = nullptr;
13413 if (src.pViewFormats) {
13414 pViewFormats = new VkFormat[src.viewFormatCount];
13415 memcpy ((void *)pViewFormats, (void *)src.pViewFormats, sizeof(VkFormat)*src.viewFormatCount);
13416 }
13417
13418 return *this;
13419}
13420
13421safe_VkImageFormatListCreateInfoKHR::~safe_VkImageFormatListCreateInfoKHR()
13422{
13423 if (pViewFormats)
13424 delete[] pViewFormats;
13425}
13426
13427void safe_VkImageFormatListCreateInfoKHR::initialize(const VkImageFormatListCreateInfoKHR* in_struct)
13428{
13429 sType = in_struct->sType;
13430 pNext = in_struct->pNext;
13431 viewFormatCount = in_struct->viewFormatCount;
13432 pViewFormats = nullptr;
13433 if (in_struct->pViewFormats) {
13434 pViewFormats = new VkFormat[in_struct->viewFormatCount];
13435 memcpy ((void *)pViewFormats, (void *)in_struct->pViewFormats, sizeof(VkFormat)*in_struct->viewFormatCount);
13436 }
13437}
13438
13439void safe_VkImageFormatListCreateInfoKHR::initialize(const safe_VkImageFormatListCreateInfoKHR* src)
13440{
13441 sType = src->sType;
13442 pNext = src->pNext;
13443 viewFormatCount = src->viewFormatCount;
13444 pViewFormats = nullptr;
13445 if (src->pViewFormats) {
13446 pViewFormats = new VkFormat[src->viewFormatCount];
13447 memcpy ((void *)pViewFormats, (void *)src->pViewFormats, sizeof(VkFormat)*src->viewFormatCount);
13448 }
13449}
13450
13451safe_VkPhysicalDevice8BitStorageFeaturesKHR::safe_VkPhysicalDevice8BitStorageFeaturesKHR(const VkPhysicalDevice8BitStorageFeaturesKHR* in_struct) :
13452 sType(in_struct->sType),
13453 pNext(in_struct->pNext),
13454 storageBuffer8BitAccess(in_struct->storageBuffer8BitAccess),
13455 uniformAndStorageBuffer8BitAccess(in_struct->uniformAndStorageBuffer8BitAccess),
13456 storagePushConstant8(in_struct->storagePushConstant8)
13457{
13458}
13459
13460safe_VkPhysicalDevice8BitStorageFeaturesKHR::safe_VkPhysicalDevice8BitStorageFeaturesKHR()
13461{}
13462
13463safe_VkPhysicalDevice8BitStorageFeaturesKHR::safe_VkPhysicalDevice8BitStorageFeaturesKHR(const safe_VkPhysicalDevice8BitStorageFeaturesKHR& src)
13464{
13465 sType = src.sType;
13466 pNext = src.pNext;
13467 storageBuffer8BitAccess = src.storageBuffer8BitAccess;
13468 uniformAndStorageBuffer8BitAccess = src.uniformAndStorageBuffer8BitAccess;
13469 storagePushConstant8 = src.storagePushConstant8;
13470}
13471
13472safe_VkPhysicalDevice8BitStorageFeaturesKHR& safe_VkPhysicalDevice8BitStorageFeaturesKHR::operator=(const safe_VkPhysicalDevice8BitStorageFeaturesKHR& src)
13473{
13474 if (&src == this) return *this;
13475
13476
13477 sType = src.sType;
13478 pNext = src.pNext;
13479 storageBuffer8BitAccess = src.storageBuffer8BitAccess;
13480 uniformAndStorageBuffer8BitAccess = src.uniformAndStorageBuffer8BitAccess;
13481 storagePushConstant8 = src.storagePushConstant8;
13482
13483 return *this;
13484}
13485
13486safe_VkPhysicalDevice8BitStorageFeaturesKHR::~safe_VkPhysicalDevice8BitStorageFeaturesKHR()
13487{
13488}
13489
13490void safe_VkPhysicalDevice8BitStorageFeaturesKHR::initialize(const VkPhysicalDevice8BitStorageFeaturesKHR* in_struct)
13491{
13492 sType = in_struct->sType;
13493 pNext = in_struct->pNext;
13494 storageBuffer8BitAccess = in_struct->storageBuffer8BitAccess;
13495 uniformAndStorageBuffer8BitAccess = in_struct->uniformAndStorageBuffer8BitAccess;
13496 storagePushConstant8 = in_struct->storagePushConstant8;
13497}
13498
13499void safe_VkPhysicalDevice8BitStorageFeaturesKHR::initialize(const safe_VkPhysicalDevice8BitStorageFeaturesKHR* src)
13500{
13501 sType = src->sType;
13502 pNext = src->pNext;
13503 storageBuffer8BitAccess = src->storageBuffer8BitAccess;
13504 uniformAndStorageBuffer8BitAccess = src->uniformAndStorageBuffer8BitAccess;
13505 storagePushConstant8 = src->storagePushConstant8;
13506}
13507
13508safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR::safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR(const VkPhysicalDeviceShaderAtomicInt64FeaturesKHR* in_struct) :
13509 sType(in_struct->sType),
13510 pNext(in_struct->pNext),
13511 shaderBufferInt64Atomics(in_struct->shaderBufferInt64Atomics),
13512 shaderSharedInt64Atomics(in_struct->shaderSharedInt64Atomics)
13513{
13514}
13515
13516safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR::safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR()
13517{}
13518
13519safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR::safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR(const safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR& src)
13520{
13521 sType = src.sType;
13522 pNext = src.pNext;
13523 shaderBufferInt64Atomics = src.shaderBufferInt64Atomics;
13524 shaderSharedInt64Atomics = src.shaderSharedInt64Atomics;
13525}
13526
13527safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR& safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR::operator=(const safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR& src)
13528{
13529 if (&src == this) return *this;
13530
13531
13532 sType = src.sType;
13533 pNext = src.pNext;
13534 shaderBufferInt64Atomics = src.shaderBufferInt64Atomics;
13535 shaderSharedInt64Atomics = src.shaderSharedInt64Atomics;
13536
13537 return *this;
13538}
13539
13540safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR::~safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR()
13541{
13542}
13543
13544void safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR::initialize(const VkPhysicalDeviceShaderAtomicInt64FeaturesKHR* in_struct)
13545{
13546 sType = in_struct->sType;
13547 pNext = in_struct->pNext;
13548 shaderBufferInt64Atomics = in_struct->shaderBufferInt64Atomics;
13549 shaderSharedInt64Atomics = in_struct->shaderSharedInt64Atomics;
13550}
13551
13552void safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR::initialize(const safe_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR* src)
13553{
13554 sType = src->sType;
13555 pNext = src->pNext;
13556 shaderBufferInt64Atomics = src->shaderBufferInt64Atomics;
13557 shaderSharedInt64Atomics = src->shaderSharedInt64Atomics;
13558}
13559
13560safe_VkPhysicalDeviceDriverPropertiesKHR::safe_VkPhysicalDeviceDriverPropertiesKHR(const VkPhysicalDeviceDriverPropertiesKHR* in_struct) :
13561 sType(in_struct->sType),
13562 pNext(in_struct->pNext),
13563 driverID(in_struct->driverID),
13564 conformanceVersion(in_struct->conformanceVersion)
13565{
13566 for (uint32_t i=0; i<VK_MAX_DRIVER_NAME_SIZE_KHR; ++i) {
13567 driverName[i] = in_struct->driverName[i];
13568 }
13569 for (uint32_t i=0; i<VK_MAX_DRIVER_INFO_SIZE_KHR; ++i) {
13570 driverInfo[i] = in_struct->driverInfo[i];
13571 }
13572}
13573
13574safe_VkPhysicalDeviceDriverPropertiesKHR::safe_VkPhysicalDeviceDriverPropertiesKHR()
13575{}
13576
13577safe_VkPhysicalDeviceDriverPropertiesKHR::safe_VkPhysicalDeviceDriverPropertiesKHR(const safe_VkPhysicalDeviceDriverPropertiesKHR& src)
13578{
13579 sType = src.sType;
13580 pNext = src.pNext;
13581 driverID = src.driverID;
13582 conformanceVersion = src.conformanceVersion;
13583 for (uint32_t i=0; i<VK_MAX_DRIVER_NAME_SIZE_KHR; ++i) {
13584 driverName[i] = src.driverName[i];
13585 }
13586 for (uint32_t i=0; i<VK_MAX_DRIVER_INFO_SIZE_KHR; ++i) {
13587 driverInfo[i] = src.driverInfo[i];
13588 }
13589}
13590
13591safe_VkPhysicalDeviceDriverPropertiesKHR& safe_VkPhysicalDeviceDriverPropertiesKHR::operator=(const safe_VkPhysicalDeviceDriverPropertiesKHR& src)
13592{
13593 if (&src == this) return *this;
13594
13595
13596 sType = src.sType;
13597 pNext = src.pNext;
13598 driverID = src.driverID;
13599 conformanceVersion = src.conformanceVersion;
13600 for (uint32_t i=0; i<VK_MAX_DRIVER_NAME_SIZE_KHR; ++i) {
13601 driverName[i] = src.driverName[i];
13602 }
13603 for (uint32_t i=0; i<VK_MAX_DRIVER_INFO_SIZE_KHR; ++i) {
13604 driverInfo[i] = src.driverInfo[i];
13605 }
13606
13607 return *this;
13608}
13609
13610safe_VkPhysicalDeviceDriverPropertiesKHR::~safe_VkPhysicalDeviceDriverPropertiesKHR()
13611{
13612}
13613
13614void safe_VkPhysicalDeviceDriverPropertiesKHR::initialize(const VkPhysicalDeviceDriverPropertiesKHR* in_struct)
13615{
13616 sType = in_struct->sType;
13617 pNext = in_struct->pNext;
13618 driverID = in_struct->driverID;
13619 conformanceVersion = in_struct->conformanceVersion;
13620 for (uint32_t i=0; i<VK_MAX_DRIVER_NAME_SIZE_KHR; ++i) {
13621 driverName[i] = in_struct->driverName[i];
13622 }
13623 for (uint32_t i=0; i<VK_MAX_DRIVER_INFO_SIZE_KHR; ++i) {
13624 driverInfo[i] = in_struct->driverInfo[i];
13625 }
13626}
13627
13628void safe_VkPhysicalDeviceDriverPropertiesKHR::initialize(const safe_VkPhysicalDeviceDriverPropertiesKHR* src)
13629{
13630 sType = src->sType;
13631 pNext = src->pNext;
13632 driverID = src->driverID;
13633 conformanceVersion = src->conformanceVersion;
13634 for (uint32_t i=0; i<VK_MAX_DRIVER_NAME_SIZE_KHR; ++i) {
13635 driverName[i] = src->driverName[i];
13636 }
13637 for (uint32_t i=0; i<VK_MAX_DRIVER_INFO_SIZE_KHR; ++i) {
13638 driverInfo[i] = src->driverInfo[i];
13639 }
13640}
13641
13642safe_VkPhysicalDeviceFloatControlsPropertiesKHR::safe_VkPhysicalDeviceFloatControlsPropertiesKHR(const VkPhysicalDeviceFloatControlsPropertiesKHR* in_struct) :
13643 sType(in_struct->sType),
13644 pNext(in_struct->pNext),
13645 separateDenormSettings(in_struct->separateDenormSettings),
13646 separateRoundingModeSettings(in_struct->separateRoundingModeSettings),
13647 shaderSignedZeroInfNanPreserveFloat16(in_struct->shaderSignedZeroInfNanPreserveFloat16),
13648 shaderSignedZeroInfNanPreserveFloat32(in_struct->shaderSignedZeroInfNanPreserveFloat32),
13649 shaderSignedZeroInfNanPreserveFloat64(in_struct->shaderSignedZeroInfNanPreserveFloat64),
13650 shaderDenormPreserveFloat16(in_struct->shaderDenormPreserveFloat16),
13651 shaderDenormPreserveFloat32(in_struct->shaderDenormPreserveFloat32),
13652 shaderDenormPreserveFloat64(in_struct->shaderDenormPreserveFloat64),
13653 shaderDenormFlushToZeroFloat16(in_struct->shaderDenormFlushToZeroFloat16),
13654 shaderDenormFlushToZeroFloat32(in_struct->shaderDenormFlushToZeroFloat32),
13655 shaderDenormFlushToZeroFloat64(in_struct->shaderDenormFlushToZeroFloat64),
13656 shaderRoundingModeRTEFloat16(in_struct->shaderRoundingModeRTEFloat16),
13657 shaderRoundingModeRTEFloat32(in_struct->shaderRoundingModeRTEFloat32),
13658 shaderRoundingModeRTEFloat64(in_struct->shaderRoundingModeRTEFloat64),
13659 shaderRoundingModeRTZFloat16(in_struct->shaderRoundingModeRTZFloat16),
13660 shaderRoundingModeRTZFloat32(in_struct->shaderRoundingModeRTZFloat32),
13661 shaderRoundingModeRTZFloat64(in_struct->shaderRoundingModeRTZFloat64)
13662{
13663}
13664
13665safe_VkPhysicalDeviceFloatControlsPropertiesKHR::safe_VkPhysicalDeviceFloatControlsPropertiesKHR()
13666{}
13667
13668safe_VkPhysicalDeviceFloatControlsPropertiesKHR::safe_VkPhysicalDeviceFloatControlsPropertiesKHR(const safe_VkPhysicalDeviceFloatControlsPropertiesKHR& src)
13669{
13670 sType = src.sType;
13671 pNext = src.pNext;
13672 separateDenormSettings = src.separateDenormSettings;
13673 separateRoundingModeSettings = src.separateRoundingModeSettings;
13674 shaderSignedZeroInfNanPreserveFloat16 = src.shaderSignedZeroInfNanPreserveFloat16;
13675 shaderSignedZeroInfNanPreserveFloat32 = src.shaderSignedZeroInfNanPreserveFloat32;
13676 shaderSignedZeroInfNanPreserveFloat64 = src.shaderSignedZeroInfNanPreserveFloat64;
13677 shaderDenormPreserveFloat16 = src.shaderDenormPreserveFloat16;
13678 shaderDenormPreserveFloat32 = src.shaderDenormPreserveFloat32;
13679 shaderDenormPreserveFloat64 = src.shaderDenormPreserveFloat64;
13680 shaderDenormFlushToZeroFloat16 = src.shaderDenormFlushToZeroFloat16;
13681 shaderDenormFlushToZeroFloat32 = src.shaderDenormFlushToZeroFloat32;
13682 shaderDenormFlushToZeroFloat64 = src.shaderDenormFlushToZeroFloat64;
13683 shaderRoundingModeRTEFloat16 = src.shaderRoundingModeRTEFloat16;
13684 shaderRoundingModeRTEFloat32 = src.shaderRoundingModeRTEFloat32;
13685 shaderRoundingModeRTEFloat64 = src.shaderRoundingModeRTEFloat64;
13686 shaderRoundingModeRTZFloat16 = src.shaderRoundingModeRTZFloat16;
13687 shaderRoundingModeRTZFloat32 = src.shaderRoundingModeRTZFloat32;
13688 shaderRoundingModeRTZFloat64 = src.shaderRoundingModeRTZFloat64;
13689}
13690
13691safe_VkPhysicalDeviceFloatControlsPropertiesKHR& safe_VkPhysicalDeviceFloatControlsPropertiesKHR::operator=(const safe_VkPhysicalDeviceFloatControlsPropertiesKHR& src)
13692{
13693 if (&src == this) return *this;
13694
13695
13696 sType = src.sType;
13697 pNext = src.pNext;
13698 separateDenormSettings = src.separateDenormSettings;
13699 separateRoundingModeSettings = src.separateRoundingModeSettings;
13700 shaderSignedZeroInfNanPreserveFloat16 = src.shaderSignedZeroInfNanPreserveFloat16;
13701 shaderSignedZeroInfNanPreserveFloat32 = src.shaderSignedZeroInfNanPreserveFloat32;
13702 shaderSignedZeroInfNanPreserveFloat64 = src.shaderSignedZeroInfNanPreserveFloat64;
13703 shaderDenormPreserveFloat16 = src.shaderDenormPreserveFloat16;
13704 shaderDenormPreserveFloat32 = src.shaderDenormPreserveFloat32;
13705 shaderDenormPreserveFloat64 = src.shaderDenormPreserveFloat64;
13706 shaderDenormFlushToZeroFloat16 = src.shaderDenormFlushToZeroFloat16;
13707 shaderDenormFlushToZeroFloat32 = src.shaderDenormFlushToZeroFloat32;
13708 shaderDenormFlushToZeroFloat64 = src.shaderDenormFlushToZeroFloat64;
13709 shaderRoundingModeRTEFloat16 = src.shaderRoundingModeRTEFloat16;
13710 shaderRoundingModeRTEFloat32 = src.shaderRoundingModeRTEFloat32;
13711 shaderRoundingModeRTEFloat64 = src.shaderRoundingModeRTEFloat64;
13712 shaderRoundingModeRTZFloat16 = src.shaderRoundingModeRTZFloat16;
13713 shaderRoundingModeRTZFloat32 = src.shaderRoundingModeRTZFloat32;
13714 shaderRoundingModeRTZFloat64 = src.shaderRoundingModeRTZFloat64;
13715
13716 return *this;
13717}
13718
13719safe_VkPhysicalDeviceFloatControlsPropertiesKHR::~safe_VkPhysicalDeviceFloatControlsPropertiesKHR()
13720{
13721}
13722
13723void safe_VkPhysicalDeviceFloatControlsPropertiesKHR::initialize(const VkPhysicalDeviceFloatControlsPropertiesKHR* in_struct)
13724{
13725 sType = in_struct->sType;
13726 pNext = in_struct->pNext;
13727 separateDenormSettings = in_struct->separateDenormSettings;
13728 separateRoundingModeSettings = in_struct->separateRoundingModeSettings;
13729 shaderSignedZeroInfNanPreserveFloat16 = in_struct->shaderSignedZeroInfNanPreserveFloat16;
13730 shaderSignedZeroInfNanPreserveFloat32 = in_struct->shaderSignedZeroInfNanPreserveFloat32;
13731 shaderSignedZeroInfNanPreserveFloat64 = in_struct->shaderSignedZeroInfNanPreserveFloat64;
13732 shaderDenormPreserveFloat16 = in_struct->shaderDenormPreserveFloat16;
13733 shaderDenormPreserveFloat32 = in_struct->shaderDenormPreserveFloat32;
13734 shaderDenormPreserveFloat64 = in_struct->shaderDenormPreserveFloat64;
13735 shaderDenormFlushToZeroFloat16 = in_struct->shaderDenormFlushToZeroFloat16;
13736 shaderDenormFlushToZeroFloat32 = in_struct->shaderDenormFlushToZeroFloat32;
13737 shaderDenormFlushToZeroFloat64 = in_struct->shaderDenormFlushToZeroFloat64;
13738 shaderRoundingModeRTEFloat16 = in_struct->shaderRoundingModeRTEFloat16;
13739 shaderRoundingModeRTEFloat32 = in_struct->shaderRoundingModeRTEFloat32;
13740 shaderRoundingModeRTEFloat64 = in_struct->shaderRoundingModeRTEFloat64;
13741 shaderRoundingModeRTZFloat16 = in_struct->shaderRoundingModeRTZFloat16;
13742 shaderRoundingModeRTZFloat32 = in_struct->shaderRoundingModeRTZFloat32;
13743 shaderRoundingModeRTZFloat64 = in_struct->shaderRoundingModeRTZFloat64;
13744}
13745
13746void safe_VkPhysicalDeviceFloatControlsPropertiesKHR::initialize(const safe_VkPhysicalDeviceFloatControlsPropertiesKHR* src)
13747{
13748 sType = src->sType;
13749 pNext = src->pNext;
13750 separateDenormSettings = src->separateDenormSettings;
13751 separateRoundingModeSettings = src->separateRoundingModeSettings;
13752 shaderSignedZeroInfNanPreserveFloat16 = src->shaderSignedZeroInfNanPreserveFloat16;
13753 shaderSignedZeroInfNanPreserveFloat32 = src->shaderSignedZeroInfNanPreserveFloat32;
13754 shaderSignedZeroInfNanPreserveFloat64 = src->shaderSignedZeroInfNanPreserveFloat64;
13755 shaderDenormPreserveFloat16 = src->shaderDenormPreserveFloat16;
13756 shaderDenormPreserveFloat32 = src->shaderDenormPreserveFloat32;
13757 shaderDenormPreserveFloat64 = src->shaderDenormPreserveFloat64;
13758 shaderDenormFlushToZeroFloat16 = src->shaderDenormFlushToZeroFloat16;
13759 shaderDenormFlushToZeroFloat32 = src->shaderDenormFlushToZeroFloat32;
13760 shaderDenormFlushToZeroFloat64 = src->shaderDenormFlushToZeroFloat64;
13761 shaderRoundingModeRTEFloat16 = src->shaderRoundingModeRTEFloat16;
13762 shaderRoundingModeRTEFloat32 = src->shaderRoundingModeRTEFloat32;
13763 shaderRoundingModeRTEFloat64 = src->shaderRoundingModeRTEFloat64;
13764 shaderRoundingModeRTZFloat16 = src->shaderRoundingModeRTZFloat16;
13765 shaderRoundingModeRTZFloat32 = src->shaderRoundingModeRTZFloat32;
13766 shaderRoundingModeRTZFloat64 = src->shaderRoundingModeRTZFloat64;
13767}
13768
13769safe_VkSubpassDescriptionDepthStencilResolveKHR::safe_VkSubpassDescriptionDepthStencilResolveKHR(const VkSubpassDescriptionDepthStencilResolveKHR* in_struct) :
13770 sType(in_struct->sType),
13771 pNext(in_struct->pNext),
13772 depthResolveMode(in_struct->depthResolveMode),
13773 stencilResolveMode(in_struct->stencilResolveMode)
13774{
13775 if (in_struct->pDepthStencilResolveAttachment)
13776 pDepthStencilResolveAttachment = new safe_VkAttachmentReference2KHR(in_struct->pDepthStencilResolveAttachment);
13777 else
13778 pDepthStencilResolveAttachment = NULL;
13779}
13780
13781safe_VkSubpassDescriptionDepthStencilResolveKHR::safe_VkSubpassDescriptionDepthStencilResolveKHR()
13782{}
13783
13784safe_VkSubpassDescriptionDepthStencilResolveKHR::safe_VkSubpassDescriptionDepthStencilResolveKHR(const safe_VkSubpassDescriptionDepthStencilResolveKHR& src)
13785{
13786 sType = src.sType;
13787 pNext = src.pNext;
13788 depthResolveMode = src.depthResolveMode;
13789 stencilResolveMode = src.stencilResolveMode;
13790 if (src.pDepthStencilResolveAttachment)
13791 pDepthStencilResolveAttachment = new safe_VkAttachmentReference2KHR(*src.pDepthStencilResolveAttachment);
13792 else
13793 pDepthStencilResolveAttachment = NULL;
13794}
13795
13796safe_VkSubpassDescriptionDepthStencilResolveKHR& safe_VkSubpassDescriptionDepthStencilResolveKHR::operator=(const safe_VkSubpassDescriptionDepthStencilResolveKHR& src)
13797{
13798 if (&src == this) return *this;
13799
13800 if (pDepthStencilResolveAttachment)
13801 delete pDepthStencilResolveAttachment;
13802
13803 sType = src.sType;
13804 pNext = src.pNext;
13805 depthResolveMode = src.depthResolveMode;
13806 stencilResolveMode = src.stencilResolveMode;
13807 if (src.pDepthStencilResolveAttachment)
13808 pDepthStencilResolveAttachment = new safe_VkAttachmentReference2KHR(*src.pDepthStencilResolveAttachment);
13809 else
13810 pDepthStencilResolveAttachment = NULL;
13811
13812 return *this;
13813}
13814
13815safe_VkSubpassDescriptionDepthStencilResolveKHR::~safe_VkSubpassDescriptionDepthStencilResolveKHR()
13816{
13817 if (pDepthStencilResolveAttachment)
13818 delete pDepthStencilResolveAttachment;
13819}
13820
13821void safe_VkSubpassDescriptionDepthStencilResolveKHR::initialize(const VkSubpassDescriptionDepthStencilResolveKHR* in_struct)
13822{
13823 sType = in_struct->sType;
13824 pNext = in_struct->pNext;
13825 depthResolveMode = in_struct->depthResolveMode;
13826 stencilResolveMode = in_struct->stencilResolveMode;
13827 if (in_struct->pDepthStencilResolveAttachment)
13828 pDepthStencilResolveAttachment = new safe_VkAttachmentReference2KHR(in_struct->pDepthStencilResolveAttachment);
13829 else
13830 pDepthStencilResolveAttachment = NULL;
13831}
13832
13833void safe_VkSubpassDescriptionDepthStencilResolveKHR::initialize(const safe_VkSubpassDescriptionDepthStencilResolveKHR* src)
13834{
13835 sType = src->sType;
13836 pNext = src->pNext;
13837 depthResolveMode = src->depthResolveMode;
13838 stencilResolveMode = src->stencilResolveMode;
13839 if (src->pDepthStencilResolveAttachment)
13840 pDepthStencilResolveAttachment = new safe_VkAttachmentReference2KHR(*src->pDepthStencilResolveAttachment);
13841 else
13842 pDepthStencilResolveAttachment = NULL;
13843}
13844
13845safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR::safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR(const VkPhysicalDeviceDepthStencilResolvePropertiesKHR* in_struct) :
13846 sType(in_struct->sType),
13847 pNext(in_struct->pNext),
13848 supportedDepthResolveModes(in_struct->supportedDepthResolveModes),
13849 supportedStencilResolveModes(in_struct->supportedStencilResolveModes),
13850 independentResolveNone(in_struct->independentResolveNone),
13851 independentResolve(in_struct->independentResolve)
13852{
13853}
13854
13855safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR::safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR()
13856{}
13857
13858safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR::safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR(const safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR& src)
13859{
13860 sType = src.sType;
13861 pNext = src.pNext;
13862 supportedDepthResolveModes = src.supportedDepthResolveModes;
13863 supportedStencilResolveModes = src.supportedStencilResolveModes;
13864 independentResolveNone = src.independentResolveNone;
13865 independentResolve = src.independentResolve;
13866}
13867
13868safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR& safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR::operator=(const safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR& src)
13869{
13870 if (&src == this) return *this;
13871
13872
13873 sType = src.sType;
13874 pNext = src.pNext;
13875 supportedDepthResolveModes = src.supportedDepthResolveModes;
13876 supportedStencilResolveModes = src.supportedStencilResolveModes;
13877 independentResolveNone = src.independentResolveNone;
13878 independentResolve = src.independentResolve;
13879
13880 return *this;
13881}
13882
13883safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR::~safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR()
13884{
13885}
13886
13887void safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR::initialize(const VkPhysicalDeviceDepthStencilResolvePropertiesKHR* in_struct)
13888{
13889 sType = in_struct->sType;
13890 pNext = in_struct->pNext;
13891 supportedDepthResolveModes = in_struct->supportedDepthResolveModes;
13892 supportedStencilResolveModes = in_struct->supportedStencilResolveModes;
13893 independentResolveNone = in_struct->independentResolveNone;
13894 independentResolve = in_struct->independentResolve;
13895}
13896
13897void safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR::initialize(const safe_VkPhysicalDeviceDepthStencilResolvePropertiesKHR* src)
13898{
13899 sType = src->sType;
13900 pNext = src->pNext;
13901 supportedDepthResolveModes = src->supportedDepthResolveModes;
13902 supportedStencilResolveModes = src->supportedStencilResolveModes;
13903 independentResolveNone = src->independentResolveNone;
13904 independentResolve = src->independentResolve;
13905}
13906
13907safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR::safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR(const VkPhysicalDeviceVulkanMemoryModelFeaturesKHR* in_struct) :
13908 sType(in_struct->sType),
13909 pNext(in_struct->pNext),
13910 vulkanMemoryModel(in_struct->vulkanMemoryModel),
13911 vulkanMemoryModelDeviceScope(in_struct->vulkanMemoryModelDeviceScope),
13912 vulkanMemoryModelAvailabilityVisibilityChains(in_struct->vulkanMemoryModelAvailabilityVisibilityChains)
13913{
13914}
13915
13916safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR::safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR()
13917{}
13918
13919safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR::safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR(const safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR& src)
13920{
13921 sType = src.sType;
13922 pNext = src.pNext;
13923 vulkanMemoryModel = src.vulkanMemoryModel;
13924 vulkanMemoryModelDeviceScope = src.vulkanMemoryModelDeviceScope;
13925 vulkanMemoryModelAvailabilityVisibilityChains = src.vulkanMemoryModelAvailabilityVisibilityChains;
13926}
13927
13928safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR& safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR::operator=(const safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR& src)
13929{
13930 if (&src == this) return *this;
13931
13932
13933 sType = src.sType;
13934 pNext = src.pNext;
13935 vulkanMemoryModel = src.vulkanMemoryModel;
13936 vulkanMemoryModelDeviceScope = src.vulkanMemoryModelDeviceScope;
13937 vulkanMemoryModelAvailabilityVisibilityChains = src.vulkanMemoryModelAvailabilityVisibilityChains;
13938
13939 return *this;
13940}
13941
13942safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR::~safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR()
13943{
13944}
13945
13946void safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR::initialize(const VkPhysicalDeviceVulkanMemoryModelFeaturesKHR* in_struct)
13947{
13948 sType = in_struct->sType;
13949 pNext = in_struct->pNext;
13950 vulkanMemoryModel = in_struct->vulkanMemoryModel;
13951 vulkanMemoryModelDeviceScope = in_struct->vulkanMemoryModelDeviceScope;
13952 vulkanMemoryModelAvailabilityVisibilityChains = in_struct->vulkanMemoryModelAvailabilityVisibilityChains;
13953}
13954
13955void safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR::initialize(const safe_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR* src)
13956{
13957 sType = src->sType;
13958 pNext = src->pNext;
13959 vulkanMemoryModel = src->vulkanMemoryModel;
13960 vulkanMemoryModelDeviceScope = src->vulkanMemoryModelDeviceScope;
13961 vulkanMemoryModelAvailabilityVisibilityChains = src->vulkanMemoryModelAvailabilityVisibilityChains;
13962}
13963
13964safe_VkSurfaceProtectedCapabilitiesKHR::safe_VkSurfaceProtectedCapabilitiesKHR(const VkSurfaceProtectedCapabilitiesKHR* in_struct) :
13965 sType(in_struct->sType),
13966 pNext(in_struct->pNext),
13967 supportsProtected(in_struct->supportsProtected)
13968{
13969}
13970
13971safe_VkSurfaceProtectedCapabilitiesKHR::safe_VkSurfaceProtectedCapabilitiesKHR()
13972{}
13973
13974safe_VkSurfaceProtectedCapabilitiesKHR::safe_VkSurfaceProtectedCapabilitiesKHR(const safe_VkSurfaceProtectedCapabilitiesKHR& src)
13975{
13976 sType = src.sType;
13977 pNext = src.pNext;
13978 supportsProtected = src.supportsProtected;
13979}
13980
13981safe_VkSurfaceProtectedCapabilitiesKHR& safe_VkSurfaceProtectedCapabilitiesKHR::operator=(const safe_VkSurfaceProtectedCapabilitiesKHR& src)
13982{
13983 if (&src == this) return *this;
13984
13985
13986 sType = src.sType;
13987 pNext = src.pNext;
13988 supportsProtected = src.supportsProtected;
13989
13990 return *this;
13991}
13992
13993safe_VkSurfaceProtectedCapabilitiesKHR::~safe_VkSurfaceProtectedCapabilitiesKHR()
13994{
13995}
13996
13997void safe_VkSurfaceProtectedCapabilitiesKHR::initialize(const VkSurfaceProtectedCapabilitiesKHR* in_struct)
13998{
13999 sType = in_struct->sType;
14000 pNext = in_struct->pNext;
14001 supportsProtected = in_struct->supportsProtected;
14002}
14003
14004void safe_VkSurfaceProtectedCapabilitiesKHR::initialize(const safe_VkSurfaceProtectedCapabilitiesKHR* src)
14005{
14006 sType = src->sType;
14007 pNext = src->pNext;
14008 supportsProtected = src->supportsProtected;
14009}
14010
14011safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR::safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR(const VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR* in_struct) :
14012 sType(in_struct->sType),
14013 pNext(in_struct->pNext),
14014 uniformBufferStandardLayout(in_struct->uniformBufferStandardLayout)
14015{
14016}
14017
14018safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR::safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR()
14019{}
14020
14021safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR::safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR(const safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR& src)
14022{
14023 sType = src.sType;
14024 pNext = src.pNext;
14025 uniformBufferStandardLayout = src.uniformBufferStandardLayout;
14026}
14027
14028safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR& safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR::operator=(const safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR& src)
14029{
14030 if (&src == this) return *this;
14031
14032
14033 sType = src.sType;
14034 pNext = src.pNext;
14035 uniformBufferStandardLayout = src.uniformBufferStandardLayout;
14036
14037 return *this;
14038}
14039
14040safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR::~safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR()
14041{
14042}
14043
14044void safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR::initialize(const VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR* in_struct)
14045{
14046 sType = in_struct->sType;
14047 pNext = in_struct->pNext;
14048 uniformBufferStandardLayout = in_struct->uniformBufferStandardLayout;
14049}
14050
14051void safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR::initialize(const safe_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR* src)
14052{
14053 sType = src->sType;
14054 pNext = src->pNext;
14055 uniformBufferStandardLayout = src->uniformBufferStandardLayout;
14056}
14057
14058safe_VkDebugReportCallbackCreateInfoEXT::safe_VkDebugReportCallbackCreateInfoEXT(const VkDebugReportCallbackCreateInfoEXT* in_struct) :
14059 sType(in_struct->sType),
14060 pNext(in_struct->pNext),
14061 flags(in_struct->flags),
14062 pfnCallback(in_struct->pfnCallback),
14063 pUserData(in_struct->pUserData)
14064{
14065}
14066
14067safe_VkDebugReportCallbackCreateInfoEXT::safe_VkDebugReportCallbackCreateInfoEXT()
14068{}
14069
14070safe_VkDebugReportCallbackCreateInfoEXT::safe_VkDebugReportCallbackCreateInfoEXT(const safe_VkDebugReportCallbackCreateInfoEXT& src)
14071{
14072 sType = src.sType;
14073 pNext = src.pNext;
14074 flags = src.flags;
14075 pfnCallback = src.pfnCallback;
14076 pUserData = src.pUserData;
14077}
14078
14079safe_VkDebugReportCallbackCreateInfoEXT& safe_VkDebugReportCallbackCreateInfoEXT::operator=(const safe_VkDebugReportCallbackCreateInfoEXT& src)
14080{
14081 if (&src == this) return *this;
14082
14083
14084 sType = src.sType;
14085 pNext = src.pNext;
14086 flags = src.flags;
14087 pfnCallback = src.pfnCallback;
14088 pUserData = src.pUserData;
14089
14090 return *this;
14091}
14092
14093safe_VkDebugReportCallbackCreateInfoEXT::~safe_VkDebugReportCallbackCreateInfoEXT()
14094{
14095}
14096
14097void safe_VkDebugReportCallbackCreateInfoEXT::initialize(const VkDebugReportCallbackCreateInfoEXT* in_struct)
14098{
14099 sType = in_struct->sType;
14100 pNext = in_struct->pNext;
14101 flags = in_struct->flags;
14102 pfnCallback = in_struct->pfnCallback;
14103 pUserData = in_struct->pUserData;
14104}
14105
14106void safe_VkDebugReportCallbackCreateInfoEXT::initialize(const safe_VkDebugReportCallbackCreateInfoEXT* src)
14107{
14108 sType = src->sType;
14109 pNext = src->pNext;
14110 flags = src->flags;
14111 pfnCallback = src->pfnCallback;
14112 pUserData = src->pUserData;
14113}
14114
14115safe_VkPipelineRasterizationStateRasterizationOrderAMD::safe_VkPipelineRasterizationStateRasterizationOrderAMD(const VkPipelineRasterizationStateRasterizationOrderAMD* in_struct) :
14116 sType(in_struct->sType),
14117 pNext(in_struct->pNext),
14118 rasterizationOrder(in_struct->rasterizationOrder)
14119{
14120}
14121
14122safe_VkPipelineRasterizationStateRasterizationOrderAMD::safe_VkPipelineRasterizationStateRasterizationOrderAMD()
14123{}
14124
14125safe_VkPipelineRasterizationStateRasterizationOrderAMD::safe_VkPipelineRasterizationStateRasterizationOrderAMD(const safe_VkPipelineRasterizationStateRasterizationOrderAMD& src)
14126{
14127 sType = src.sType;
14128 pNext = src.pNext;
14129 rasterizationOrder = src.rasterizationOrder;
14130}
14131
14132safe_VkPipelineRasterizationStateRasterizationOrderAMD& safe_VkPipelineRasterizationStateRasterizationOrderAMD::operator=(const safe_VkPipelineRasterizationStateRasterizationOrderAMD& src)
14133{
14134 if (&src == this) return *this;
14135
14136
14137 sType = src.sType;
14138 pNext = src.pNext;
14139 rasterizationOrder = src.rasterizationOrder;
14140
14141 return *this;
14142}
14143
14144safe_VkPipelineRasterizationStateRasterizationOrderAMD::~safe_VkPipelineRasterizationStateRasterizationOrderAMD()
14145{
14146}
14147
14148void safe_VkPipelineRasterizationStateRasterizationOrderAMD::initialize(const VkPipelineRasterizationStateRasterizationOrderAMD* in_struct)
14149{
14150 sType = in_struct->sType;
14151 pNext = in_struct->pNext;
14152 rasterizationOrder = in_struct->rasterizationOrder;
14153}
14154
14155void safe_VkPipelineRasterizationStateRasterizationOrderAMD::initialize(const safe_VkPipelineRasterizationStateRasterizationOrderAMD* src)
14156{
14157 sType = src->sType;
14158 pNext = src->pNext;
14159 rasterizationOrder = src->rasterizationOrder;
14160}
14161
14162safe_VkDebugMarkerObjectNameInfoEXT::safe_VkDebugMarkerObjectNameInfoEXT(const VkDebugMarkerObjectNameInfoEXT* in_struct) :
14163 sType(in_struct->sType),
14164 pNext(in_struct->pNext),
14165 objectType(in_struct->objectType),
14166 object(in_struct->object),
14167 pObjectName(in_struct->pObjectName)
14168{
14169}
14170
14171safe_VkDebugMarkerObjectNameInfoEXT::safe_VkDebugMarkerObjectNameInfoEXT()
14172{}
14173
14174safe_VkDebugMarkerObjectNameInfoEXT::safe_VkDebugMarkerObjectNameInfoEXT(const safe_VkDebugMarkerObjectNameInfoEXT& src)
14175{
14176 sType = src.sType;
14177 pNext = src.pNext;
14178 objectType = src.objectType;
14179 object = src.object;
14180 pObjectName = src.pObjectName;
14181}
14182
14183safe_VkDebugMarkerObjectNameInfoEXT& safe_VkDebugMarkerObjectNameInfoEXT::operator=(const safe_VkDebugMarkerObjectNameInfoEXT& src)
14184{
14185 if (&src == this) return *this;
14186
14187
14188 sType = src.sType;
14189 pNext = src.pNext;
14190 objectType = src.objectType;
14191 object = src.object;
14192 pObjectName = src.pObjectName;
14193
14194 return *this;
14195}
14196
14197safe_VkDebugMarkerObjectNameInfoEXT::~safe_VkDebugMarkerObjectNameInfoEXT()
14198{
14199}
14200
14201void safe_VkDebugMarkerObjectNameInfoEXT::initialize(const VkDebugMarkerObjectNameInfoEXT* in_struct)
14202{
14203 sType = in_struct->sType;
14204 pNext = in_struct->pNext;
14205 objectType = in_struct->objectType;
14206 object = in_struct->object;
14207 pObjectName = in_struct->pObjectName;
14208}
14209
14210void safe_VkDebugMarkerObjectNameInfoEXT::initialize(const safe_VkDebugMarkerObjectNameInfoEXT* src)
14211{
14212 sType = src->sType;
14213 pNext = src->pNext;
14214 objectType = src->objectType;
14215 object = src->object;
14216 pObjectName = src->pObjectName;
14217}
14218
14219safe_VkDebugMarkerObjectTagInfoEXT::safe_VkDebugMarkerObjectTagInfoEXT(const VkDebugMarkerObjectTagInfoEXT* in_struct) :
14220 sType(in_struct->sType),
14221 pNext(in_struct->pNext),
14222 objectType(in_struct->objectType),
14223 object(in_struct->object),
14224 tagName(in_struct->tagName),
14225 tagSize(in_struct->tagSize),
14226 pTag(in_struct->pTag)
14227{
14228}
14229
14230safe_VkDebugMarkerObjectTagInfoEXT::safe_VkDebugMarkerObjectTagInfoEXT()
14231{}
14232
14233safe_VkDebugMarkerObjectTagInfoEXT::safe_VkDebugMarkerObjectTagInfoEXT(const safe_VkDebugMarkerObjectTagInfoEXT& src)
14234{
14235 sType = src.sType;
14236 pNext = src.pNext;
14237 objectType = src.objectType;
14238 object = src.object;
14239 tagName = src.tagName;
14240 tagSize = src.tagSize;
14241 pTag = src.pTag;
14242}
14243
14244safe_VkDebugMarkerObjectTagInfoEXT& safe_VkDebugMarkerObjectTagInfoEXT::operator=(const safe_VkDebugMarkerObjectTagInfoEXT& src)
14245{
14246 if (&src == this) return *this;
14247
14248
14249 sType = src.sType;
14250 pNext = src.pNext;
14251 objectType = src.objectType;
14252 object = src.object;
14253 tagName = src.tagName;
14254 tagSize = src.tagSize;
14255 pTag = src.pTag;
14256
14257 return *this;
14258}
14259
14260safe_VkDebugMarkerObjectTagInfoEXT::~safe_VkDebugMarkerObjectTagInfoEXT()
14261{
14262}
14263
14264void safe_VkDebugMarkerObjectTagInfoEXT::initialize(const VkDebugMarkerObjectTagInfoEXT* in_struct)
14265{
14266 sType = in_struct->sType;
14267 pNext = in_struct->pNext;
14268 objectType = in_struct->objectType;
14269 object = in_struct->object;
14270 tagName = in_struct->tagName;
14271 tagSize = in_struct->tagSize;
14272 pTag = in_struct->pTag;
14273}
14274
14275void safe_VkDebugMarkerObjectTagInfoEXT::initialize(const safe_VkDebugMarkerObjectTagInfoEXT* src)
14276{
14277 sType = src->sType;
14278 pNext = src->pNext;
14279 objectType = src->objectType;
14280 object = src->object;
14281 tagName = src->tagName;
14282 tagSize = src->tagSize;
14283 pTag = src->pTag;
14284}
14285
14286safe_VkDebugMarkerMarkerInfoEXT::safe_VkDebugMarkerMarkerInfoEXT(const VkDebugMarkerMarkerInfoEXT* in_struct) :
14287 sType(in_struct->sType),
14288 pNext(in_struct->pNext),
14289 pMarkerName(in_struct->pMarkerName)
14290{
14291 for (uint32_t i=0; i<4; ++i) {
14292 color[i] = in_struct->color[i];
14293 }
14294}
14295
14296safe_VkDebugMarkerMarkerInfoEXT::safe_VkDebugMarkerMarkerInfoEXT()
14297{}
14298
14299safe_VkDebugMarkerMarkerInfoEXT::safe_VkDebugMarkerMarkerInfoEXT(const safe_VkDebugMarkerMarkerInfoEXT& src)
14300{
14301 sType = src.sType;
14302 pNext = src.pNext;
14303 pMarkerName = src.pMarkerName;
14304 for (uint32_t i=0; i<4; ++i) {
14305 color[i] = src.color[i];
14306 }
14307}
14308
14309safe_VkDebugMarkerMarkerInfoEXT& safe_VkDebugMarkerMarkerInfoEXT::operator=(const safe_VkDebugMarkerMarkerInfoEXT& src)
14310{
14311 if (&src == this) return *this;
14312
14313
14314 sType = src.sType;
14315 pNext = src.pNext;
14316 pMarkerName = src.pMarkerName;
14317 for (uint32_t i=0; i<4; ++i) {
14318 color[i] = src.color[i];
14319 }
14320
14321 return *this;
14322}
14323
14324safe_VkDebugMarkerMarkerInfoEXT::~safe_VkDebugMarkerMarkerInfoEXT()
14325{
14326}
14327
14328void safe_VkDebugMarkerMarkerInfoEXT::initialize(const VkDebugMarkerMarkerInfoEXT* in_struct)
14329{
14330 sType = in_struct->sType;
14331 pNext = in_struct->pNext;
14332 pMarkerName = in_struct->pMarkerName;
14333 for (uint32_t i=0; i<4; ++i) {
14334 color[i] = in_struct->color[i];
14335 }
14336}
14337
14338void safe_VkDebugMarkerMarkerInfoEXT::initialize(const safe_VkDebugMarkerMarkerInfoEXT* src)
14339{
14340 sType = src->sType;
14341 pNext = src->pNext;
14342 pMarkerName = src->pMarkerName;
14343 for (uint32_t i=0; i<4; ++i) {
14344 color[i] = src->color[i];
14345 }
14346}
14347
14348safe_VkDedicatedAllocationImageCreateInfoNV::safe_VkDedicatedAllocationImageCreateInfoNV(const VkDedicatedAllocationImageCreateInfoNV* in_struct) :
14349 sType(in_struct->sType),
14350 pNext(in_struct->pNext),
14351 dedicatedAllocation(in_struct->dedicatedAllocation)
14352{
14353}
14354
14355safe_VkDedicatedAllocationImageCreateInfoNV::safe_VkDedicatedAllocationImageCreateInfoNV()
14356{}
14357
14358safe_VkDedicatedAllocationImageCreateInfoNV::safe_VkDedicatedAllocationImageCreateInfoNV(const safe_VkDedicatedAllocationImageCreateInfoNV& src)
14359{
14360 sType = src.sType;
14361 pNext = src.pNext;
14362 dedicatedAllocation = src.dedicatedAllocation;
14363}
14364
14365safe_VkDedicatedAllocationImageCreateInfoNV& safe_VkDedicatedAllocationImageCreateInfoNV::operator=(const safe_VkDedicatedAllocationImageCreateInfoNV& src)
14366{
14367 if (&src == this) return *this;
14368
14369
14370 sType = src.sType;
14371 pNext = src.pNext;
14372 dedicatedAllocation = src.dedicatedAllocation;
14373
14374 return *this;
14375}
14376
14377safe_VkDedicatedAllocationImageCreateInfoNV::~safe_VkDedicatedAllocationImageCreateInfoNV()
14378{
14379}
14380
14381void safe_VkDedicatedAllocationImageCreateInfoNV::initialize(const VkDedicatedAllocationImageCreateInfoNV* in_struct)
14382{
14383 sType = in_struct->sType;
14384 pNext = in_struct->pNext;
14385 dedicatedAllocation = in_struct->dedicatedAllocation;
14386}
14387
14388void safe_VkDedicatedAllocationImageCreateInfoNV::initialize(const safe_VkDedicatedAllocationImageCreateInfoNV* src)
14389{
14390 sType = src->sType;
14391 pNext = src->pNext;
14392 dedicatedAllocation = src->dedicatedAllocation;
14393}
14394
14395safe_VkDedicatedAllocationBufferCreateInfoNV::safe_VkDedicatedAllocationBufferCreateInfoNV(const VkDedicatedAllocationBufferCreateInfoNV* in_struct) :
14396 sType(in_struct->sType),
14397 pNext(in_struct->pNext),
14398 dedicatedAllocation(in_struct->dedicatedAllocation)
14399{
14400}
14401
14402safe_VkDedicatedAllocationBufferCreateInfoNV::safe_VkDedicatedAllocationBufferCreateInfoNV()
14403{}
14404
14405safe_VkDedicatedAllocationBufferCreateInfoNV::safe_VkDedicatedAllocationBufferCreateInfoNV(const safe_VkDedicatedAllocationBufferCreateInfoNV& src)
14406{
14407 sType = src.sType;
14408 pNext = src.pNext;
14409 dedicatedAllocation = src.dedicatedAllocation;
14410}
14411
14412safe_VkDedicatedAllocationBufferCreateInfoNV& safe_VkDedicatedAllocationBufferCreateInfoNV::operator=(const safe_VkDedicatedAllocationBufferCreateInfoNV& src)
14413{
14414 if (&src == this) return *this;
14415
14416
14417 sType = src.sType;
14418 pNext = src.pNext;
14419 dedicatedAllocation = src.dedicatedAllocation;
14420
14421 return *this;
14422}
14423
14424safe_VkDedicatedAllocationBufferCreateInfoNV::~safe_VkDedicatedAllocationBufferCreateInfoNV()
14425{
14426}
14427
14428void safe_VkDedicatedAllocationBufferCreateInfoNV::initialize(const VkDedicatedAllocationBufferCreateInfoNV* in_struct)
14429{
14430 sType = in_struct->sType;
14431 pNext = in_struct->pNext;
14432 dedicatedAllocation = in_struct->dedicatedAllocation;
14433}
14434
14435void safe_VkDedicatedAllocationBufferCreateInfoNV::initialize(const safe_VkDedicatedAllocationBufferCreateInfoNV* src)
14436{
14437 sType = src->sType;
14438 pNext = src->pNext;
14439 dedicatedAllocation = src->dedicatedAllocation;
14440}
14441
14442safe_VkDedicatedAllocationMemoryAllocateInfoNV::safe_VkDedicatedAllocationMemoryAllocateInfoNV(const VkDedicatedAllocationMemoryAllocateInfoNV* in_struct) :
14443 sType(in_struct->sType),
14444 pNext(in_struct->pNext),
14445 image(in_struct->image),
14446 buffer(in_struct->buffer)
14447{
14448}
14449
14450safe_VkDedicatedAllocationMemoryAllocateInfoNV::safe_VkDedicatedAllocationMemoryAllocateInfoNV()
14451{}
14452
14453safe_VkDedicatedAllocationMemoryAllocateInfoNV::safe_VkDedicatedAllocationMemoryAllocateInfoNV(const safe_VkDedicatedAllocationMemoryAllocateInfoNV& src)
14454{
14455 sType = src.sType;
14456 pNext = src.pNext;
14457 image = src.image;
14458 buffer = src.buffer;
14459}
14460
14461safe_VkDedicatedAllocationMemoryAllocateInfoNV& safe_VkDedicatedAllocationMemoryAllocateInfoNV::operator=(const safe_VkDedicatedAllocationMemoryAllocateInfoNV& src)
14462{
14463 if (&src == this) return *this;
14464
14465
14466 sType = src.sType;
14467 pNext = src.pNext;
14468 image = src.image;
14469 buffer = src.buffer;
14470
14471 return *this;
14472}
14473
14474safe_VkDedicatedAllocationMemoryAllocateInfoNV::~safe_VkDedicatedAllocationMemoryAllocateInfoNV()
14475{
14476}
14477
14478void safe_VkDedicatedAllocationMemoryAllocateInfoNV::initialize(const VkDedicatedAllocationMemoryAllocateInfoNV* in_struct)
14479{
14480 sType = in_struct->sType;
14481 pNext = in_struct->pNext;
14482 image = in_struct->image;
14483 buffer = in_struct->buffer;
14484}
14485
14486void safe_VkDedicatedAllocationMemoryAllocateInfoNV::initialize(const safe_VkDedicatedAllocationMemoryAllocateInfoNV* src)
14487{
14488 sType = src->sType;
14489 pNext = src->pNext;
14490 image = src->image;
14491 buffer = src->buffer;
14492}
14493
14494safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT::safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT(const VkPhysicalDeviceTransformFeedbackFeaturesEXT* in_struct) :
14495 sType(in_struct->sType),
14496 pNext(in_struct->pNext),
14497 transformFeedback(in_struct->transformFeedback),
14498 geometryStreams(in_struct->geometryStreams)
14499{
14500}
14501
14502safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT::safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT()
14503{}
14504
14505safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT::safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT(const safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT& src)
14506{
14507 sType = src.sType;
14508 pNext = src.pNext;
14509 transformFeedback = src.transformFeedback;
14510 geometryStreams = src.geometryStreams;
14511}
14512
14513safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT& safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT::operator=(const safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT& src)
14514{
14515 if (&src == this) return *this;
14516
14517
14518 sType = src.sType;
14519 pNext = src.pNext;
14520 transformFeedback = src.transformFeedback;
14521 geometryStreams = src.geometryStreams;
14522
14523 return *this;
14524}
14525
14526safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT::~safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT()
14527{
14528}
14529
14530void safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT::initialize(const VkPhysicalDeviceTransformFeedbackFeaturesEXT* in_struct)
14531{
14532 sType = in_struct->sType;
14533 pNext = in_struct->pNext;
14534 transformFeedback = in_struct->transformFeedback;
14535 geometryStreams = in_struct->geometryStreams;
14536}
14537
14538void safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT::initialize(const safe_VkPhysicalDeviceTransformFeedbackFeaturesEXT* src)
14539{
14540 sType = src->sType;
14541 pNext = src->pNext;
14542 transformFeedback = src->transformFeedback;
14543 geometryStreams = src->geometryStreams;
14544}
14545
14546safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT::safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT(const VkPhysicalDeviceTransformFeedbackPropertiesEXT* in_struct) :
14547 sType(in_struct->sType),
14548 pNext(in_struct->pNext),
14549 maxTransformFeedbackStreams(in_struct->maxTransformFeedbackStreams),
14550 maxTransformFeedbackBuffers(in_struct->maxTransformFeedbackBuffers),
14551 maxTransformFeedbackBufferSize(in_struct->maxTransformFeedbackBufferSize),
14552 maxTransformFeedbackStreamDataSize(in_struct->maxTransformFeedbackStreamDataSize),
14553 maxTransformFeedbackBufferDataSize(in_struct->maxTransformFeedbackBufferDataSize),
14554 maxTransformFeedbackBufferDataStride(in_struct->maxTransformFeedbackBufferDataStride),
14555 transformFeedbackQueries(in_struct->transformFeedbackQueries),
14556 transformFeedbackStreamsLinesTriangles(in_struct->transformFeedbackStreamsLinesTriangles),
14557 transformFeedbackRasterizationStreamSelect(in_struct->transformFeedbackRasterizationStreamSelect),
14558 transformFeedbackDraw(in_struct->transformFeedbackDraw)
14559{
14560}
14561
14562safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT::safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT()
14563{}
14564
14565safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT::safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT(const safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT& src)
14566{
14567 sType = src.sType;
14568 pNext = src.pNext;
14569 maxTransformFeedbackStreams = src.maxTransformFeedbackStreams;
14570 maxTransformFeedbackBuffers = src.maxTransformFeedbackBuffers;
14571 maxTransformFeedbackBufferSize = src.maxTransformFeedbackBufferSize;
14572 maxTransformFeedbackStreamDataSize = src.maxTransformFeedbackStreamDataSize;
14573 maxTransformFeedbackBufferDataSize = src.maxTransformFeedbackBufferDataSize;
14574 maxTransformFeedbackBufferDataStride = src.maxTransformFeedbackBufferDataStride;
14575 transformFeedbackQueries = src.transformFeedbackQueries;
14576 transformFeedbackStreamsLinesTriangles = src.transformFeedbackStreamsLinesTriangles;
14577 transformFeedbackRasterizationStreamSelect = src.transformFeedbackRasterizationStreamSelect;
14578 transformFeedbackDraw = src.transformFeedbackDraw;
14579}
14580
14581safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT& safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT::operator=(const safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT& src)
14582{
14583 if (&src == this) return *this;
14584
14585
14586 sType = src.sType;
14587 pNext = src.pNext;
14588 maxTransformFeedbackStreams = src.maxTransformFeedbackStreams;
14589 maxTransformFeedbackBuffers = src.maxTransformFeedbackBuffers;
14590 maxTransformFeedbackBufferSize = src.maxTransformFeedbackBufferSize;
14591 maxTransformFeedbackStreamDataSize = src.maxTransformFeedbackStreamDataSize;
14592 maxTransformFeedbackBufferDataSize = src.maxTransformFeedbackBufferDataSize;
14593 maxTransformFeedbackBufferDataStride = src.maxTransformFeedbackBufferDataStride;
14594 transformFeedbackQueries = src.transformFeedbackQueries;
14595 transformFeedbackStreamsLinesTriangles = src.transformFeedbackStreamsLinesTriangles;
14596 transformFeedbackRasterizationStreamSelect = src.transformFeedbackRasterizationStreamSelect;
14597 transformFeedbackDraw = src.transformFeedbackDraw;
14598
14599 return *this;
14600}
14601
14602safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT::~safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT()
14603{
14604}
14605
14606void safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT::initialize(const VkPhysicalDeviceTransformFeedbackPropertiesEXT* in_struct)
14607{
14608 sType = in_struct->sType;
14609 pNext = in_struct->pNext;
14610 maxTransformFeedbackStreams = in_struct->maxTransformFeedbackStreams;
14611 maxTransformFeedbackBuffers = in_struct->maxTransformFeedbackBuffers;
14612 maxTransformFeedbackBufferSize = in_struct->maxTransformFeedbackBufferSize;
14613 maxTransformFeedbackStreamDataSize = in_struct->maxTransformFeedbackStreamDataSize;
14614 maxTransformFeedbackBufferDataSize = in_struct->maxTransformFeedbackBufferDataSize;
14615 maxTransformFeedbackBufferDataStride = in_struct->maxTransformFeedbackBufferDataStride;
14616 transformFeedbackQueries = in_struct->transformFeedbackQueries;
14617 transformFeedbackStreamsLinesTriangles = in_struct->transformFeedbackStreamsLinesTriangles;
14618 transformFeedbackRasterizationStreamSelect = in_struct->transformFeedbackRasterizationStreamSelect;
14619 transformFeedbackDraw = in_struct->transformFeedbackDraw;
14620}
14621
14622void safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT::initialize(const safe_VkPhysicalDeviceTransformFeedbackPropertiesEXT* src)
14623{
14624 sType = src->sType;
14625 pNext = src->pNext;
14626 maxTransformFeedbackStreams = src->maxTransformFeedbackStreams;
14627 maxTransformFeedbackBuffers = src->maxTransformFeedbackBuffers;
14628 maxTransformFeedbackBufferSize = src->maxTransformFeedbackBufferSize;
14629 maxTransformFeedbackStreamDataSize = src->maxTransformFeedbackStreamDataSize;
14630 maxTransformFeedbackBufferDataSize = src->maxTransformFeedbackBufferDataSize;
14631 maxTransformFeedbackBufferDataStride = src->maxTransformFeedbackBufferDataStride;
14632 transformFeedbackQueries = src->transformFeedbackQueries;
14633 transformFeedbackStreamsLinesTriangles = src->transformFeedbackStreamsLinesTriangles;
14634 transformFeedbackRasterizationStreamSelect = src->transformFeedbackRasterizationStreamSelect;
14635 transformFeedbackDraw = src->transformFeedbackDraw;
14636}
14637
14638safe_VkPipelineRasterizationStateStreamCreateInfoEXT::safe_VkPipelineRasterizationStateStreamCreateInfoEXT(const VkPipelineRasterizationStateStreamCreateInfoEXT* in_struct) :
14639 sType(in_struct->sType),
14640 pNext(in_struct->pNext),
14641 flags(in_struct->flags),
14642 rasterizationStream(in_struct->rasterizationStream)
14643{
14644}
14645
14646safe_VkPipelineRasterizationStateStreamCreateInfoEXT::safe_VkPipelineRasterizationStateStreamCreateInfoEXT()
14647{}
14648
14649safe_VkPipelineRasterizationStateStreamCreateInfoEXT::safe_VkPipelineRasterizationStateStreamCreateInfoEXT(const safe_VkPipelineRasterizationStateStreamCreateInfoEXT& src)
14650{
14651 sType = src.sType;
14652 pNext = src.pNext;
14653 flags = src.flags;
14654 rasterizationStream = src.rasterizationStream;
14655}
14656
14657safe_VkPipelineRasterizationStateStreamCreateInfoEXT& safe_VkPipelineRasterizationStateStreamCreateInfoEXT::operator=(const safe_VkPipelineRasterizationStateStreamCreateInfoEXT& src)
14658{
14659 if (&src == this) return *this;
14660
14661
14662 sType = src.sType;
14663 pNext = src.pNext;
14664 flags = src.flags;
14665 rasterizationStream = src.rasterizationStream;
14666
14667 return *this;
14668}
14669
14670safe_VkPipelineRasterizationStateStreamCreateInfoEXT::~safe_VkPipelineRasterizationStateStreamCreateInfoEXT()
14671{
14672}
14673
14674void safe_VkPipelineRasterizationStateStreamCreateInfoEXT::initialize(const VkPipelineRasterizationStateStreamCreateInfoEXT* in_struct)
14675{
14676 sType = in_struct->sType;
14677 pNext = in_struct->pNext;
14678 flags = in_struct->flags;
14679 rasterizationStream = in_struct->rasterizationStream;
14680}
14681
14682void safe_VkPipelineRasterizationStateStreamCreateInfoEXT::initialize(const safe_VkPipelineRasterizationStateStreamCreateInfoEXT* src)
14683{
14684 sType = src->sType;
14685 pNext = src->pNext;
14686 flags = src->flags;
14687 rasterizationStream = src->rasterizationStream;
14688}
14689
14690safe_VkImageViewHandleInfoNVX::safe_VkImageViewHandleInfoNVX(const VkImageViewHandleInfoNVX* in_struct) :
14691 sType(in_struct->sType),
14692 pNext(in_struct->pNext),
14693 imageView(in_struct->imageView),
14694 descriptorType(in_struct->descriptorType),
14695 sampler(in_struct->sampler)
14696{
14697}
14698
14699safe_VkImageViewHandleInfoNVX::safe_VkImageViewHandleInfoNVX()
14700{}
14701
14702safe_VkImageViewHandleInfoNVX::safe_VkImageViewHandleInfoNVX(const safe_VkImageViewHandleInfoNVX& src)
14703{
14704 sType = src.sType;
14705 pNext = src.pNext;
14706 imageView = src.imageView;
14707 descriptorType = src.descriptorType;
14708 sampler = src.sampler;
14709}
14710
14711safe_VkImageViewHandleInfoNVX& safe_VkImageViewHandleInfoNVX::operator=(const safe_VkImageViewHandleInfoNVX& src)
14712{
14713 if (&src == this) return *this;
14714
14715
14716 sType = src.sType;
14717 pNext = src.pNext;
14718 imageView = src.imageView;
14719 descriptorType = src.descriptorType;
14720 sampler = src.sampler;
14721
14722 return *this;
14723}
14724
14725safe_VkImageViewHandleInfoNVX::~safe_VkImageViewHandleInfoNVX()
14726{
14727}
14728
14729void safe_VkImageViewHandleInfoNVX::initialize(const VkImageViewHandleInfoNVX* in_struct)
14730{
14731 sType = in_struct->sType;
14732 pNext = in_struct->pNext;
14733 imageView = in_struct->imageView;
14734 descriptorType = in_struct->descriptorType;
14735 sampler = in_struct->sampler;
14736}
14737
14738void safe_VkImageViewHandleInfoNVX::initialize(const safe_VkImageViewHandleInfoNVX* src)
14739{
14740 sType = src->sType;
14741 pNext = src->pNext;
14742 imageView = src->imageView;
14743 descriptorType = src->descriptorType;
14744 sampler = src->sampler;
14745}
14746
14747safe_VkTextureLODGatherFormatPropertiesAMD::safe_VkTextureLODGatherFormatPropertiesAMD(const VkTextureLODGatherFormatPropertiesAMD* in_struct) :
14748 sType(in_struct->sType),
14749 pNext(in_struct->pNext),
14750 supportsTextureGatherLODBiasAMD(in_struct->supportsTextureGatherLODBiasAMD)
14751{
14752}
14753
14754safe_VkTextureLODGatherFormatPropertiesAMD::safe_VkTextureLODGatherFormatPropertiesAMD()
14755{}
14756
14757safe_VkTextureLODGatherFormatPropertiesAMD::safe_VkTextureLODGatherFormatPropertiesAMD(const safe_VkTextureLODGatherFormatPropertiesAMD& src)
14758{
14759 sType = src.sType;
14760 pNext = src.pNext;
14761 supportsTextureGatherLODBiasAMD = src.supportsTextureGatherLODBiasAMD;
14762}
14763
14764safe_VkTextureLODGatherFormatPropertiesAMD& safe_VkTextureLODGatherFormatPropertiesAMD::operator=(const safe_VkTextureLODGatherFormatPropertiesAMD& src)
14765{
14766 if (&src == this) return *this;
14767
14768
14769 sType = src.sType;
14770 pNext = src.pNext;
14771 supportsTextureGatherLODBiasAMD = src.supportsTextureGatherLODBiasAMD;
14772
14773 return *this;
14774}
14775
14776safe_VkTextureLODGatherFormatPropertiesAMD::~safe_VkTextureLODGatherFormatPropertiesAMD()
14777{
14778}
14779
14780void safe_VkTextureLODGatherFormatPropertiesAMD::initialize(const VkTextureLODGatherFormatPropertiesAMD* in_struct)
14781{
14782 sType = in_struct->sType;
14783 pNext = in_struct->pNext;
14784 supportsTextureGatherLODBiasAMD = in_struct->supportsTextureGatherLODBiasAMD;
14785}
14786
14787void safe_VkTextureLODGatherFormatPropertiesAMD::initialize(const safe_VkTextureLODGatherFormatPropertiesAMD* src)
14788{
14789 sType = src->sType;
14790 pNext = src->pNext;
14791 supportsTextureGatherLODBiasAMD = src->supportsTextureGatherLODBiasAMD;
14792}
14793#ifdef VK_USE_PLATFORM_GGP
14794
14795
14796safe_VkStreamDescriptorSurfaceCreateInfoGGP::safe_VkStreamDescriptorSurfaceCreateInfoGGP(const VkStreamDescriptorSurfaceCreateInfoGGP* in_struct) :
14797 sType(in_struct->sType),
14798 pNext(in_struct->pNext),
14799 flags(in_struct->flags),
14800 streamDescriptor(in_struct->streamDescriptor)
14801{
14802}
14803
14804safe_VkStreamDescriptorSurfaceCreateInfoGGP::safe_VkStreamDescriptorSurfaceCreateInfoGGP()
14805{}
14806
14807safe_VkStreamDescriptorSurfaceCreateInfoGGP::safe_VkStreamDescriptorSurfaceCreateInfoGGP(const safe_VkStreamDescriptorSurfaceCreateInfoGGP& src)
14808{
14809 sType = src.sType;
14810 pNext = src.pNext;
14811 flags = src.flags;
14812 streamDescriptor = src.streamDescriptor;
14813}
14814
14815safe_VkStreamDescriptorSurfaceCreateInfoGGP& safe_VkStreamDescriptorSurfaceCreateInfoGGP::operator=(const safe_VkStreamDescriptorSurfaceCreateInfoGGP& src)
14816{
14817 if (&src == this) return *this;
14818
14819
14820 sType = src.sType;
14821 pNext = src.pNext;
14822 flags = src.flags;
14823 streamDescriptor = src.streamDescriptor;
14824
14825 return *this;
14826}
14827
14828safe_VkStreamDescriptorSurfaceCreateInfoGGP::~safe_VkStreamDescriptorSurfaceCreateInfoGGP()
14829{
14830}
14831
14832void safe_VkStreamDescriptorSurfaceCreateInfoGGP::initialize(const VkStreamDescriptorSurfaceCreateInfoGGP* in_struct)
14833{
14834 sType = in_struct->sType;
14835 pNext = in_struct->pNext;
14836 flags = in_struct->flags;
14837 streamDescriptor = in_struct->streamDescriptor;
14838}
14839
14840void safe_VkStreamDescriptorSurfaceCreateInfoGGP::initialize(const safe_VkStreamDescriptorSurfaceCreateInfoGGP* src)
14841{
14842 sType = src->sType;
14843 pNext = src->pNext;
14844 flags = src->flags;
14845 streamDescriptor = src->streamDescriptor;
14846}
14847#endif // VK_USE_PLATFORM_GGP
14848
14849
14850safe_VkPhysicalDeviceCornerSampledImageFeaturesNV::safe_VkPhysicalDeviceCornerSampledImageFeaturesNV(const VkPhysicalDeviceCornerSampledImageFeaturesNV* in_struct) :
14851 sType(in_struct->sType),
14852 pNext(in_struct->pNext),
14853 cornerSampledImage(in_struct->cornerSampledImage)
14854{
14855}
14856
14857safe_VkPhysicalDeviceCornerSampledImageFeaturesNV::safe_VkPhysicalDeviceCornerSampledImageFeaturesNV()
14858{}
14859
14860safe_VkPhysicalDeviceCornerSampledImageFeaturesNV::safe_VkPhysicalDeviceCornerSampledImageFeaturesNV(const safe_VkPhysicalDeviceCornerSampledImageFeaturesNV& src)
14861{
14862 sType = src.sType;
14863 pNext = src.pNext;
14864 cornerSampledImage = src.cornerSampledImage;
14865}
14866
14867safe_VkPhysicalDeviceCornerSampledImageFeaturesNV& safe_VkPhysicalDeviceCornerSampledImageFeaturesNV::operator=(const safe_VkPhysicalDeviceCornerSampledImageFeaturesNV& src)
14868{
14869 if (&src == this) return *this;
14870
14871
14872 sType = src.sType;
14873 pNext = src.pNext;
14874 cornerSampledImage = src.cornerSampledImage;
14875
14876 return *this;
14877}
14878
14879safe_VkPhysicalDeviceCornerSampledImageFeaturesNV::~safe_VkPhysicalDeviceCornerSampledImageFeaturesNV()
14880{
14881}
14882
14883void safe_VkPhysicalDeviceCornerSampledImageFeaturesNV::initialize(const VkPhysicalDeviceCornerSampledImageFeaturesNV* in_struct)
14884{
14885 sType = in_struct->sType;
14886 pNext = in_struct->pNext;
14887 cornerSampledImage = in_struct->cornerSampledImage;
14888}
14889
14890void safe_VkPhysicalDeviceCornerSampledImageFeaturesNV::initialize(const safe_VkPhysicalDeviceCornerSampledImageFeaturesNV* src)
14891{
14892 sType = src->sType;
14893 pNext = src->pNext;
14894 cornerSampledImage = src->cornerSampledImage;
14895}
14896
14897safe_VkExternalMemoryImageCreateInfoNV::safe_VkExternalMemoryImageCreateInfoNV(const VkExternalMemoryImageCreateInfoNV* in_struct) :
14898 sType(in_struct->sType),
14899 pNext(in_struct->pNext),
14900 handleTypes(in_struct->handleTypes)
14901{
14902}
14903
14904safe_VkExternalMemoryImageCreateInfoNV::safe_VkExternalMemoryImageCreateInfoNV()
14905{}
14906
14907safe_VkExternalMemoryImageCreateInfoNV::safe_VkExternalMemoryImageCreateInfoNV(const safe_VkExternalMemoryImageCreateInfoNV& src)
14908{
14909 sType = src.sType;
14910 pNext = src.pNext;
14911 handleTypes = src.handleTypes;
14912}
14913
14914safe_VkExternalMemoryImageCreateInfoNV& safe_VkExternalMemoryImageCreateInfoNV::operator=(const safe_VkExternalMemoryImageCreateInfoNV& src)
14915{
14916 if (&src == this) return *this;
14917
14918
14919 sType = src.sType;
14920 pNext = src.pNext;
14921 handleTypes = src.handleTypes;
14922
14923 return *this;
14924}
14925
14926safe_VkExternalMemoryImageCreateInfoNV::~safe_VkExternalMemoryImageCreateInfoNV()
14927{
14928}
14929
14930void safe_VkExternalMemoryImageCreateInfoNV::initialize(const VkExternalMemoryImageCreateInfoNV* in_struct)
14931{
14932 sType = in_struct->sType;
14933 pNext = in_struct->pNext;
14934 handleTypes = in_struct->handleTypes;
14935}
14936
14937void safe_VkExternalMemoryImageCreateInfoNV::initialize(const safe_VkExternalMemoryImageCreateInfoNV* src)
14938{
14939 sType = src->sType;
14940 pNext = src->pNext;
14941 handleTypes = src->handleTypes;
14942}
14943
14944safe_VkExportMemoryAllocateInfoNV::safe_VkExportMemoryAllocateInfoNV(const VkExportMemoryAllocateInfoNV* in_struct) :
14945 sType(in_struct->sType),
14946 pNext(in_struct->pNext),
14947 handleTypes(in_struct->handleTypes)
14948{
14949}
14950
14951safe_VkExportMemoryAllocateInfoNV::safe_VkExportMemoryAllocateInfoNV()
14952{}
14953
14954safe_VkExportMemoryAllocateInfoNV::safe_VkExportMemoryAllocateInfoNV(const safe_VkExportMemoryAllocateInfoNV& src)
14955{
14956 sType = src.sType;
14957 pNext = src.pNext;
14958 handleTypes = src.handleTypes;
14959}
14960
14961safe_VkExportMemoryAllocateInfoNV& safe_VkExportMemoryAllocateInfoNV::operator=(const safe_VkExportMemoryAllocateInfoNV& src)
14962{
14963 if (&src == this) return *this;
14964
14965
14966 sType = src.sType;
14967 pNext = src.pNext;
14968 handleTypes = src.handleTypes;
14969
14970 return *this;
14971}
14972
14973safe_VkExportMemoryAllocateInfoNV::~safe_VkExportMemoryAllocateInfoNV()
14974{
14975}
14976
14977void safe_VkExportMemoryAllocateInfoNV::initialize(const VkExportMemoryAllocateInfoNV* in_struct)
14978{
14979 sType = in_struct->sType;
14980 pNext = in_struct->pNext;
14981 handleTypes = in_struct->handleTypes;
14982}
14983
14984void safe_VkExportMemoryAllocateInfoNV::initialize(const safe_VkExportMemoryAllocateInfoNV* src)
14985{
14986 sType = src->sType;
14987 pNext = src->pNext;
14988 handleTypes = src->handleTypes;
14989}
14990#ifdef VK_USE_PLATFORM_WIN32_KHR
14991
14992
14993safe_VkImportMemoryWin32HandleInfoNV::safe_VkImportMemoryWin32HandleInfoNV(const VkImportMemoryWin32HandleInfoNV* in_struct) :
14994 sType(in_struct->sType),
14995 pNext(in_struct->pNext),
14996 handleType(in_struct->handleType),
14997 handle(in_struct->handle)
14998{
14999}
15000
15001safe_VkImportMemoryWin32HandleInfoNV::safe_VkImportMemoryWin32HandleInfoNV()
15002{}
15003
15004safe_VkImportMemoryWin32HandleInfoNV::safe_VkImportMemoryWin32HandleInfoNV(const safe_VkImportMemoryWin32HandleInfoNV& src)
15005{
15006 sType = src.sType;
15007 pNext = src.pNext;
15008 handleType = src.handleType;
15009 handle = src.handle;
15010}
15011
15012safe_VkImportMemoryWin32HandleInfoNV& safe_VkImportMemoryWin32HandleInfoNV::operator=(const safe_VkImportMemoryWin32HandleInfoNV& src)
15013{
15014 if (&src == this) return *this;
15015
15016
15017 sType = src.sType;
15018 pNext = src.pNext;
15019 handleType = src.handleType;
15020 handle = src.handle;
15021
15022 return *this;
15023}
15024
15025safe_VkImportMemoryWin32HandleInfoNV::~safe_VkImportMemoryWin32HandleInfoNV()
15026{
15027}
15028
15029void safe_VkImportMemoryWin32HandleInfoNV::initialize(const VkImportMemoryWin32HandleInfoNV* in_struct)
15030{
15031 sType = in_struct->sType;
15032 pNext = in_struct->pNext;
15033 handleType = in_struct->handleType;
15034 handle = in_struct->handle;
15035}
15036
15037void safe_VkImportMemoryWin32HandleInfoNV::initialize(const safe_VkImportMemoryWin32HandleInfoNV* src)
15038{
15039 sType = src->sType;
15040 pNext = src->pNext;
15041 handleType = src->handleType;
15042 handle = src->handle;
15043}
15044#endif // VK_USE_PLATFORM_WIN32_KHR
15045
15046#ifdef VK_USE_PLATFORM_WIN32_KHR
15047
15048
15049safe_VkExportMemoryWin32HandleInfoNV::safe_VkExportMemoryWin32HandleInfoNV(const VkExportMemoryWin32HandleInfoNV* in_struct) :
15050 sType(in_struct->sType),
15051 pNext(in_struct->pNext),
15052 pAttributes(nullptr),
15053 dwAccess(in_struct->dwAccess)
15054{
15055 if (in_struct->pAttributes) {
15056 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
15057 }
15058}
15059
15060safe_VkExportMemoryWin32HandleInfoNV::safe_VkExportMemoryWin32HandleInfoNV() :
15061 pAttributes(nullptr)
15062{}
15063
15064safe_VkExportMemoryWin32HandleInfoNV::safe_VkExportMemoryWin32HandleInfoNV(const safe_VkExportMemoryWin32HandleInfoNV& src)
15065{
15066 sType = src.sType;
15067 pNext = src.pNext;
15068 pAttributes = nullptr;
15069 dwAccess = src.dwAccess;
15070 if (src.pAttributes) {
15071 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
15072 }
15073}
15074
15075safe_VkExportMemoryWin32HandleInfoNV& safe_VkExportMemoryWin32HandleInfoNV::operator=(const safe_VkExportMemoryWin32HandleInfoNV& src)
15076{
15077 if (&src == this) return *this;
15078
15079 if (pAttributes)
15080 delete pAttributes;
15081
15082 sType = src.sType;
15083 pNext = src.pNext;
15084 pAttributes = nullptr;
15085 dwAccess = src.dwAccess;
15086 if (src.pAttributes) {
15087 pAttributes = new SECURITY_ATTRIBUTES(*src.pAttributes);
15088 }
15089
15090 return *this;
15091}
15092
15093safe_VkExportMemoryWin32HandleInfoNV::~safe_VkExportMemoryWin32HandleInfoNV()
15094{
15095 if (pAttributes)
15096 delete pAttributes;
15097}
15098
15099void safe_VkExportMemoryWin32HandleInfoNV::initialize(const VkExportMemoryWin32HandleInfoNV* in_struct)
15100{
15101 sType = in_struct->sType;
15102 pNext = in_struct->pNext;
15103 pAttributes = nullptr;
15104 dwAccess = in_struct->dwAccess;
15105 if (in_struct->pAttributes) {
15106 pAttributes = new SECURITY_ATTRIBUTES(*in_struct->pAttributes);
15107 }
15108}
15109
15110void safe_VkExportMemoryWin32HandleInfoNV::initialize(const safe_VkExportMemoryWin32HandleInfoNV* src)
15111{
15112 sType = src->sType;
15113 pNext = src->pNext;
15114 pAttributes = nullptr;
15115 dwAccess = src->dwAccess;
15116 if (src->pAttributes) {
15117 pAttributes = new SECURITY_ATTRIBUTES(*src->pAttributes);
15118 }
15119}
15120#endif // VK_USE_PLATFORM_WIN32_KHR
15121
15122#ifdef VK_USE_PLATFORM_WIN32_KHR
15123
15124
15125safe_VkWin32KeyedMutexAcquireReleaseInfoNV::safe_VkWin32KeyedMutexAcquireReleaseInfoNV(const VkWin32KeyedMutexAcquireReleaseInfoNV* in_struct) :
15126 sType(in_struct->sType),
15127 pNext(in_struct->pNext),
15128 acquireCount(in_struct->acquireCount),
15129 pAcquireSyncs(nullptr),
15130 pAcquireKeys(nullptr),
15131 pAcquireTimeoutMilliseconds(nullptr),
15132 releaseCount(in_struct->releaseCount),
15133 pReleaseSyncs(nullptr),
15134 pReleaseKeys(nullptr)
15135{
15136 if (acquireCount && in_struct->pAcquireSyncs) {
15137 pAcquireSyncs = new VkDeviceMemory[acquireCount];
15138 for (uint32_t i=0; i<acquireCount; ++i) {
15139 pAcquireSyncs[i] = in_struct->pAcquireSyncs[i];
15140 }
15141 }
15142 if (in_struct->pAcquireKeys) {
15143 pAcquireKeys = new uint64_t[in_struct->acquireCount];
15144 memcpy ((void *)pAcquireKeys, (void *)in_struct->pAcquireKeys, sizeof(uint64_t)*in_struct->acquireCount);
15145 }
15146 if (in_struct->pAcquireTimeoutMilliseconds) {
15147 pAcquireTimeoutMilliseconds = new uint32_t[in_struct->acquireCount];
15148 memcpy ((void *)pAcquireTimeoutMilliseconds, (void *)in_struct->pAcquireTimeoutMilliseconds, sizeof(uint32_t)*in_struct->acquireCount);
15149 }
15150 if (releaseCount && in_struct->pReleaseSyncs) {
15151 pReleaseSyncs = new VkDeviceMemory[releaseCount];
15152 for (uint32_t i=0; i<releaseCount; ++i) {
15153 pReleaseSyncs[i] = in_struct->pReleaseSyncs[i];
15154 }
15155 }
15156 if (in_struct->pReleaseKeys) {
15157 pReleaseKeys = new uint64_t[in_struct->releaseCount];
15158 memcpy ((void *)pReleaseKeys, (void *)in_struct->pReleaseKeys, sizeof(uint64_t)*in_struct->releaseCount);
15159 }
15160}
15161
15162safe_VkWin32KeyedMutexAcquireReleaseInfoNV::safe_VkWin32KeyedMutexAcquireReleaseInfoNV() :
15163 pAcquireSyncs(nullptr),
15164 pAcquireKeys(nullptr),
15165 pAcquireTimeoutMilliseconds(nullptr),
15166 pReleaseSyncs(nullptr),
15167 pReleaseKeys(nullptr)
15168{}
15169
15170safe_VkWin32KeyedMutexAcquireReleaseInfoNV::safe_VkWin32KeyedMutexAcquireReleaseInfoNV(const safe_VkWin32KeyedMutexAcquireReleaseInfoNV& src)
15171{
15172 sType = src.sType;
15173 pNext = src.pNext;
15174 acquireCount = src.acquireCount;
15175 pAcquireSyncs = nullptr;
15176 pAcquireKeys = nullptr;
15177 pAcquireTimeoutMilliseconds = nullptr;
15178 releaseCount = src.releaseCount;
15179 pReleaseSyncs = nullptr;
15180 pReleaseKeys = nullptr;
15181 if (acquireCount && src.pAcquireSyncs) {
15182 pAcquireSyncs = new VkDeviceMemory[acquireCount];
15183 for (uint32_t i=0; i<acquireCount; ++i) {
15184 pAcquireSyncs[i] = src.pAcquireSyncs[i];
15185 }
15186 }
15187 if (src.pAcquireKeys) {
15188 pAcquireKeys = new uint64_t[src.acquireCount];
15189 memcpy ((void *)pAcquireKeys, (void *)src.pAcquireKeys, sizeof(uint64_t)*src.acquireCount);
15190 }
15191 if (src.pAcquireTimeoutMilliseconds) {
15192 pAcquireTimeoutMilliseconds = new uint32_t[src.acquireCount];
15193 memcpy ((void *)pAcquireTimeoutMilliseconds, (void *)src.pAcquireTimeoutMilliseconds, sizeof(uint32_t)*src.acquireCount);
15194 }
15195 if (releaseCount && src.pReleaseSyncs) {
15196 pReleaseSyncs = new VkDeviceMemory[releaseCount];
15197 for (uint32_t i=0; i<releaseCount; ++i) {
15198 pReleaseSyncs[i] = src.pReleaseSyncs[i];
15199 }
15200 }
15201 if (src.pReleaseKeys) {
15202 pReleaseKeys = new uint64_t[src.releaseCount];
15203 memcpy ((void *)pReleaseKeys, (void *)src.pReleaseKeys, sizeof(uint64_t)*src.releaseCount);
15204 }
15205}
15206
15207safe_VkWin32KeyedMutexAcquireReleaseInfoNV& safe_VkWin32KeyedMutexAcquireReleaseInfoNV::operator=(const safe_VkWin32KeyedMutexAcquireReleaseInfoNV& src)
15208{
15209 if (&src == this) return *this;
15210
15211 if (pAcquireSyncs)
15212 delete[] pAcquireSyncs;
15213 if (pAcquireKeys)
15214 delete[] pAcquireKeys;
15215 if (pAcquireTimeoutMilliseconds)
15216 delete[] pAcquireTimeoutMilliseconds;
15217 if (pReleaseSyncs)
15218 delete[] pReleaseSyncs;
15219 if (pReleaseKeys)
15220 delete[] pReleaseKeys;
15221
15222 sType = src.sType;
15223 pNext = src.pNext;
15224 acquireCount = src.acquireCount;
15225 pAcquireSyncs = nullptr;
15226 pAcquireKeys = nullptr;
15227 pAcquireTimeoutMilliseconds = nullptr;
15228 releaseCount = src.releaseCount;
15229 pReleaseSyncs = nullptr;
15230 pReleaseKeys = nullptr;
15231 if (acquireCount && src.pAcquireSyncs) {
15232 pAcquireSyncs = new VkDeviceMemory[acquireCount];
15233 for (uint32_t i=0; i<acquireCount; ++i) {
15234 pAcquireSyncs[i] = src.pAcquireSyncs[i];
15235 }
15236 }
15237 if (src.pAcquireKeys) {
15238 pAcquireKeys = new uint64_t[src.acquireCount];
15239 memcpy ((void *)pAcquireKeys, (void *)src.pAcquireKeys, sizeof(uint64_t)*src.acquireCount);
15240 }
15241 if (src.pAcquireTimeoutMilliseconds) {
15242 pAcquireTimeoutMilliseconds = new uint32_t[src.acquireCount];
15243 memcpy ((void *)pAcquireTimeoutMilliseconds, (void *)src.pAcquireTimeoutMilliseconds, sizeof(uint32_t)*src.acquireCount);
15244 }
15245 if (releaseCount && src.pReleaseSyncs) {
15246 pReleaseSyncs = new VkDeviceMemory[releaseCount];
15247 for (uint32_t i=0; i<releaseCount; ++i) {
15248 pReleaseSyncs[i] = src.pReleaseSyncs[i];
15249 }
15250 }
15251 if (src.pReleaseKeys) {
15252 pReleaseKeys = new uint64_t[src.releaseCount];
15253 memcpy ((void *)pReleaseKeys, (void *)src.pReleaseKeys, sizeof(uint64_t)*src.releaseCount);
15254 }
15255
15256 return *this;
15257}
15258
15259safe_VkWin32KeyedMutexAcquireReleaseInfoNV::~safe_VkWin32KeyedMutexAcquireReleaseInfoNV()
15260{
15261 if (pAcquireSyncs)
15262 delete[] pAcquireSyncs;
15263 if (pAcquireKeys)
15264 delete[] pAcquireKeys;
15265 if (pAcquireTimeoutMilliseconds)
15266 delete[] pAcquireTimeoutMilliseconds;
15267 if (pReleaseSyncs)
15268 delete[] pReleaseSyncs;
15269 if (pReleaseKeys)
15270 delete[] pReleaseKeys;
15271}
15272
15273void safe_VkWin32KeyedMutexAcquireReleaseInfoNV::initialize(const VkWin32KeyedMutexAcquireReleaseInfoNV* in_struct)
15274{
15275 sType = in_struct->sType;
15276 pNext = in_struct->pNext;
15277 acquireCount = in_struct->acquireCount;
15278 pAcquireSyncs = nullptr;
15279 pAcquireKeys = nullptr;
15280 pAcquireTimeoutMilliseconds = nullptr;
15281 releaseCount = in_struct->releaseCount;
15282 pReleaseSyncs = nullptr;
15283 pReleaseKeys = nullptr;
15284 if (acquireCount && in_struct->pAcquireSyncs) {
15285 pAcquireSyncs = new VkDeviceMemory[acquireCount];
15286 for (uint32_t i=0; i<acquireCount; ++i) {
15287 pAcquireSyncs[i] = in_struct->pAcquireSyncs[i];
15288 }
15289 }
15290 if (in_struct->pAcquireKeys) {
15291 pAcquireKeys = new uint64_t[in_struct->acquireCount];
15292 memcpy ((void *)pAcquireKeys, (void *)in_struct->pAcquireKeys, sizeof(uint64_t)*in_struct->acquireCount);
15293 }
15294 if (in_struct->pAcquireTimeoutMilliseconds) {
15295 pAcquireTimeoutMilliseconds = new uint32_t[in_struct->acquireCount];
15296 memcpy ((void *)pAcquireTimeoutMilliseconds, (void *)in_struct->pAcquireTimeoutMilliseconds, sizeof(uint32_t)*in_struct->acquireCount);
15297 }
15298 if (releaseCount && in_struct->pReleaseSyncs) {
15299 pReleaseSyncs = new VkDeviceMemory[releaseCount];
15300 for (uint32_t i=0; i<releaseCount; ++i) {
15301 pReleaseSyncs[i] = in_struct->pReleaseSyncs[i];
15302 }
15303 }
15304 if (in_struct->pReleaseKeys) {
15305 pReleaseKeys = new uint64_t[in_struct->releaseCount];
15306 memcpy ((void *)pReleaseKeys, (void *)in_struct->pReleaseKeys, sizeof(uint64_t)*in_struct->releaseCount);
15307 }
15308}
15309
15310void safe_VkWin32KeyedMutexAcquireReleaseInfoNV::initialize(const safe_VkWin32KeyedMutexAcquireReleaseInfoNV* src)
15311{
15312 sType = src->sType;
15313 pNext = src->pNext;
15314 acquireCount = src->acquireCount;
15315 pAcquireSyncs = nullptr;
15316 pAcquireKeys = nullptr;
15317 pAcquireTimeoutMilliseconds = nullptr;
15318 releaseCount = src->releaseCount;
15319 pReleaseSyncs = nullptr;
15320 pReleaseKeys = nullptr;
15321 if (acquireCount && src->pAcquireSyncs) {
15322 pAcquireSyncs = new VkDeviceMemory[acquireCount];
15323 for (uint32_t i=0; i<acquireCount; ++i) {
15324 pAcquireSyncs[i] = src->pAcquireSyncs[i];
15325 }
15326 }
15327 if (src->pAcquireKeys) {
15328 pAcquireKeys = new uint64_t[src->acquireCount];
15329 memcpy ((void *)pAcquireKeys, (void *)src->pAcquireKeys, sizeof(uint64_t)*src->acquireCount);
15330 }
15331 if (src->pAcquireTimeoutMilliseconds) {
15332 pAcquireTimeoutMilliseconds = new uint32_t[src->acquireCount];
15333 memcpy ((void *)pAcquireTimeoutMilliseconds, (void *)src->pAcquireTimeoutMilliseconds, sizeof(uint32_t)*src->acquireCount);
15334 }
15335 if (releaseCount && src->pReleaseSyncs) {
15336 pReleaseSyncs = new VkDeviceMemory[releaseCount];
15337 for (uint32_t i=0; i<releaseCount; ++i) {
15338 pReleaseSyncs[i] = src->pReleaseSyncs[i];
15339 }
15340 }
15341 if (src->pReleaseKeys) {
15342 pReleaseKeys = new uint64_t[src->releaseCount];
15343 memcpy ((void *)pReleaseKeys, (void *)src->pReleaseKeys, sizeof(uint64_t)*src->releaseCount);
15344 }
15345}
15346#endif // VK_USE_PLATFORM_WIN32_KHR
15347
15348
15349safe_VkValidationFlagsEXT::safe_VkValidationFlagsEXT(const VkValidationFlagsEXT* in_struct) :
15350 sType(in_struct->sType),
15351 pNext(in_struct->pNext),
15352 disabledValidationCheckCount(in_struct->disabledValidationCheckCount),
15353 pDisabledValidationChecks(nullptr)
15354{
15355 if (in_struct->pDisabledValidationChecks) {
15356 pDisabledValidationChecks = new VkValidationCheckEXT[in_struct->disabledValidationCheckCount];
15357 memcpy ((void *)pDisabledValidationChecks, (void *)in_struct->pDisabledValidationChecks, sizeof(VkValidationCheckEXT)*in_struct->disabledValidationCheckCount);
15358 }
15359}
15360
15361safe_VkValidationFlagsEXT::safe_VkValidationFlagsEXT() :
15362 pDisabledValidationChecks(nullptr)
15363{}
15364
15365safe_VkValidationFlagsEXT::safe_VkValidationFlagsEXT(const safe_VkValidationFlagsEXT& src)
15366{
15367 sType = src.sType;
15368 pNext = src.pNext;
15369 disabledValidationCheckCount = src.disabledValidationCheckCount;
15370 pDisabledValidationChecks = nullptr;
15371 if (src.pDisabledValidationChecks) {
15372 pDisabledValidationChecks = new VkValidationCheckEXT[src.disabledValidationCheckCount];
15373 memcpy ((void *)pDisabledValidationChecks, (void *)src.pDisabledValidationChecks, sizeof(VkValidationCheckEXT)*src.disabledValidationCheckCount);
15374 }
15375}
15376
15377safe_VkValidationFlagsEXT& safe_VkValidationFlagsEXT::operator=(const safe_VkValidationFlagsEXT& src)
15378{
15379 if (&src == this) return *this;
15380
15381 if (pDisabledValidationChecks)
15382 delete[] pDisabledValidationChecks;
15383
15384 sType = src.sType;
15385 pNext = src.pNext;
15386 disabledValidationCheckCount = src.disabledValidationCheckCount;
15387 pDisabledValidationChecks = nullptr;
15388 if (src.pDisabledValidationChecks) {
15389 pDisabledValidationChecks = new VkValidationCheckEXT[src.disabledValidationCheckCount];
15390 memcpy ((void *)pDisabledValidationChecks, (void *)src.pDisabledValidationChecks, sizeof(VkValidationCheckEXT)*src.disabledValidationCheckCount);
15391 }
15392
15393 return *this;
15394}
15395
15396safe_VkValidationFlagsEXT::~safe_VkValidationFlagsEXT()
15397{
15398 if (pDisabledValidationChecks)
15399 delete[] pDisabledValidationChecks;
15400}
15401
15402void safe_VkValidationFlagsEXT::initialize(const VkValidationFlagsEXT* in_struct)
15403{
15404 sType = in_struct->sType;
15405 pNext = in_struct->pNext;
15406 disabledValidationCheckCount = in_struct->disabledValidationCheckCount;
15407 pDisabledValidationChecks = nullptr;
15408 if (in_struct->pDisabledValidationChecks) {
15409 pDisabledValidationChecks = new VkValidationCheckEXT[in_struct->disabledValidationCheckCount];
15410 memcpy ((void *)pDisabledValidationChecks, (void *)in_struct->pDisabledValidationChecks, sizeof(VkValidationCheckEXT)*in_struct->disabledValidationCheckCount);
15411 }
15412}
15413
15414void safe_VkValidationFlagsEXT::initialize(const safe_VkValidationFlagsEXT* src)
15415{
15416 sType = src->sType;
15417 pNext = src->pNext;
15418 disabledValidationCheckCount = src->disabledValidationCheckCount;
15419 pDisabledValidationChecks = nullptr;
15420 if (src->pDisabledValidationChecks) {
15421 pDisabledValidationChecks = new VkValidationCheckEXT[src->disabledValidationCheckCount];
15422 memcpy ((void *)pDisabledValidationChecks, (void *)src->pDisabledValidationChecks, sizeof(VkValidationCheckEXT)*src->disabledValidationCheckCount);
15423 }
15424}
15425#ifdef VK_USE_PLATFORM_VI_NN
15426
15427
15428safe_VkViSurfaceCreateInfoNN::safe_VkViSurfaceCreateInfoNN(const VkViSurfaceCreateInfoNN* in_struct) :
15429 sType(in_struct->sType),
15430 pNext(in_struct->pNext),
15431 flags(in_struct->flags),
15432 window(in_struct->window)
15433{
15434}
15435
15436safe_VkViSurfaceCreateInfoNN::safe_VkViSurfaceCreateInfoNN()
15437{}
15438
15439safe_VkViSurfaceCreateInfoNN::safe_VkViSurfaceCreateInfoNN(const safe_VkViSurfaceCreateInfoNN& src)
15440{
15441 sType = src.sType;
15442 pNext = src.pNext;
15443 flags = src.flags;
15444 window = src.window;
15445}
15446
15447safe_VkViSurfaceCreateInfoNN& safe_VkViSurfaceCreateInfoNN::operator=(const safe_VkViSurfaceCreateInfoNN& src)
15448{
15449 if (&src == this) return *this;
15450
15451
15452 sType = src.sType;
15453 pNext = src.pNext;
15454 flags = src.flags;
15455 window = src.window;
15456
15457 return *this;
15458}
15459
15460safe_VkViSurfaceCreateInfoNN::~safe_VkViSurfaceCreateInfoNN()
15461{
15462}
15463
15464void safe_VkViSurfaceCreateInfoNN::initialize(const VkViSurfaceCreateInfoNN* in_struct)
15465{
15466 sType = in_struct->sType;
15467 pNext = in_struct->pNext;
15468 flags = in_struct->flags;
15469 window = in_struct->window;
15470}
15471
15472void safe_VkViSurfaceCreateInfoNN::initialize(const safe_VkViSurfaceCreateInfoNN* src)
15473{
15474 sType = src->sType;
15475 pNext = src->pNext;
15476 flags = src->flags;
15477 window = src->window;
15478}
15479#endif // VK_USE_PLATFORM_VI_NN
15480
15481
15482safe_VkImageViewASTCDecodeModeEXT::safe_VkImageViewASTCDecodeModeEXT(const VkImageViewASTCDecodeModeEXT* in_struct) :
15483 sType(in_struct->sType),
15484 pNext(in_struct->pNext),
15485 decodeMode(in_struct->decodeMode)
15486{
15487}
15488
15489safe_VkImageViewASTCDecodeModeEXT::safe_VkImageViewASTCDecodeModeEXT()
15490{}
15491
15492safe_VkImageViewASTCDecodeModeEXT::safe_VkImageViewASTCDecodeModeEXT(const safe_VkImageViewASTCDecodeModeEXT& src)
15493{
15494 sType = src.sType;
15495 pNext = src.pNext;
15496 decodeMode = src.decodeMode;
15497}
15498
15499safe_VkImageViewASTCDecodeModeEXT& safe_VkImageViewASTCDecodeModeEXT::operator=(const safe_VkImageViewASTCDecodeModeEXT& src)
15500{
15501 if (&src == this) return *this;
15502
15503
15504 sType = src.sType;
15505 pNext = src.pNext;
15506 decodeMode = src.decodeMode;
15507
15508 return *this;
15509}
15510
15511safe_VkImageViewASTCDecodeModeEXT::~safe_VkImageViewASTCDecodeModeEXT()
15512{
15513}
15514
15515void safe_VkImageViewASTCDecodeModeEXT::initialize(const VkImageViewASTCDecodeModeEXT* in_struct)
15516{
15517 sType = in_struct->sType;
15518 pNext = in_struct->pNext;
15519 decodeMode = in_struct->decodeMode;
15520}
15521
15522void safe_VkImageViewASTCDecodeModeEXT::initialize(const safe_VkImageViewASTCDecodeModeEXT* src)
15523{
15524 sType = src->sType;
15525 pNext = src->pNext;
15526 decodeMode = src->decodeMode;
15527}
15528
15529safe_VkPhysicalDeviceASTCDecodeFeaturesEXT::safe_VkPhysicalDeviceASTCDecodeFeaturesEXT(const VkPhysicalDeviceASTCDecodeFeaturesEXT* in_struct) :
15530 sType(in_struct->sType),
15531 pNext(in_struct->pNext),
15532 decodeModeSharedExponent(in_struct->decodeModeSharedExponent)
15533{
15534}
15535
15536safe_VkPhysicalDeviceASTCDecodeFeaturesEXT::safe_VkPhysicalDeviceASTCDecodeFeaturesEXT()
15537{}
15538
15539safe_VkPhysicalDeviceASTCDecodeFeaturesEXT::safe_VkPhysicalDeviceASTCDecodeFeaturesEXT(const safe_VkPhysicalDeviceASTCDecodeFeaturesEXT& src)
15540{
15541 sType = src.sType;
15542 pNext = src.pNext;
15543 decodeModeSharedExponent = src.decodeModeSharedExponent;
15544}
15545
15546safe_VkPhysicalDeviceASTCDecodeFeaturesEXT& safe_VkPhysicalDeviceASTCDecodeFeaturesEXT::operator=(const safe_VkPhysicalDeviceASTCDecodeFeaturesEXT& src)
15547{
15548 if (&src == this) return *this;
15549
15550
15551 sType = src.sType;
15552 pNext = src.pNext;
15553 decodeModeSharedExponent = src.decodeModeSharedExponent;
15554
15555 return *this;
15556}
15557
15558safe_VkPhysicalDeviceASTCDecodeFeaturesEXT::~safe_VkPhysicalDeviceASTCDecodeFeaturesEXT()
15559{
15560}
15561
15562void safe_VkPhysicalDeviceASTCDecodeFeaturesEXT::initialize(const VkPhysicalDeviceASTCDecodeFeaturesEXT* in_struct)
15563{
15564 sType = in_struct->sType;
15565 pNext = in_struct->pNext;
15566 decodeModeSharedExponent = in_struct->decodeModeSharedExponent;
15567}
15568
15569void safe_VkPhysicalDeviceASTCDecodeFeaturesEXT::initialize(const safe_VkPhysicalDeviceASTCDecodeFeaturesEXT* src)
15570{
15571 sType = src->sType;
15572 pNext = src->pNext;
15573 decodeModeSharedExponent = src->decodeModeSharedExponent;
15574}
15575
15576safe_VkConditionalRenderingBeginInfoEXT::safe_VkConditionalRenderingBeginInfoEXT(const VkConditionalRenderingBeginInfoEXT* in_struct) :
15577 sType(in_struct->sType),
15578 pNext(in_struct->pNext),
15579 buffer(in_struct->buffer),
15580 offset(in_struct->offset),
15581 flags(in_struct->flags)
15582{
15583}
15584
15585safe_VkConditionalRenderingBeginInfoEXT::safe_VkConditionalRenderingBeginInfoEXT()
15586{}
15587
15588safe_VkConditionalRenderingBeginInfoEXT::safe_VkConditionalRenderingBeginInfoEXT(const safe_VkConditionalRenderingBeginInfoEXT& src)
15589{
15590 sType = src.sType;
15591 pNext = src.pNext;
15592 buffer = src.buffer;
15593 offset = src.offset;
15594 flags = src.flags;
15595}
15596
15597safe_VkConditionalRenderingBeginInfoEXT& safe_VkConditionalRenderingBeginInfoEXT::operator=(const safe_VkConditionalRenderingBeginInfoEXT& src)
15598{
15599 if (&src == this) return *this;
15600
15601
15602 sType = src.sType;
15603 pNext = src.pNext;
15604 buffer = src.buffer;
15605 offset = src.offset;
15606 flags = src.flags;
15607
15608 return *this;
15609}
15610
15611safe_VkConditionalRenderingBeginInfoEXT::~safe_VkConditionalRenderingBeginInfoEXT()
15612{
15613}
15614
15615void safe_VkConditionalRenderingBeginInfoEXT::initialize(const VkConditionalRenderingBeginInfoEXT* in_struct)
15616{
15617 sType = in_struct->sType;
15618 pNext = in_struct->pNext;
15619 buffer = in_struct->buffer;
15620 offset = in_struct->offset;
15621 flags = in_struct->flags;
15622}
15623
15624void safe_VkConditionalRenderingBeginInfoEXT::initialize(const safe_VkConditionalRenderingBeginInfoEXT* src)
15625{
15626 sType = src->sType;
15627 pNext = src->pNext;
15628 buffer = src->buffer;
15629 offset = src->offset;
15630 flags = src->flags;
15631}
15632
15633safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT::safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT(const VkPhysicalDeviceConditionalRenderingFeaturesEXT* in_struct) :
15634 sType(in_struct->sType),
15635 pNext(in_struct->pNext),
15636 conditionalRendering(in_struct->conditionalRendering),
15637 inheritedConditionalRendering(in_struct->inheritedConditionalRendering)
15638{
15639}
15640
15641safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT::safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT()
15642{}
15643
15644safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT::safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT(const safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT& src)
15645{
15646 sType = src.sType;
15647 pNext = src.pNext;
15648 conditionalRendering = src.conditionalRendering;
15649 inheritedConditionalRendering = src.inheritedConditionalRendering;
15650}
15651
15652safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT& safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT::operator=(const safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT& src)
15653{
15654 if (&src == this) return *this;
15655
15656
15657 sType = src.sType;
15658 pNext = src.pNext;
15659 conditionalRendering = src.conditionalRendering;
15660 inheritedConditionalRendering = src.inheritedConditionalRendering;
15661
15662 return *this;
15663}
15664
15665safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT::~safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT()
15666{
15667}
15668
15669void safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT::initialize(const VkPhysicalDeviceConditionalRenderingFeaturesEXT* in_struct)
15670{
15671 sType = in_struct->sType;
15672 pNext = in_struct->pNext;
15673 conditionalRendering = in_struct->conditionalRendering;
15674 inheritedConditionalRendering = in_struct->inheritedConditionalRendering;
15675}
15676
15677void safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT::initialize(const safe_VkPhysicalDeviceConditionalRenderingFeaturesEXT* src)
15678{
15679 sType = src->sType;
15680 pNext = src->pNext;
15681 conditionalRendering = src->conditionalRendering;
15682 inheritedConditionalRendering = src->inheritedConditionalRendering;
15683}
15684
15685safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT::safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT(const VkCommandBufferInheritanceConditionalRenderingInfoEXT* in_struct) :
15686 sType(in_struct->sType),
15687 pNext(in_struct->pNext),
15688 conditionalRenderingEnable(in_struct->conditionalRenderingEnable)
15689{
15690}
15691
15692safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT::safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT()
15693{}
15694
15695safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT::safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT(const safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT& src)
15696{
15697 sType = src.sType;
15698 pNext = src.pNext;
15699 conditionalRenderingEnable = src.conditionalRenderingEnable;
15700}
15701
15702safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT& safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT::operator=(const safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT& src)
15703{
15704 if (&src == this) return *this;
15705
15706
15707 sType = src.sType;
15708 pNext = src.pNext;
15709 conditionalRenderingEnable = src.conditionalRenderingEnable;
15710
15711 return *this;
15712}
15713
15714safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT::~safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT()
15715{
15716}
15717
15718void safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT::initialize(const VkCommandBufferInheritanceConditionalRenderingInfoEXT* in_struct)
15719{
15720 sType = in_struct->sType;
15721 pNext = in_struct->pNext;
15722 conditionalRenderingEnable = in_struct->conditionalRenderingEnable;
15723}
15724
15725void safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT::initialize(const safe_VkCommandBufferInheritanceConditionalRenderingInfoEXT* src)
15726{
15727 sType = src->sType;
15728 pNext = src->pNext;
15729 conditionalRenderingEnable = src->conditionalRenderingEnable;
15730}
15731
15732safe_VkDeviceGeneratedCommandsFeaturesNVX::safe_VkDeviceGeneratedCommandsFeaturesNVX(const VkDeviceGeneratedCommandsFeaturesNVX* in_struct) :
15733 sType(in_struct->sType),
15734 pNext(in_struct->pNext),
15735 computeBindingPointSupport(in_struct->computeBindingPointSupport)
15736{
15737}
15738
15739safe_VkDeviceGeneratedCommandsFeaturesNVX::safe_VkDeviceGeneratedCommandsFeaturesNVX()
15740{}
15741
15742safe_VkDeviceGeneratedCommandsFeaturesNVX::safe_VkDeviceGeneratedCommandsFeaturesNVX(const safe_VkDeviceGeneratedCommandsFeaturesNVX& src)
15743{
15744 sType = src.sType;
15745 pNext = src.pNext;
15746 computeBindingPointSupport = src.computeBindingPointSupport;
15747}
15748
15749safe_VkDeviceGeneratedCommandsFeaturesNVX& safe_VkDeviceGeneratedCommandsFeaturesNVX::operator=(const safe_VkDeviceGeneratedCommandsFeaturesNVX& src)
15750{
15751 if (&src == this) return *this;
15752
15753
15754 sType = src.sType;
15755 pNext = src.pNext;
15756 computeBindingPointSupport = src.computeBindingPointSupport;
15757
15758 return *this;
15759}
15760
15761safe_VkDeviceGeneratedCommandsFeaturesNVX::~safe_VkDeviceGeneratedCommandsFeaturesNVX()
15762{
15763}
15764
15765void safe_VkDeviceGeneratedCommandsFeaturesNVX::initialize(const VkDeviceGeneratedCommandsFeaturesNVX* in_struct)
15766{
15767 sType = in_struct->sType;
15768 pNext = in_struct->pNext;
15769 computeBindingPointSupport = in_struct->computeBindingPointSupport;
15770}
15771
15772void safe_VkDeviceGeneratedCommandsFeaturesNVX::initialize(const safe_VkDeviceGeneratedCommandsFeaturesNVX* src)
15773{
15774 sType = src->sType;
15775 pNext = src->pNext;
15776 computeBindingPointSupport = src->computeBindingPointSupport;
15777}
15778
15779safe_VkDeviceGeneratedCommandsLimitsNVX::safe_VkDeviceGeneratedCommandsLimitsNVX(const VkDeviceGeneratedCommandsLimitsNVX* in_struct) :
15780 sType(in_struct->sType),
15781 pNext(in_struct->pNext),
15782 maxIndirectCommandsLayoutTokenCount(in_struct->maxIndirectCommandsLayoutTokenCount),
15783 maxObjectEntryCounts(in_struct->maxObjectEntryCounts),
15784 minSequenceCountBufferOffsetAlignment(in_struct->minSequenceCountBufferOffsetAlignment),
15785 minSequenceIndexBufferOffsetAlignment(in_struct->minSequenceIndexBufferOffsetAlignment),
15786 minCommandsTokenBufferOffsetAlignment(in_struct->minCommandsTokenBufferOffsetAlignment)
15787{
15788}
15789
15790safe_VkDeviceGeneratedCommandsLimitsNVX::safe_VkDeviceGeneratedCommandsLimitsNVX()
15791{}
15792
15793safe_VkDeviceGeneratedCommandsLimitsNVX::safe_VkDeviceGeneratedCommandsLimitsNVX(const safe_VkDeviceGeneratedCommandsLimitsNVX& src)
15794{
15795 sType = src.sType;
15796 pNext = src.pNext;
15797 maxIndirectCommandsLayoutTokenCount = src.maxIndirectCommandsLayoutTokenCount;
15798 maxObjectEntryCounts = src.maxObjectEntryCounts;
15799 minSequenceCountBufferOffsetAlignment = src.minSequenceCountBufferOffsetAlignment;
15800 minSequenceIndexBufferOffsetAlignment = src.minSequenceIndexBufferOffsetAlignment;
15801 minCommandsTokenBufferOffsetAlignment = src.minCommandsTokenBufferOffsetAlignment;
15802}
15803
15804safe_VkDeviceGeneratedCommandsLimitsNVX& safe_VkDeviceGeneratedCommandsLimitsNVX::operator=(const safe_VkDeviceGeneratedCommandsLimitsNVX& src)
15805{
15806 if (&src == this) return *this;
15807
15808
15809 sType = src.sType;
15810 pNext = src.pNext;
15811 maxIndirectCommandsLayoutTokenCount = src.maxIndirectCommandsLayoutTokenCount;
15812 maxObjectEntryCounts = src.maxObjectEntryCounts;
15813 minSequenceCountBufferOffsetAlignment = src.minSequenceCountBufferOffsetAlignment;
15814 minSequenceIndexBufferOffsetAlignment = src.minSequenceIndexBufferOffsetAlignment;
15815 minCommandsTokenBufferOffsetAlignment = src.minCommandsTokenBufferOffsetAlignment;
15816
15817 return *this;
15818}
15819
15820safe_VkDeviceGeneratedCommandsLimitsNVX::~safe_VkDeviceGeneratedCommandsLimitsNVX()
15821{
15822}
15823
15824void safe_VkDeviceGeneratedCommandsLimitsNVX::initialize(const VkDeviceGeneratedCommandsLimitsNVX* in_struct)
15825{
15826 sType = in_struct->sType;
15827 pNext = in_struct->pNext;
15828 maxIndirectCommandsLayoutTokenCount = in_struct->maxIndirectCommandsLayoutTokenCount;
15829 maxObjectEntryCounts = in_struct->maxObjectEntryCounts;
15830 minSequenceCountBufferOffsetAlignment = in_struct->minSequenceCountBufferOffsetAlignment;
15831 minSequenceIndexBufferOffsetAlignment = in_struct->minSequenceIndexBufferOffsetAlignment;
15832 minCommandsTokenBufferOffsetAlignment = in_struct->minCommandsTokenBufferOffsetAlignment;
15833}
15834
15835void safe_VkDeviceGeneratedCommandsLimitsNVX::initialize(const safe_VkDeviceGeneratedCommandsLimitsNVX* src)
15836{
15837 sType = src->sType;
15838 pNext = src->pNext;
15839 maxIndirectCommandsLayoutTokenCount = src->maxIndirectCommandsLayoutTokenCount;
15840 maxObjectEntryCounts = src->maxObjectEntryCounts;
15841 minSequenceCountBufferOffsetAlignment = src->minSequenceCountBufferOffsetAlignment;
15842 minSequenceIndexBufferOffsetAlignment = src->minSequenceIndexBufferOffsetAlignment;
15843 minCommandsTokenBufferOffsetAlignment = src->minCommandsTokenBufferOffsetAlignment;
15844}
15845
15846safe_VkIndirectCommandsLayoutCreateInfoNVX::safe_VkIndirectCommandsLayoutCreateInfoNVX(const VkIndirectCommandsLayoutCreateInfoNVX* in_struct) :
15847 sType(in_struct->sType),
15848 pNext(in_struct->pNext),
15849 pipelineBindPoint(in_struct->pipelineBindPoint),
15850 flags(in_struct->flags),
15851 tokenCount(in_struct->tokenCount),
15852 pTokens(nullptr)
15853{
15854 if (in_struct->pTokens) {
15855 pTokens = new VkIndirectCommandsLayoutTokenNVX[in_struct->tokenCount];
15856 memcpy ((void *)pTokens, (void *)in_struct->pTokens, sizeof(VkIndirectCommandsLayoutTokenNVX)*in_struct->tokenCount);
15857 }
15858}
15859
15860safe_VkIndirectCommandsLayoutCreateInfoNVX::safe_VkIndirectCommandsLayoutCreateInfoNVX() :
15861 pTokens(nullptr)
15862{}
15863
15864safe_VkIndirectCommandsLayoutCreateInfoNVX::safe_VkIndirectCommandsLayoutCreateInfoNVX(const safe_VkIndirectCommandsLayoutCreateInfoNVX& src)
15865{
15866 sType = src.sType;
15867 pNext = src.pNext;
15868 pipelineBindPoint = src.pipelineBindPoint;
15869 flags = src.flags;
15870 tokenCount = src.tokenCount;
15871 pTokens = nullptr;
15872 if (src.pTokens) {
15873 pTokens = new VkIndirectCommandsLayoutTokenNVX[src.tokenCount];
15874 memcpy ((void *)pTokens, (void *)src.pTokens, sizeof(VkIndirectCommandsLayoutTokenNVX)*src.tokenCount);
15875 }
15876}
15877
15878safe_VkIndirectCommandsLayoutCreateInfoNVX& safe_VkIndirectCommandsLayoutCreateInfoNVX::operator=(const safe_VkIndirectCommandsLayoutCreateInfoNVX& src)
15879{
15880 if (&src == this) return *this;
15881
15882 if (pTokens)
15883 delete[] pTokens;
15884
15885 sType = src.sType;
15886 pNext = src.pNext;
15887 pipelineBindPoint = src.pipelineBindPoint;
15888 flags = src.flags;
15889 tokenCount = src.tokenCount;
15890 pTokens = nullptr;
15891 if (src.pTokens) {
15892 pTokens = new VkIndirectCommandsLayoutTokenNVX[src.tokenCount];
15893 memcpy ((void *)pTokens, (void *)src.pTokens, sizeof(VkIndirectCommandsLayoutTokenNVX)*src.tokenCount);
15894 }
15895
15896 return *this;
15897}
15898
15899safe_VkIndirectCommandsLayoutCreateInfoNVX::~safe_VkIndirectCommandsLayoutCreateInfoNVX()
15900{
15901 if (pTokens)
15902 delete[] pTokens;
15903}
15904
15905void safe_VkIndirectCommandsLayoutCreateInfoNVX::initialize(const VkIndirectCommandsLayoutCreateInfoNVX* in_struct)
15906{
15907 sType = in_struct->sType;
15908 pNext = in_struct->pNext;
15909 pipelineBindPoint = in_struct->pipelineBindPoint;
15910 flags = in_struct->flags;
15911 tokenCount = in_struct->tokenCount;
15912 pTokens = nullptr;
15913 if (in_struct->pTokens) {
15914 pTokens = new VkIndirectCommandsLayoutTokenNVX[in_struct->tokenCount];
15915 memcpy ((void *)pTokens, (void *)in_struct->pTokens, sizeof(VkIndirectCommandsLayoutTokenNVX)*in_struct->tokenCount);
15916 }
15917}
15918
15919void safe_VkIndirectCommandsLayoutCreateInfoNVX::initialize(const safe_VkIndirectCommandsLayoutCreateInfoNVX* src)
15920{
15921 sType = src->sType;
15922 pNext = src->pNext;
15923 pipelineBindPoint = src->pipelineBindPoint;
15924 flags = src->flags;
15925 tokenCount = src->tokenCount;
15926 pTokens = nullptr;
15927 if (src->pTokens) {
15928 pTokens = new VkIndirectCommandsLayoutTokenNVX[src->tokenCount];
15929 memcpy ((void *)pTokens, (void *)src->pTokens, sizeof(VkIndirectCommandsLayoutTokenNVX)*src->tokenCount);
15930 }
15931}
15932
15933safe_VkCmdProcessCommandsInfoNVX::safe_VkCmdProcessCommandsInfoNVX(const VkCmdProcessCommandsInfoNVX* in_struct) :
15934 sType(in_struct->sType),
15935 pNext(in_struct->pNext),
15936 objectTable(in_struct->objectTable),
15937 indirectCommandsLayout(in_struct->indirectCommandsLayout),
15938 indirectCommandsTokenCount(in_struct->indirectCommandsTokenCount),
15939 pIndirectCommandsTokens(nullptr),
15940 maxSequencesCount(in_struct->maxSequencesCount),
15941 targetCommandBuffer(in_struct->targetCommandBuffer),
15942 sequencesCountBuffer(in_struct->sequencesCountBuffer),
15943 sequencesCountOffset(in_struct->sequencesCountOffset),
15944 sequencesIndexBuffer(in_struct->sequencesIndexBuffer),
15945 sequencesIndexOffset(in_struct->sequencesIndexOffset)
15946{
15947 if (indirectCommandsTokenCount && in_struct->pIndirectCommandsTokens) {
15948 pIndirectCommandsTokens = new VkIndirectCommandsTokenNVX[indirectCommandsTokenCount];
15949 for (uint32_t i=0; i<indirectCommandsTokenCount; ++i) {
15950 pIndirectCommandsTokens[i] = in_struct->pIndirectCommandsTokens[i];
15951 }
15952 }
15953}
15954
15955safe_VkCmdProcessCommandsInfoNVX::safe_VkCmdProcessCommandsInfoNVX() :
15956 pIndirectCommandsTokens(nullptr)
15957{}
15958
15959safe_VkCmdProcessCommandsInfoNVX::safe_VkCmdProcessCommandsInfoNVX(const safe_VkCmdProcessCommandsInfoNVX& src)
15960{
15961 sType = src.sType;
15962 pNext = src.pNext;
15963 objectTable = src.objectTable;
15964 indirectCommandsLayout = src.indirectCommandsLayout;
15965 indirectCommandsTokenCount = src.indirectCommandsTokenCount;
15966 pIndirectCommandsTokens = nullptr;
15967 maxSequencesCount = src.maxSequencesCount;
15968 targetCommandBuffer = src.targetCommandBuffer;
15969 sequencesCountBuffer = src.sequencesCountBuffer;
15970 sequencesCountOffset = src.sequencesCountOffset;
15971 sequencesIndexBuffer = src.sequencesIndexBuffer;
15972 sequencesIndexOffset = src.sequencesIndexOffset;
15973 if (indirectCommandsTokenCount && src.pIndirectCommandsTokens) {
15974 pIndirectCommandsTokens = new VkIndirectCommandsTokenNVX[indirectCommandsTokenCount];
15975 for (uint32_t i=0; i<indirectCommandsTokenCount; ++i) {
15976 pIndirectCommandsTokens[i] = src.pIndirectCommandsTokens[i];
15977 }
15978 }
15979}
15980
15981safe_VkCmdProcessCommandsInfoNVX& safe_VkCmdProcessCommandsInfoNVX::operator=(const safe_VkCmdProcessCommandsInfoNVX& src)
15982{
15983 if (&src == this) return *this;
15984
15985 if (pIndirectCommandsTokens)
15986 delete[] pIndirectCommandsTokens;
15987
15988 sType = src.sType;
15989 pNext = src.pNext;
15990 objectTable = src.objectTable;
15991 indirectCommandsLayout = src.indirectCommandsLayout;
15992 indirectCommandsTokenCount = src.indirectCommandsTokenCount;
15993 pIndirectCommandsTokens = nullptr;
15994 maxSequencesCount = src.maxSequencesCount;
15995 targetCommandBuffer = src.targetCommandBuffer;
15996 sequencesCountBuffer = src.sequencesCountBuffer;
15997 sequencesCountOffset = src.sequencesCountOffset;
15998 sequencesIndexBuffer = src.sequencesIndexBuffer;
15999 sequencesIndexOffset = src.sequencesIndexOffset;
16000 if (indirectCommandsTokenCount && src.pIndirectCommandsTokens) {
16001 pIndirectCommandsTokens = new VkIndirectCommandsTokenNVX[indirectCommandsTokenCount];
16002 for (uint32_t i=0; i<indirectCommandsTokenCount; ++i) {
16003 pIndirectCommandsTokens[i] = src.pIndirectCommandsTokens[i];
16004 }
16005 }
16006
16007 return *this;
16008}
16009
16010safe_VkCmdProcessCommandsInfoNVX::~safe_VkCmdProcessCommandsInfoNVX()
16011{
16012 if (pIndirectCommandsTokens)
16013 delete[] pIndirectCommandsTokens;
16014}
16015
16016void safe_VkCmdProcessCommandsInfoNVX::initialize(const VkCmdProcessCommandsInfoNVX* in_struct)
16017{
16018 sType = in_struct->sType;
16019 pNext = in_struct->pNext;
16020 objectTable = in_struct->objectTable;
16021 indirectCommandsLayout = in_struct->indirectCommandsLayout;
16022 indirectCommandsTokenCount = in_struct->indirectCommandsTokenCount;
16023 pIndirectCommandsTokens = nullptr;
16024 maxSequencesCount = in_struct->maxSequencesCount;
16025 targetCommandBuffer = in_struct->targetCommandBuffer;
16026 sequencesCountBuffer = in_struct->sequencesCountBuffer;
16027 sequencesCountOffset = in_struct->sequencesCountOffset;
16028 sequencesIndexBuffer = in_struct->sequencesIndexBuffer;
16029 sequencesIndexOffset = in_struct->sequencesIndexOffset;
16030 if (indirectCommandsTokenCount && in_struct->pIndirectCommandsTokens) {
16031 pIndirectCommandsTokens = new VkIndirectCommandsTokenNVX[indirectCommandsTokenCount];
16032 for (uint32_t i=0; i<indirectCommandsTokenCount; ++i) {
16033 pIndirectCommandsTokens[i] = in_struct->pIndirectCommandsTokens[i];
16034 }
16035 }
16036}
16037
16038void safe_VkCmdProcessCommandsInfoNVX::initialize(const safe_VkCmdProcessCommandsInfoNVX* src)
16039{
16040 sType = src->sType;
16041 pNext = src->pNext;
16042 objectTable = src->objectTable;
16043 indirectCommandsLayout = src->indirectCommandsLayout;
16044 indirectCommandsTokenCount = src->indirectCommandsTokenCount;
16045 pIndirectCommandsTokens = nullptr;
16046 maxSequencesCount = src->maxSequencesCount;
16047 targetCommandBuffer = src->targetCommandBuffer;
16048 sequencesCountBuffer = src->sequencesCountBuffer;
16049 sequencesCountOffset = src->sequencesCountOffset;
16050 sequencesIndexBuffer = src->sequencesIndexBuffer;
16051 sequencesIndexOffset = src->sequencesIndexOffset;
16052 if (indirectCommandsTokenCount && src->pIndirectCommandsTokens) {
16053 pIndirectCommandsTokens = new VkIndirectCommandsTokenNVX[indirectCommandsTokenCount];
16054 for (uint32_t i=0; i<indirectCommandsTokenCount; ++i) {
16055 pIndirectCommandsTokens[i] = src->pIndirectCommandsTokens[i];
16056 }
16057 }
16058}
16059
16060safe_VkCmdReserveSpaceForCommandsInfoNVX::safe_VkCmdReserveSpaceForCommandsInfoNVX(const VkCmdReserveSpaceForCommandsInfoNVX* in_struct) :
16061 sType(in_struct->sType),
16062 pNext(in_struct->pNext),
16063 objectTable(in_struct->objectTable),
16064 indirectCommandsLayout(in_struct->indirectCommandsLayout),
16065 maxSequencesCount(in_struct->maxSequencesCount)
16066{
16067}
16068
16069safe_VkCmdReserveSpaceForCommandsInfoNVX::safe_VkCmdReserveSpaceForCommandsInfoNVX()
16070{}
16071
16072safe_VkCmdReserveSpaceForCommandsInfoNVX::safe_VkCmdReserveSpaceForCommandsInfoNVX(const safe_VkCmdReserveSpaceForCommandsInfoNVX& src)
16073{
16074 sType = src.sType;
16075 pNext = src.pNext;
16076 objectTable = src.objectTable;
16077 indirectCommandsLayout = src.indirectCommandsLayout;
16078 maxSequencesCount = src.maxSequencesCount;
16079}
16080
16081safe_VkCmdReserveSpaceForCommandsInfoNVX& safe_VkCmdReserveSpaceForCommandsInfoNVX::operator=(const safe_VkCmdReserveSpaceForCommandsInfoNVX& src)
16082{
16083 if (&src == this) return *this;
16084
16085
16086 sType = src.sType;
16087 pNext = src.pNext;
16088 objectTable = src.objectTable;
16089 indirectCommandsLayout = src.indirectCommandsLayout;
16090 maxSequencesCount = src.maxSequencesCount;
16091
16092 return *this;
16093}
16094
16095safe_VkCmdReserveSpaceForCommandsInfoNVX::~safe_VkCmdReserveSpaceForCommandsInfoNVX()
16096{
16097}
16098
16099void safe_VkCmdReserveSpaceForCommandsInfoNVX::initialize(const VkCmdReserveSpaceForCommandsInfoNVX* in_struct)
16100{
16101 sType = in_struct->sType;
16102 pNext = in_struct->pNext;
16103 objectTable = in_struct->objectTable;
16104 indirectCommandsLayout = in_struct->indirectCommandsLayout;
16105 maxSequencesCount = in_struct->maxSequencesCount;
16106}
16107
16108void safe_VkCmdReserveSpaceForCommandsInfoNVX::initialize(const safe_VkCmdReserveSpaceForCommandsInfoNVX* src)
16109{
16110 sType = src->sType;
16111 pNext = src->pNext;
16112 objectTable = src->objectTable;
16113 indirectCommandsLayout = src->indirectCommandsLayout;
16114 maxSequencesCount = src->maxSequencesCount;
16115}
16116
16117safe_VkObjectTableCreateInfoNVX::safe_VkObjectTableCreateInfoNVX(const VkObjectTableCreateInfoNVX* in_struct) :
16118 sType(in_struct->sType),
16119 pNext(in_struct->pNext),
16120 objectCount(in_struct->objectCount),
16121 pObjectEntryTypes(nullptr),
16122 pObjectEntryCounts(nullptr),
16123 pObjectEntryUsageFlags(nullptr),
16124 maxUniformBuffersPerDescriptor(in_struct->maxUniformBuffersPerDescriptor),
16125 maxStorageBuffersPerDescriptor(in_struct->maxStorageBuffersPerDescriptor),
16126 maxStorageImagesPerDescriptor(in_struct->maxStorageImagesPerDescriptor),
16127 maxSampledImagesPerDescriptor(in_struct->maxSampledImagesPerDescriptor),
16128 maxPipelineLayouts(in_struct->maxPipelineLayouts)
16129{
16130 if (in_struct->pObjectEntryTypes) {
16131 pObjectEntryTypes = new VkObjectEntryTypeNVX[in_struct->objectCount];
16132 memcpy ((void *)pObjectEntryTypes, (void *)in_struct->pObjectEntryTypes, sizeof(VkObjectEntryTypeNVX)*in_struct->objectCount);
16133 }
16134 if (in_struct->pObjectEntryCounts) {
16135 pObjectEntryCounts = new uint32_t[in_struct->objectCount];
16136 memcpy ((void *)pObjectEntryCounts, (void *)in_struct->pObjectEntryCounts, sizeof(uint32_t)*in_struct->objectCount);
16137 }
16138 if (in_struct->pObjectEntryUsageFlags) {
16139 pObjectEntryUsageFlags = new VkObjectEntryUsageFlagsNVX[in_struct->objectCount];
16140 memcpy ((void *)pObjectEntryUsageFlags, (void *)in_struct->pObjectEntryUsageFlags, sizeof(VkObjectEntryUsageFlagsNVX)*in_struct->objectCount);
16141 }
16142}
16143
16144safe_VkObjectTableCreateInfoNVX::safe_VkObjectTableCreateInfoNVX() :
16145 pObjectEntryTypes(nullptr),
16146 pObjectEntryCounts(nullptr),
16147 pObjectEntryUsageFlags(nullptr)
16148{}
16149
16150safe_VkObjectTableCreateInfoNVX::safe_VkObjectTableCreateInfoNVX(const safe_VkObjectTableCreateInfoNVX& src)
16151{
16152 sType = src.sType;
16153 pNext = src.pNext;
16154 objectCount = src.objectCount;
16155 pObjectEntryTypes = nullptr;
16156 pObjectEntryCounts = nullptr;
16157 pObjectEntryUsageFlags = nullptr;
16158 maxUniformBuffersPerDescriptor = src.maxUniformBuffersPerDescriptor;
16159 maxStorageBuffersPerDescriptor = src.maxStorageBuffersPerDescriptor;
16160 maxStorageImagesPerDescriptor = src.maxStorageImagesPerDescriptor;
16161 maxSampledImagesPerDescriptor = src.maxSampledImagesPerDescriptor;
16162 maxPipelineLayouts = src.maxPipelineLayouts;
16163 if (src.pObjectEntryTypes) {
16164 pObjectEntryTypes = new VkObjectEntryTypeNVX[src.objectCount];
16165 memcpy ((void *)pObjectEntryTypes, (void *)src.pObjectEntryTypes, sizeof(VkObjectEntryTypeNVX)*src.objectCount);
16166 }
16167 if (src.pObjectEntryCounts) {
16168 pObjectEntryCounts = new uint32_t[src.objectCount];
16169 memcpy ((void *)pObjectEntryCounts, (void *)src.pObjectEntryCounts, sizeof(uint32_t)*src.objectCount);
16170 }
16171 if (src.pObjectEntryUsageFlags) {
16172 pObjectEntryUsageFlags = new VkObjectEntryUsageFlagsNVX[src.objectCount];
16173 memcpy ((void *)pObjectEntryUsageFlags, (void *)src.pObjectEntryUsageFlags, sizeof(VkObjectEntryUsageFlagsNVX)*src.objectCount);
16174 }
16175}
16176
16177safe_VkObjectTableCreateInfoNVX& safe_VkObjectTableCreateInfoNVX::operator=(const safe_VkObjectTableCreateInfoNVX& src)
16178{
16179 if (&src == this) return *this;
16180
16181 if (pObjectEntryTypes)
16182 delete[] pObjectEntryTypes;
16183 if (pObjectEntryCounts)
16184 delete[] pObjectEntryCounts;
16185 if (pObjectEntryUsageFlags)
16186 delete[] pObjectEntryUsageFlags;
16187
16188 sType = src.sType;
16189 pNext = src.pNext;
16190 objectCount = src.objectCount;
16191 pObjectEntryTypes = nullptr;
16192 pObjectEntryCounts = nullptr;
16193 pObjectEntryUsageFlags = nullptr;
16194 maxUniformBuffersPerDescriptor = src.maxUniformBuffersPerDescriptor;
16195 maxStorageBuffersPerDescriptor = src.maxStorageBuffersPerDescriptor;
16196 maxStorageImagesPerDescriptor = src.maxStorageImagesPerDescriptor;
16197 maxSampledImagesPerDescriptor = src.maxSampledImagesPerDescriptor;
16198 maxPipelineLayouts = src.maxPipelineLayouts;
16199 if (src.pObjectEntryTypes) {
16200 pObjectEntryTypes = new VkObjectEntryTypeNVX[src.objectCount];
16201 memcpy ((void *)pObjectEntryTypes, (void *)src.pObjectEntryTypes, sizeof(VkObjectEntryTypeNVX)*src.objectCount);
16202 }
16203 if (src.pObjectEntryCounts) {
16204 pObjectEntryCounts = new uint32_t[src.objectCount];
16205 memcpy ((void *)pObjectEntryCounts, (void *)src.pObjectEntryCounts, sizeof(uint32_t)*src.objectCount);
16206 }
16207 if (src.pObjectEntryUsageFlags) {
16208 pObjectEntryUsageFlags = new VkObjectEntryUsageFlagsNVX[src.objectCount];
16209 memcpy ((void *)pObjectEntryUsageFlags, (void *)src.pObjectEntryUsageFlags, sizeof(VkObjectEntryUsageFlagsNVX)*src.objectCount);
16210 }
16211
16212 return *this;
16213}
16214
16215safe_VkObjectTableCreateInfoNVX::~safe_VkObjectTableCreateInfoNVX()
16216{
16217 if (pObjectEntryTypes)
16218 delete[] pObjectEntryTypes;
16219 if (pObjectEntryCounts)
16220 delete[] pObjectEntryCounts;
16221 if (pObjectEntryUsageFlags)
16222 delete[] pObjectEntryUsageFlags;
16223}
16224
16225void safe_VkObjectTableCreateInfoNVX::initialize(const VkObjectTableCreateInfoNVX* in_struct)
16226{
16227 sType = in_struct->sType;
16228 pNext = in_struct->pNext;
16229 objectCount = in_struct->objectCount;
16230 pObjectEntryTypes = nullptr;
16231 pObjectEntryCounts = nullptr;
16232 pObjectEntryUsageFlags = nullptr;
16233 maxUniformBuffersPerDescriptor = in_struct->maxUniformBuffersPerDescriptor;
16234 maxStorageBuffersPerDescriptor = in_struct->maxStorageBuffersPerDescriptor;
16235 maxStorageImagesPerDescriptor = in_struct->maxStorageImagesPerDescriptor;
16236 maxSampledImagesPerDescriptor = in_struct->maxSampledImagesPerDescriptor;
16237 maxPipelineLayouts = in_struct->maxPipelineLayouts;
16238 if (in_struct->pObjectEntryTypes) {
16239 pObjectEntryTypes = new VkObjectEntryTypeNVX[in_struct->objectCount];
16240 memcpy ((void *)pObjectEntryTypes, (void *)in_struct->pObjectEntryTypes, sizeof(VkObjectEntryTypeNVX)*in_struct->objectCount);
16241 }
16242 if (in_struct->pObjectEntryCounts) {
16243 pObjectEntryCounts = new uint32_t[in_struct->objectCount];
16244 memcpy ((void *)pObjectEntryCounts, (void *)in_struct->pObjectEntryCounts, sizeof(uint32_t)*in_struct->objectCount);
16245 }
16246 if (in_struct->pObjectEntryUsageFlags) {
16247 pObjectEntryUsageFlags = new VkObjectEntryUsageFlagsNVX[in_struct->objectCount];
16248 memcpy ((void *)pObjectEntryUsageFlags, (void *)in_struct->pObjectEntryUsageFlags, sizeof(VkObjectEntryUsageFlagsNVX)*in_struct->objectCount);
16249 }
16250}
16251
16252void safe_VkObjectTableCreateInfoNVX::initialize(const safe_VkObjectTableCreateInfoNVX* src)
16253{
16254 sType = src->sType;
16255 pNext = src->pNext;
16256 objectCount = src->objectCount;
16257 pObjectEntryTypes = nullptr;
16258 pObjectEntryCounts = nullptr;
16259 pObjectEntryUsageFlags = nullptr;
16260 maxUniformBuffersPerDescriptor = src->maxUniformBuffersPerDescriptor;
16261 maxStorageBuffersPerDescriptor = src->maxStorageBuffersPerDescriptor;
16262 maxStorageImagesPerDescriptor = src->maxStorageImagesPerDescriptor;
16263 maxSampledImagesPerDescriptor = src->maxSampledImagesPerDescriptor;
16264 maxPipelineLayouts = src->maxPipelineLayouts;
16265 if (src->pObjectEntryTypes) {
16266 pObjectEntryTypes = new VkObjectEntryTypeNVX[src->objectCount];
16267 memcpy ((void *)pObjectEntryTypes, (void *)src->pObjectEntryTypes, sizeof(VkObjectEntryTypeNVX)*src->objectCount);
16268 }
16269 if (src->pObjectEntryCounts) {
16270 pObjectEntryCounts = new uint32_t[src->objectCount];
16271 memcpy ((void *)pObjectEntryCounts, (void *)src->pObjectEntryCounts, sizeof(uint32_t)*src->objectCount);
16272 }
16273 if (src->pObjectEntryUsageFlags) {
16274 pObjectEntryUsageFlags = new VkObjectEntryUsageFlagsNVX[src->objectCount];
16275 memcpy ((void *)pObjectEntryUsageFlags, (void *)src->pObjectEntryUsageFlags, sizeof(VkObjectEntryUsageFlagsNVX)*src->objectCount);
16276 }
16277}
16278
16279safe_VkPipelineViewportWScalingStateCreateInfoNV::safe_VkPipelineViewportWScalingStateCreateInfoNV(const VkPipelineViewportWScalingStateCreateInfoNV* in_struct) :
16280 sType(in_struct->sType),
16281 pNext(in_struct->pNext),
16282 viewportWScalingEnable(in_struct->viewportWScalingEnable),
16283 viewportCount(in_struct->viewportCount),
16284 pViewportWScalings(nullptr)
16285{
16286 if (in_struct->pViewportWScalings) {
16287 pViewportWScalings = new VkViewportWScalingNV[in_struct->viewportCount];
16288 memcpy ((void *)pViewportWScalings, (void *)in_struct->pViewportWScalings, sizeof(VkViewportWScalingNV)*in_struct->viewportCount);
16289 }
16290}
16291
16292safe_VkPipelineViewportWScalingStateCreateInfoNV::safe_VkPipelineViewportWScalingStateCreateInfoNV() :
16293 pViewportWScalings(nullptr)
16294{}
16295
16296safe_VkPipelineViewportWScalingStateCreateInfoNV::safe_VkPipelineViewportWScalingStateCreateInfoNV(const safe_VkPipelineViewportWScalingStateCreateInfoNV& src)
16297{
16298 sType = src.sType;
16299 pNext = src.pNext;
16300 viewportWScalingEnable = src.viewportWScalingEnable;
16301 viewportCount = src.viewportCount;
16302 pViewportWScalings = nullptr;
16303 if (src.pViewportWScalings) {
16304 pViewportWScalings = new VkViewportWScalingNV[src.viewportCount];
16305 memcpy ((void *)pViewportWScalings, (void *)src.pViewportWScalings, sizeof(VkViewportWScalingNV)*src.viewportCount);
16306 }
16307}
16308
16309safe_VkPipelineViewportWScalingStateCreateInfoNV& safe_VkPipelineViewportWScalingStateCreateInfoNV::operator=(const safe_VkPipelineViewportWScalingStateCreateInfoNV& src)
16310{
16311 if (&src == this) return *this;
16312
16313 if (pViewportWScalings)
16314 delete[] pViewportWScalings;
16315
16316 sType = src.sType;
16317 pNext = src.pNext;
16318 viewportWScalingEnable = src.viewportWScalingEnable;
16319 viewportCount = src.viewportCount;
16320 pViewportWScalings = nullptr;
16321 if (src.pViewportWScalings) {
16322 pViewportWScalings = new VkViewportWScalingNV[src.viewportCount];
16323 memcpy ((void *)pViewportWScalings, (void *)src.pViewportWScalings, sizeof(VkViewportWScalingNV)*src.viewportCount);
16324 }
16325
16326 return *this;
16327}
16328
16329safe_VkPipelineViewportWScalingStateCreateInfoNV::~safe_VkPipelineViewportWScalingStateCreateInfoNV()
16330{
16331 if (pViewportWScalings)
16332 delete[] pViewportWScalings;
16333}
16334
16335void safe_VkPipelineViewportWScalingStateCreateInfoNV::initialize(const VkPipelineViewportWScalingStateCreateInfoNV* in_struct)
16336{
16337 sType = in_struct->sType;
16338 pNext = in_struct->pNext;
16339 viewportWScalingEnable = in_struct->viewportWScalingEnable;
16340 viewportCount = in_struct->viewportCount;
16341 pViewportWScalings = nullptr;
16342 if (in_struct->pViewportWScalings) {
16343 pViewportWScalings = new VkViewportWScalingNV[in_struct->viewportCount];
16344 memcpy ((void *)pViewportWScalings, (void *)in_struct->pViewportWScalings, sizeof(VkViewportWScalingNV)*in_struct->viewportCount);
16345 }
16346}
16347
16348void safe_VkPipelineViewportWScalingStateCreateInfoNV::initialize(const safe_VkPipelineViewportWScalingStateCreateInfoNV* src)
16349{
16350 sType = src->sType;
16351 pNext = src->pNext;
16352 viewportWScalingEnable = src->viewportWScalingEnable;
16353 viewportCount = src->viewportCount;
16354 pViewportWScalings = nullptr;
16355 if (src->pViewportWScalings) {
16356 pViewportWScalings = new VkViewportWScalingNV[src->viewportCount];
16357 memcpy ((void *)pViewportWScalings, (void *)src->pViewportWScalings, sizeof(VkViewportWScalingNV)*src->viewportCount);
16358 }
16359}
16360
16361safe_VkSurfaceCapabilities2EXT::safe_VkSurfaceCapabilities2EXT(const VkSurfaceCapabilities2EXT* in_struct) :
16362 sType(in_struct->sType),
16363 pNext(in_struct->pNext),
16364 minImageCount(in_struct->minImageCount),
16365 maxImageCount(in_struct->maxImageCount),
16366 currentExtent(in_struct->currentExtent),
16367 minImageExtent(in_struct->minImageExtent),
16368 maxImageExtent(in_struct->maxImageExtent),
16369 maxImageArrayLayers(in_struct->maxImageArrayLayers),
16370 supportedTransforms(in_struct->supportedTransforms),
16371 currentTransform(in_struct->currentTransform),
16372 supportedCompositeAlpha(in_struct->supportedCompositeAlpha),
16373 supportedUsageFlags(in_struct->supportedUsageFlags),
16374 supportedSurfaceCounters(in_struct->supportedSurfaceCounters)
16375{
16376}
16377
16378safe_VkSurfaceCapabilities2EXT::safe_VkSurfaceCapabilities2EXT()
16379{}
16380
16381safe_VkSurfaceCapabilities2EXT::safe_VkSurfaceCapabilities2EXT(const safe_VkSurfaceCapabilities2EXT& src)
16382{
16383 sType = src.sType;
16384 pNext = src.pNext;
16385 minImageCount = src.minImageCount;
16386 maxImageCount = src.maxImageCount;
16387 currentExtent = src.currentExtent;
16388 minImageExtent = src.minImageExtent;
16389 maxImageExtent = src.maxImageExtent;
16390 maxImageArrayLayers = src.maxImageArrayLayers;
16391 supportedTransforms = src.supportedTransforms;
16392 currentTransform = src.currentTransform;
16393 supportedCompositeAlpha = src.supportedCompositeAlpha;
16394 supportedUsageFlags = src.supportedUsageFlags;
16395 supportedSurfaceCounters = src.supportedSurfaceCounters;
16396}
16397
16398safe_VkSurfaceCapabilities2EXT& safe_VkSurfaceCapabilities2EXT::operator=(const safe_VkSurfaceCapabilities2EXT& src)
16399{
16400 if (&src == this) return *this;
16401
16402
16403 sType = src.sType;
16404 pNext = src.pNext;
16405 minImageCount = src.minImageCount;
16406 maxImageCount = src.maxImageCount;
16407 currentExtent = src.currentExtent;
16408 minImageExtent = src.minImageExtent;
16409 maxImageExtent = src.maxImageExtent;
16410 maxImageArrayLayers = src.maxImageArrayLayers;
16411 supportedTransforms = src.supportedTransforms;
16412 currentTransform = src.currentTransform;
16413 supportedCompositeAlpha = src.supportedCompositeAlpha;
16414 supportedUsageFlags = src.supportedUsageFlags;
16415 supportedSurfaceCounters = src.supportedSurfaceCounters;
16416
16417 return *this;
16418}
16419
16420safe_VkSurfaceCapabilities2EXT::~safe_VkSurfaceCapabilities2EXT()
16421{
16422}
16423
16424void safe_VkSurfaceCapabilities2EXT::initialize(const VkSurfaceCapabilities2EXT* in_struct)
16425{
16426 sType = in_struct->sType;
16427 pNext = in_struct->pNext;
16428 minImageCount = in_struct->minImageCount;
16429 maxImageCount = in_struct->maxImageCount;
16430 currentExtent = in_struct->currentExtent;
16431 minImageExtent = in_struct->minImageExtent;
16432 maxImageExtent = in_struct->maxImageExtent;
16433 maxImageArrayLayers = in_struct->maxImageArrayLayers;
16434 supportedTransforms = in_struct->supportedTransforms;
16435 currentTransform = in_struct->currentTransform;
16436 supportedCompositeAlpha = in_struct->supportedCompositeAlpha;
16437 supportedUsageFlags = in_struct->supportedUsageFlags;
16438 supportedSurfaceCounters = in_struct->supportedSurfaceCounters;
16439}
16440
16441void safe_VkSurfaceCapabilities2EXT::initialize(const safe_VkSurfaceCapabilities2EXT* src)
16442{
16443 sType = src->sType;
16444 pNext = src->pNext;
16445 minImageCount = src->minImageCount;
16446 maxImageCount = src->maxImageCount;
16447 currentExtent = src->currentExtent;
16448 minImageExtent = src->minImageExtent;
16449 maxImageExtent = src->maxImageExtent;
16450 maxImageArrayLayers = src->maxImageArrayLayers;
16451 supportedTransforms = src->supportedTransforms;
16452 currentTransform = src->currentTransform;
16453 supportedCompositeAlpha = src->supportedCompositeAlpha;
16454 supportedUsageFlags = src->supportedUsageFlags;
16455 supportedSurfaceCounters = src->supportedSurfaceCounters;
16456}
16457
16458safe_VkDisplayPowerInfoEXT::safe_VkDisplayPowerInfoEXT(const VkDisplayPowerInfoEXT* in_struct) :
16459 sType(in_struct->sType),
16460 pNext(in_struct->pNext),
16461 powerState(in_struct->powerState)
16462{
16463}
16464
16465safe_VkDisplayPowerInfoEXT::safe_VkDisplayPowerInfoEXT()
16466{}
16467
16468safe_VkDisplayPowerInfoEXT::safe_VkDisplayPowerInfoEXT(const safe_VkDisplayPowerInfoEXT& src)
16469{
16470 sType = src.sType;
16471 pNext = src.pNext;
16472 powerState = src.powerState;
16473}
16474
16475safe_VkDisplayPowerInfoEXT& safe_VkDisplayPowerInfoEXT::operator=(const safe_VkDisplayPowerInfoEXT& src)
16476{
16477 if (&src == this) return *this;
16478
16479
16480 sType = src.sType;
16481 pNext = src.pNext;
16482 powerState = src.powerState;
16483
16484 return *this;
16485}
16486
16487safe_VkDisplayPowerInfoEXT::~safe_VkDisplayPowerInfoEXT()
16488{
16489}
16490
16491void safe_VkDisplayPowerInfoEXT::initialize(const VkDisplayPowerInfoEXT* in_struct)
16492{
16493 sType = in_struct->sType;
16494 pNext = in_struct->pNext;
16495 powerState = in_struct->powerState;
16496}
16497
16498void safe_VkDisplayPowerInfoEXT::initialize(const safe_VkDisplayPowerInfoEXT* src)
16499{
16500 sType = src->sType;
16501 pNext = src->pNext;
16502 powerState = src->powerState;
16503}
16504
16505safe_VkDeviceEventInfoEXT::safe_VkDeviceEventInfoEXT(const VkDeviceEventInfoEXT* in_struct) :
16506 sType(in_struct->sType),
16507 pNext(in_struct->pNext),
16508 deviceEvent(in_struct->deviceEvent)
16509{
16510}
16511
16512safe_VkDeviceEventInfoEXT::safe_VkDeviceEventInfoEXT()
16513{}
16514
16515safe_VkDeviceEventInfoEXT::safe_VkDeviceEventInfoEXT(const safe_VkDeviceEventInfoEXT& src)
16516{
16517 sType = src.sType;
16518 pNext = src.pNext;
16519 deviceEvent = src.deviceEvent;
16520}
16521
16522safe_VkDeviceEventInfoEXT& safe_VkDeviceEventInfoEXT::operator=(const safe_VkDeviceEventInfoEXT& src)
16523{
16524 if (&src == this) return *this;
16525
16526
16527 sType = src.sType;
16528 pNext = src.pNext;
16529 deviceEvent = src.deviceEvent;
16530
16531 return *this;
16532}
16533
16534safe_VkDeviceEventInfoEXT::~safe_VkDeviceEventInfoEXT()
16535{
16536}
16537
16538void safe_VkDeviceEventInfoEXT::initialize(const VkDeviceEventInfoEXT* in_struct)
16539{
16540 sType = in_struct->sType;
16541 pNext = in_struct->pNext;
16542 deviceEvent = in_struct->deviceEvent;
16543}
16544
16545void safe_VkDeviceEventInfoEXT::initialize(const safe_VkDeviceEventInfoEXT* src)
16546{
16547 sType = src->sType;
16548 pNext = src->pNext;
16549 deviceEvent = src->deviceEvent;
16550}
16551
16552safe_VkDisplayEventInfoEXT::safe_VkDisplayEventInfoEXT(const VkDisplayEventInfoEXT* in_struct) :
16553 sType(in_struct->sType),
16554 pNext(in_struct->pNext),
16555 displayEvent(in_struct->displayEvent)
16556{
16557}
16558
16559safe_VkDisplayEventInfoEXT::safe_VkDisplayEventInfoEXT()
16560{}
16561
16562safe_VkDisplayEventInfoEXT::safe_VkDisplayEventInfoEXT(const safe_VkDisplayEventInfoEXT& src)
16563{
16564 sType = src.sType;
16565 pNext = src.pNext;
16566 displayEvent = src.displayEvent;
16567}
16568
16569safe_VkDisplayEventInfoEXT& safe_VkDisplayEventInfoEXT::operator=(const safe_VkDisplayEventInfoEXT& src)
16570{
16571 if (&src == this) return *this;
16572
16573
16574 sType = src.sType;
16575 pNext = src.pNext;
16576 displayEvent = src.displayEvent;
16577
16578 return *this;
16579}
16580
16581safe_VkDisplayEventInfoEXT::~safe_VkDisplayEventInfoEXT()
16582{
16583}
16584
16585void safe_VkDisplayEventInfoEXT::initialize(const VkDisplayEventInfoEXT* in_struct)
16586{
16587 sType = in_struct->sType;
16588 pNext = in_struct->pNext;
16589 displayEvent = in_struct->displayEvent;
16590}
16591
16592void safe_VkDisplayEventInfoEXT::initialize(const safe_VkDisplayEventInfoEXT* src)
16593{
16594 sType = src->sType;
16595 pNext = src->pNext;
16596 displayEvent = src->displayEvent;
16597}
16598
16599safe_VkSwapchainCounterCreateInfoEXT::safe_VkSwapchainCounterCreateInfoEXT(const VkSwapchainCounterCreateInfoEXT* in_struct) :
16600 sType(in_struct->sType),
16601 pNext(in_struct->pNext),
16602 surfaceCounters(in_struct->surfaceCounters)
16603{
16604}
16605
16606safe_VkSwapchainCounterCreateInfoEXT::safe_VkSwapchainCounterCreateInfoEXT()
16607{}
16608
16609safe_VkSwapchainCounterCreateInfoEXT::safe_VkSwapchainCounterCreateInfoEXT(const safe_VkSwapchainCounterCreateInfoEXT& src)
16610{
16611 sType = src.sType;
16612 pNext = src.pNext;
16613 surfaceCounters = src.surfaceCounters;
16614}
16615
16616safe_VkSwapchainCounterCreateInfoEXT& safe_VkSwapchainCounterCreateInfoEXT::operator=(const safe_VkSwapchainCounterCreateInfoEXT& src)
16617{
16618 if (&src == this) return *this;
16619
16620
16621 sType = src.sType;
16622 pNext = src.pNext;
16623 surfaceCounters = src.surfaceCounters;
16624
16625 return *this;
16626}
16627
16628safe_VkSwapchainCounterCreateInfoEXT::~safe_VkSwapchainCounterCreateInfoEXT()
16629{
16630}
16631
16632void safe_VkSwapchainCounterCreateInfoEXT::initialize(const VkSwapchainCounterCreateInfoEXT* in_struct)
16633{
16634 sType = in_struct->sType;
16635 pNext = in_struct->pNext;
16636 surfaceCounters = in_struct->surfaceCounters;
16637}
16638
16639void safe_VkSwapchainCounterCreateInfoEXT::initialize(const safe_VkSwapchainCounterCreateInfoEXT* src)
16640{
16641 sType = src->sType;
16642 pNext = src->pNext;
16643 surfaceCounters = src->surfaceCounters;
16644}
16645
16646safe_VkPresentTimesInfoGOOGLE::safe_VkPresentTimesInfoGOOGLE(const VkPresentTimesInfoGOOGLE* in_struct) :
16647 sType(in_struct->sType),
16648 pNext(in_struct->pNext),
16649 swapchainCount(in_struct->swapchainCount),
16650 pTimes(nullptr)
16651{
16652 if (in_struct->pTimes) {
16653 pTimes = new VkPresentTimeGOOGLE[in_struct->swapchainCount];
16654 memcpy ((void *)pTimes, (void *)in_struct->pTimes, sizeof(VkPresentTimeGOOGLE)*in_struct->swapchainCount);
16655 }
16656}
16657
16658safe_VkPresentTimesInfoGOOGLE::safe_VkPresentTimesInfoGOOGLE() :
16659 pTimes(nullptr)
16660{}
16661
16662safe_VkPresentTimesInfoGOOGLE::safe_VkPresentTimesInfoGOOGLE(const safe_VkPresentTimesInfoGOOGLE& src)
16663{
16664 sType = src.sType;
16665 pNext = src.pNext;
16666 swapchainCount = src.swapchainCount;
16667 pTimes = nullptr;
16668 if (src.pTimes) {
16669 pTimes = new VkPresentTimeGOOGLE[src.swapchainCount];
16670 memcpy ((void *)pTimes, (void *)src.pTimes, sizeof(VkPresentTimeGOOGLE)*src.swapchainCount);
16671 }
16672}
16673
16674safe_VkPresentTimesInfoGOOGLE& safe_VkPresentTimesInfoGOOGLE::operator=(const safe_VkPresentTimesInfoGOOGLE& src)
16675{
16676 if (&src == this) return *this;
16677
16678 if (pTimes)
16679 delete[] pTimes;
16680
16681 sType = src.sType;
16682 pNext = src.pNext;
16683 swapchainCount = src.swapchainCount;
16684 pTimes = nullptr;
16685 if (src.pTimes) {
16686 pTimes = new VkPresentTimeGOOGLE[src.swapchainCount];
16687 memcpy ((void *)pTimes, (void *)src.pTimes, sizeof(VkPresentTimeGOOGLE)*src.swapchainCount);
16688 }
16689
16690 return *this;
16691}
16692
16693safe_VkPresentTimesInfoGOOGLE::~safe_VkPresentTimesInfoGOOGLE()
16694{
16695 if (pTimes)
16696 delete[] pTimes;
16697}
16698
16699void safe_VkPresentTimesInfoGOOGLE::initialize(const VkPresentTimesInfoGOOGLE* in_struct)
16700{
16701 sType = in_struct->sType;
16702 pNext = in_struct->pNext;
16703 swapchainCount = in_struct->swapchainCount;
16704 pTimes = nullptr;
16705 if (in_struct->pTimes) {
16706 pTimes = new VkPresentTimeGOOGLE[in_struct->swapchainCount];
16707 memcpy ((void *)pTimes, (void *)in_struct->pTimes, sizeof(VkPresentTimeGOOGLE)*in_struct->swapchainCount);
16708 }
16709}
16710
16711void safe_VkPresentTimesInfoGOOGLE::initialize(const safe_VkPresentTimesInfoGOOGLE* src)
16712{
16713 sType = src->sType;
16714 pNext = src->pNext;
16715 swapchainCount = src->swapchainCount;
16716 pTimes = nullptr;
16717 if (src->pTimes) {
16718 pTimes = new VkPresentTimeGOOGLE[src->swapchainCount];
16719 memcpy ((void *)pTimes, (void *)src->pTimes, sizeof(VkPresentTimeGOOGLE)*src->swapchainCount);
16720 }
16721}
16722
16723safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX(const VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX* in_struct) :
16724 sType(in_struct->sType),
16725 pNext(in_struct->pNext),
16726 perViewPositionAllComponents(in_struct->perViewPositionAllComponents)
16727{
16728}
16729
16730safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX()
16731{}
16732
16733safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX(const safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX& src)
16734{
16735 sType = src.sType;
16736 pNext = src.pNext;
16737 perViewPositionAllComponents = src.perViewPositionAllComponents;
16738}
16739
16740safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX& safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::operator=(const safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX& src)
16741{
16742 if (&src == this) return *this;
16743
16744
16745 sType = src.sType;
16746 pNext = src.pNext;
16747 perViewPositionAllComponents = src.perViewPositionAllComponents;
16748
16749 return *this;
16750}
16751
16752safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::~safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX()
16753{
16754}
16755
16756void safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::initialize(const VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX* in_struct)
16757{
16758 sType = in_struct->sType;
16759 pNext = in_struct->pNext;
16760 perViewPositionAllComponents = in_struct->perViewPositionAllComponents;
16761}
16762
16763void safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX::initialize(const safe_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX* src)
16764{
16765 sType = src->sType;
16766 pNext = src->pNext;
16767 perViewPositionAllComponents = src->perViewPositionAllComponents;
16768}
16769
16770safe_VkPipelineViewportSwizzleStateCreateInfoNV::safe_VkPipelineViewportSwizzleStateCreateInfoNV(const VkPipelineViewportSwizzleStateCreateInfoNV* in_struct) :
16771 sType(in_struct->sType),
16772 pNext(in_struct->pNext),
16773 flags(in_struct->flags),
16774 viewportCount(in_struct->viewportCount),
16775 pViewportSwizzles(nullptr)
16776{
16777 if (in_struct->pViewportSwizzles) {
16778 pViewportSwizzles = new VkViewportSwizzleNV[in_struct->viewportCount];
16779 memcpy ((void *)pViewportSwizzles, (void *)in_struct->pViewportSwizzles, sizeof(VkViewportSwizzleNV)*in_struct->viewportCount);
16780 }
16781}
16782
16783safe_VkPipelineViewportSwizzleStateCreateInfoNV::safe_VkPipelineViewportSwizzleStateCreateInfoNV() :
16784 pViewportSwizzles(nullptr)
16785{}
16786
16787safe_VkPipelineViewportSwizzleStateCreateInfoNV::safe_VkPipelineViewportSwizzleStateCreateInfoNV(const safe_VkPipelineViewportSwizzleStateCreateInfoNV& src)
16788{
16789 sType = src.sType;
16790 pNext = src.pNext;
16791 flags = src.flags;
16792 viewportCount = src.viewportCount;
16793 pViewportSwizzles = nullptr;
16794 if (src.pViewportSwizzles) {
16795 pViewportSwizzles = new VkViewportSwizzleNV[src.viewportCount];
16796 memcpy ((void *)pViewportSwizzles, (void *)src.pViewportSwizzles, sizeof(VkViewportSwizzleNV)*src.viewportCount);
16797 }
16798}
16799
16800safe_VkPipelineViewportSwizzleStateCreateInfoNV& safe_VkPipelineViewportSwizzleStateCreateInfoNV::operator=(const safe_VkPipelineViewportSwizzleStateCreateInfoNV& src)
16801{
16802 if (&src == this) return *this;
16803
16804 if (pViewportSwizzles)
16805 delete[] pViewportSwizzles;
16806
16807 sType = src.sType;
16808 pNext = src.pNext;
16809 flags = src.flags;
16810 viewportCount = src.viewportCount;
16811 pViewportSwizzles = nullptr;
16812 if (src.pViewportSwizzles) {
16813 pViewportSwizzles = new VkViewportSwizzleNV[src.viewportCount];
16814 memcpy ((void *)pViewportSwizzles, (void *)src.pViewportSwizzles, sizeof(VkViewportSwizzleNV)*src.viewportCount);
16815 }
16816
16817 return *this;
16818}
16819
16820safe_VkPipelineViewportSwizzleStateCreateInfoNV::~safe_VkPipelineViewportSwizzleStateCreateInfoNV()
16821{
16822 if (pViewportSwizzles)
16823 delete[] pViewportSwizzles;
16824}
16825
16826void safe_VkPipelineViewportSwizzleStateCreateInfoNV::initialize(const VkPipelineViewportSwizzleStateCreateInfoNV* in_struct)
16827{
16828 sType = in_struct->sType;
16829 pNext = in_struct->pNext;
16830 flags = in_struct->flags;
16831 viewportCount = in_struct->viewportCount;
16832 pViewportSwizzles = nullptr;
16833 if (in_struct->pViewportSwizzles) {
16834 pViewportSwizzles = new VkViewportSwizzleNV[in_struct->viewportCount];
16835 memcpy ((void *)pViewportSwizzles, (void *)in_struct->pViewportSwizzles, sizeof(VkViewportSwizzleNV)*in_struct->viewportCount);
16836 }
16837}
16838
16839void safe_VkPipelineViewportSwizzleStateCreateInfoNV::initialize(const safe_VkPipelineViewportSwizzleStateCreateInfoNV* src)
16840{
16841 sType = src->sType;
16842 pNext = src->pNext;
16843 flags = src->flags;
16844 viewportCount = src->viewportCount;
16845 pViewportSwizzles = nullptr;
16846 if (src->pViewportSwizzles) {
16847 pViewportSwizzles = new VkViewportSwizzleNV[src->viewportCount];
16848 memcpy ((void *)pViewportSwizzles, (void *)src->pViewportSwizzles, sizeof(VkViewportSwizzleNV)*src->viewportCount);
16849 }
16850}
16851
16852safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT::safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT(const VkPhysicalDeviceDiscardRectanglePropertiesEXT* in_struct) :
16853 sType(in_struct->sType),
16854 pNext(in_struct->pNext),
16855 maxDiscardRectangles(in_struct->maxDiscardRectangles)
16856{
16857}
16858
16859safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT::safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT()
16860{}
16861
16862safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT::safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT(const safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT& src)
16863{
16864 sType = src.sType;
16865 pNext = src.pNext;
16866 maxDiscardRectangles = src.maxDiscardRectangles;
16867}
16868
16869safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT& safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT::operator=(const safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT& src)
16870{
16871 if (&src == this) return *this;
16872
16873
16874 sType = src.sType;
16875 pNext = src.pNext;
16876 maxDiscardRectangles = src.maxDiscardRectangles;
16877
16878 return *this;
16879}
16880
16881safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT::~safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT()
16882{
16883}
16884
16885void safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT::initialize(const VkPhysicalDeviceDiscardRectanglePropertiesEXT* in_struct)
16886{
16887 sType = in_struct->sType;
16888 pNext = in_struct->pNext;
16889 maxDiscardRectangles = in_struct->maxDiscardRectangles;
16890}
16891
16892void safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT::initialize(const safe_VkPhysicalDeviceDiscardRectanglePropertiesEXT* src)
16893{
16894 sType = src->sType;
16895 pNext = src->pNext;
16896 maxDiscardRectangles = src->maxDiscardRectangles;
16897}
16898
16899safe_VkPipelineDiscardRectangleStateCreateInfoEXT::safe_VkPipelineDiscardRectangleStateCreateInfoEXT(const VkPipelineDiscardRectangleStateCreateInfoEXT* in_struct) :
16900 sType(in_struct->sType),
16901 pNext(in_struct->pNext),
16902 flags(in_struct->flags),
16903 discardRectangleMode(in_struct->discardRectangleMode),
16904 discardRectangleCount(in_struct->discardRectangleCount),
16905 pDiscardRectangles(nullptr)
16906{
16907 if (in_struct->pDiscardRectangles) {
16908 pDiscardRectangles = new VkRect2D[in_struct->discardRectangleCount];
16909 memcpy ((void *)pDiscardRectangles, (void *)in_struct->pDiscardRectangles, sizeof(VkRect2D)*in_struct->discardRectangleCount);
16910 }
16911}
16912
16913safe_VkPipelineDiscardRectangleStateCreateInfoEXT::safe_VkPipelineDiscardRectangleStateCreateInfoEXT() :
16914 pDiscardRectangles(nullptr)
16915{}
16916
16917safe_VkPipelineDiscardRectangleStateCreateInfoEXT::safe_VkPipelineDiscardRectangleStateCreateInfoEXT(const safe_VkPipelineDiscardRectangleStateCreateInfoEXT& src)
16918{
16919 sType = src.sType;
16920 pNext = src.pNext;
16921 flags = src.flags;
16922 discardRectangleMode = src.discardRectangleMode;
16923 discardRectangleCount = src.discardRectangleCount;
16924 pDiscardRectangles = nullptr;
16925 if (src.pDiscardRectangles) {
16926 pDiscardRectangles = new VkRect2D[src.discardRectangleCount];
16927 memcpy ((void *)pDiscardRectangles, (void *)src.pDiscardRectangles, sizeof(VkRect2D)*src.discardRectangleCount);
16928 }
16929}
16930
16931safe_VkPipelineDiscardRectangleStateCreateInfoEXT& safe_VkPipelineDiscardRectangleStateCreateInfoEXT::operator=(const safe_VkPipelineDiscardRectangleStateCreateInfoEXT& src)
16932{
16933 if (&src == this) return *this;
16934
16935 if (pDiscardRectangles)
16936 delete[] pDiscardRectangles;
16937
16938 sType = src.sType;
16939 pNext = src.pNext;
16940 flags = src.flags;
16941 discardRectangleMode = src.discardRectangleMode;
16942 discardRectangleCount = src.discardRectangleCount;
16943 pDiscardRectangles = nullptr;
16944 if (src.pDiscardRectangles) {
16945 pDiscardRectangles = new VkRect2D[src.discardRectangleCount];
16946 memcpy ((void *)pDiscardRectangles, (void *)src.pDiscardRectangles, sizeof(VkRect2D)*src.discardRectangleCount);
16947 }
16948
16949 return *this;
16950}
16951
16952safe_VkPipelineDiscardRectangleStateCreateInfoEXT::~safe_VkPipelineDiscardRectangleStateCreateInfoEXT()
16953{
16954 if (pDiscardRectangles)
16955 delete[] pDiscardRectangles;
16956}
16957
16958void safe_VkPipelineDiscardRectangleStateCreateInfoEXT::initialize(const VkPipelineDiscardRectangleStateCreateInfoEXT* in_struct)
16959{
16960 sType = in_struct->sType;
16961 pNext = in_struct->pNext;
16962 flags = in_struct->flags;
16963 discardRectangleMode = in_struct->discardRectangleMode;
16964 discardRectangleCount = in_struct->discardRectangleCount;
16965 pDiscardRectangles = nullptr;
16966 if (in_struct->pDiscardRectangles) {
16967 pDiscardRectangles = new VkRect2D[in_struct->discardRectangleCount];
16968 memcpy ((void *)pDiscardRectangles, (void *)in_struct->pDiscardRectangles, sizeof(VkRect2D)*in_struct->discardRectangleCount);
16969 }
16970}
16971
16972void safe_VkPipelineDiscardRectangleStateCreateInfoEXT::initialize(const safe_VkPipelineDiscardRectangleStateCreateInfoEXT* src)
16973{
16974 sType = src->sType;
16975 pNext = src->pNext;
16976 flags = src->flags;
16977 discardRectangleMode = src->discardRectangleMode;
16978 discardRectangleCount = src->discardRectangleCount;
16979 pDiscardRectangles = nullptr;
16980 if (src->pDiscardRectangles) {
16981 pDiscardRectangles = new VkRect2D[src->discardRectangleCount];
16982 memcpy ((void *)pDiscardRectangles, (void *)src->pDiscardRectangles, sizeof(VkRect2D)*src->discardRectangleCount);
16983 }
16984}
16985
16986safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT::safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT(const VkPhysicalDeviceConservativeRasterizationPropertiesEXT* in_struct) :
16987 sType(in_struct->sType),
16988 pNext(in_struct->pNext),
16989 primitiveOverestimationSize(in_struct->primitiveOverestimationSize),
16990 maxExtraPrimitiveOverestimationSize(in_struct->maxExtraPrimitiveOverestimationSize),
16991 extraPrimitiveOverestimationSizeGranularity(in_struct->extraPrimitiveOverestimationSizeGranularity),
16992 primitiveUnderestimation(in_struct->primitiveUnderestimation),
16993 conservativePointAndLineRasterization(in_struct->conservativePointAndLineRasterization),
16994 degenerateTrianglesRasterized(in_struct->degenerateTrianglesRasterized),
16995 degenerateLinesRasterized(in_struct->degenerateLinesRasterized),
16996 fullyCoveredFragmentShaderInputVariable(in_struct->fullyCoveredFragmentShaderInputVariable),
16997 conservativeRasterizationPostDepthCoverage(in_struct->conservativeRasterizationPostDepthCoverage)
16998{
16999}
17000
17001safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT::safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT()
17002{}
17003
17004safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT::safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT(const safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT& src)
17005{
17006 sType = src.sType;
17007 pNext = src.pNext;
17008 primitiveOverestimationSize = src.primitiveOverestimationSize;
17009 maxExtraPrimitiveOverestimationSize = src.maxExtraPrimitiveOverestimationSize;
17010 extraPrimitiveOverestimationSizeGranularity = src.extraPrimitiveOverestimationSizeGranularity;
17011 primitiveUnderestimation = src.primitiveUnderestimation;
17012 conservativePointAndLineRasterization = src.conservativePointAndLineRasterization;
17013 degenerateTrianglesRasterized = src.degenerateTrianglesRasterized;
17014 degenerateLinesRasterized = src.degenerateLinesRasterized;
17015 fullyCoveredFragmentShaderInputVariable = src.fullyCoveredFragmentShaderInputVariable;
17016 conservativeRasterizationPostDepthCoverage = src.conservativeRasterizationPostDepthCoverage;
17017}
17018
17019safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT& safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT::operator=(const safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT& src)
17020{
17021 if (&src == this) return *this;
17022
17023
17024 sType = src.sType;
17025 pNext = src.pNext;
17026 primitiveOverestimationSize = src.primitiveOverestimationSize;
17027 maxExtraPrimitiveOverestimationSize = src.maxExtraPrimitiveOverestimationSize;
17028 extraPrimitiveOverestimationSizeGranularity = src.extraPrimitiveOverestimationSizeGranularity;
17029 primitiveUnderestimation = src.primitiveUnderestimation;
17030 conservativePointAndLineRasterization = src.conservativePointAndLineRasterization;
17031 degenerateTrianglesRasterized = src.degenerateTrianglesRasterized;
17032 degenerateLinesRasterized = src.degenerateLinesRasterized;
17033 fullyCoveredFragmentShaderInputVariable = src.fullyCoveredFragmentShaderInputVariable;
17034 conservativeRasterizationPostDepthCoverage = src.conservativeRasterizationPostDepthCoverage;
17035
17036 return *this;
17037}
17038
17039safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT::~safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT()
17040{
17041}
17042
17043void safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT::initialize(const VkPhysicalDeviceConservativeRasterizationPropertiesEXT* in_struct)
17044{
17045 sType = in_struct->sType;
17046 pNext = in_struct->pNext;
17047 primitiveOverestimationSize = in_struct->primitiveOverestimationSize;
17048 maxExtraPrimitiveOverestimationSize = in_struct->maxExtraPrimitiveOverestimationSize;
17049 extraPrimitiveOverestimationSizeGranularity = in_struct->extraPrimitiveOverestimationSizeGranularity;
17050 primitiveUnderestimation = in_struct->primitiveUnderestimation;
17051 conservativePointAndLineRasterization = in_struct->conservativePointAndLineRasterization;
17052 degenerateTrianglesRasterized = in_struct->degenerateTrianglesRasterized;
17053 degenerateLinesRasterized = in_struct->degenerateLinesRasterized;
17054 fullyCoveredFragmentShaderInputVariable = in_struct->fullyCoveredFragmentShaderInputVariable;
17055 conservativeRasterizationPostDepthCoverage = in_struct->conservativeRasterizationPostDepthCoverage;
17056}
17057
17058void safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT::initialize(const safe_VkPhysicalDeviceConservativeRasterizationPropertiesEXT* src)
17059{
17060 sType = src->sType;
17061 pNext = src->pNext;
17062 primitiveOverestimationSize = src->primitiveOverestimationSize;
17063 maxExtraPrimitiveOverestimationSize = src->maxExtraPrimitiveOverestimationSize;
17064 extraPrimitiveOverestimationSizeGranularity = src->extraPrimitiveOverestimationSizeGranularity;
17065 primitiveUnderestimation = src->primitiveUnderestimation;
17066 conservativePointAndLineRasterization = src->conservativePointAndLineRasterization;
17067 degenerateTrianglesRasterized = src->degenerateTrianglesRasterized;
17068 degenerateLinesRasterized = src->degenerateLinesRasterized;
17069 fullyCoveredFragmentShaderInputVariable = src->fullyCoveredFragmentShaderInputVariable;
17070 conservativeRasterizationPostDepthCoverage = src->conservativeRasterizationPostDepthCoverage;
17071}
17072
17073safe_VkPipelineRasterizationConservativeStateCreateInfoEXT::safe_VkPipelineRasterizationConservativeStateCreateInfoEXT(const VkPipelineRasterizationConservativeStateCreateInfoEXT* in_struct) :
17074 sType(in_struct->sType),
17075 pNext(in_struct->pNext),
17076 flags(in_struct->flags),
17077 conservativeRasterizationMode(in_struct->conservativeRasterizationMode),
17078 extraPrimitiveOverestimationSize(in_struct->extraPrimitiveOverestimationSize)
17079{
17080}
17081
17082safe_VkPipelineRasterizationConservativeStateCreateInfoEXT::safe_VkPipelineRasterizationConservativeStateCreateInfoEXT()
17083{}
17084
17085safe_VkPipelineRasterizationConservativeStateCreateInfoEXT::safe_VkPipelineRasterizationConservativeStateCreateInfoEXT(const safe_VkPipelineRasterizationConservativeStateCreateInfoEXT& src)
17086{
17087 sType = src.sType;
17088 pNext = src.pNext;
17089 flags = src.flags;
17090 conservativeRasterizationMode = src.conservativeRasterizationMode;
17091 extraPrimitiveOverestimationSize = src.extraPrimitiveOverestimationSize;
17092}
17093
17094safe_VkPipelineRasterizationConservativeStateCreateInfoEXT& safe_VkPipelineRasterizationConservativeStateCreateInfoEXT::operator=(const safe_VkPipelineRasterizationConservativeStateCreateInfoEXT& src)
17095{
17096 if (&src == this) return *this;
17097
17098
17099 sType = src.sType;
17100 pNext = src.pNext;
17101 flags = src.flags;
17102 conservativeRasterizationMode = src.conservativeRasterizationMode;
17103 extraPrimitiveOverestimationSize = src.extraPrimitiveOverestimationSize;
17104
17105 return *this;
17106}
17107
17108safe_VkPipelineRasterizationConservativeStateCreateInfoEXT::~safe_VkPipelineRasterizationConservativeStateCreateInfoEXT()
17109{
17110}
17111
17112void safe_VkPipelineRasterizationConservativeStateCreateInfoEXT::initialize(const VkPipelineRasterizationConservativeStateCreateInfoEXT* in_struct)
17113{
17114 sType = in_struct->sType;
17115 pNext = in_struct->pNext;
17116 flags = in_struct->flags;
17117 conservativeRasterizationMode = in_struct->conservativeRasterizationMode;
17118 extraPrimitiveOverestimationSize = in_struct->extraPrimitiveOverestimationSize;
17119}
17120
17121void safe_VkPipelineRasterizationConservativeStateCreateInfoEXT::initialize(const safe_VkPipelineRasterizationConservativeStateCreateInfoEXT* src)
17122{
17123 sType = src->sType;
17124 pNext = src->pNext;
17125 flags = src->flags;
17126 conservativeRasterizationMode = src->conservativeRasterizationMode;
17127 extraPrimitiveOverestimationSize = src->extraPrimitiveOverestimationSize;
17128}
17129
17130safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT::safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT(const VkPhysicalDeviceDepthClipEnableFeaturesEXT* in_struct) :
17131 sType(in_struct->sType),
17132 pNext(in_struct->pNext),
17133 depthClipEnable(in_struct->depthClipEnable)
17134{
17135}
17136
17137safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT::safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT()
17138{}
17139
17140safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT::safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT(const safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT& src)
17141{
17142 sType = src.sType;
17143 pNext = src.pNext;
17144 depthClipEnable = src.depthClipEnable;
17145}
17146
17147safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT& safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT::operator=(const safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT& src)
17148{
17149 if (&src == this) return *this;
17150
17151
17152 sType = src.sType;
17153 pNext = src.pNext;
17154 depthClipEnable = src.depthClipEnable;
17155
17156 return *this;
17157}
17158
17159safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT::~safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT()
17160{
17161}
17162
17163void safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT::initialize(const VkPhysicalDeviceDepthClipEnableFeaturesEXT* in_struct)
17164{
17165 sType = in_struct->sType;
17166 pNext = in_struct->pNext;
17167 depthClipEnable = in_struct->depthClipEnable;
17168}
17169
17170void safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT::initialize(const safe_VkPhysicalDeviceDepthClipEnableFeaturesEXT* src)
17171{
17172 sType = src->sType;
17173 pNext = src->pNext;
17174 depthClipEnable = src->depthClipEnable;
17175}
17176
17177safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT::safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT(const VkPipelineRasterizationDepthClipStateCreateInfoEXT* in_struct) :
17178 sType(in_struct->sType),
17179 pNext(in_struct->pNext),
17180 flags(in_struct->flags),
17181 depthClipEnable(in_struct->depthClipEnable)
17182{
17183}
17184
17185safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT::safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT()
17186{}
17187
17188safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT::safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT(const safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT& src)
17189{
17190 sType = src.sType;
17191 pNext = src.pNext;
17192 flags = src.flags;
17193 depthClipEnable = src.depthClipEnable;
17194}
17195
17196safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT& safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT::operator=(const safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT& src)
17197{
17198 if (&src == this) return *this;
17199
17200
17201 sType = src.sType;
17202 pNext = src.pNext;
17203 flags = src.flags;
17204 depthClipEnable = src.depthClipEnable;
17205
17206 return *this;
17207}
17208
17209safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT::~safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT()
17210{
17211}
17212
17213void safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT::initialize(const VkPipelineRasterizationDepthClipStateCreateInfoEXT* in_struct)
17214{
17215 sType = in_struct->sType;
17216 pNext = in_struct->pNext;
17217 flags = in_struct->flags;
17218 depthClipEnable = in_struct->depthClipEnable;
17219}
17220
17221void safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT::initialize(const safe_VkPipelineRasterizationDepthClipStateCreateInfoEXT* src)
17222{
17223 sType = src->sType;
17224 pNext = src->pNext;
17225 flags = src->flags;
17226 depthClipEnable = src->depthClipEnable;
17227}
17228
17229safe_VkHdrMetadataEXT::safe_VkHdrMetadataEXT(const VkHdrMetadataEXT* in_struct) :
17230 sType(in_struct->sType),
17231 pNext(in_struct->pNext),
17232 displayPrimaryRed(in_struct->displayPrimaryRed),
17233 displayPrimaryGreen(in_struct->displayPrimaryGreen),
17234 displayPrimaryBlue(in_struct->displayPrimaryBlue),
17235 whitePoint(in_struct->whitePoint),
17236 maxLuminance(in_struct->maxLuminance),
17237 minLuminance(in_struct->minLuminance),
17238 maxContentLightLevel(in_struct->maxContentLightLevel),
17239 maxFrameAverageLightLevel(in_struct->maxFrameAverageLightLevel)
17240{
17241}
17242
17243safe_VkHdrMetadataEXT::safe_VkHdrMetadataEXT()
17244{}
17245
17246safe_VkHdrMetadataEXT::safe_VkHdrMetadataEXT(const safe_VkHdrMetadataEXT& src)
17247{
17248 sType = src.sType;
17249 pNext = src.pNext;
17250 displayPrimaryRed = src.displayPrimaryRed;
17251 displayPrimaryGreen = src.displayPrimaryGreen;
17252 displayPrimaryBlue = src.displayPrimaryBlue;
17253 whitePoint = src.whitePoint;
17254 maxLuminance = src.maxLuminance;
17255 minLuminance = src.minLuminance;
17256 maxContentLightLevel = src.maxContentLightLevel;
17257 maxFrameAverageLightLevel = src.maxFrameAverageLightLevel;
17258}
17259
17260safe_VkHdrMetadataEXT& safe_VkHdrMetadataEXT::operator=(const safe_VkHdrMetadataEXT& src)
17261{
17262 if (&src == this) return *this;
17263
17264
17265 sType = src.sType;
17266 pNext = src.pNext;
17267 displayPrimaryRed = src.displayPrimaryRed;
17268 displayPrimaryGreen = src.displayPrimaryGreen;
17269 displayPrimaryBlue = src.displayPrimaryBlue;
17270 whitePoint = src.whitePoint;
17271 maxLuminance = src.maxLuminance;
17272 minLuminance = src.minLuminance;
17273 maxContentLightLevel = src.maxContentLightLevel;
17274 maxFrameAverageLightLevel = src.maxFrameAverageLightLevel;
17275
17276 return *this;
17277}
17278
17279safe_VkHdrMetadataEXT::~safe_VkHdrMetadataEXT()
17280{
17281}
17282
17283void safe_VkHdrMetadataEXT::initialize(const VkHdrMetadataEXT* in_struct)
17284{
17285 sType = in_struct->sType;
17286 pNext = in_struct->pNext;
17287 displayPrimaryRed = in_struct->displayPrimaryRed;
17288 displayPrimaryGreen = in_struct->displayPrimaryGreen;
17289 displayPrimaryBlue = in_struct->displayPrimaryBlue;
17290 whitePoint = in_struct->whitePoint;
17291 maxLuminance = in_struct->maxLuminance;
17292 minLuminance = in_struct->minLuminance;
17293 maxContentLightLevel = in_struct->maxContentLightLevel;
17294 maxFrameAverageLightLevel = in_struct->maxFrameAverageLightLevel;
17295}
17296
17297void safe_VkHdrMetadataEXT::initialize(const safe_VkHdrMetadataEXT* src)
17298{
17299 sType = src->sType;
17300 pNext = src->pNext;
17301 displayPrimaryRed = src->displayPrimaryRed;
17302 displayPrimaryGreen = src->displayPrimaryGreen;
17303 displayPrimaryBlue = src->displayPrimaryBlue;
17304 whitePoint = src->whitePoint;
17305 maxLuminance = src->maxLuminance;
17306 minLuminance = src->minLuminance;
17307 maxContentLightLevel = src->maxContentLightLevel;
17308 maxFrameAverageLightLevel = src->maxFrameAverageLightLevel;
17309}
17310#ifdef VK_USE_PLATFORM_IOS_MVK
17311
17312
17313safe_VkIOSSurfaceCreateInfoMVK::safe_VkIOSSurfaceCreateInfoMVK(const VkIOSSurfaceCreateInfoMVK* in_struct) :
17314 sType(in_struct->sType),
17315 pNext(in_struct->pNext),
17316 flags(in_struct->flags),
17317 pView(in_struct->pView)
17318{
17319}
17320
17321safe_VkIOSSurfaceCreateInfoMVK::safe_VkIOSSurfaceCreateInfoMVK()
17322{}
17323
17324safe_VkIOSSurfaceCreateInfoMVK::safe_VkIOSSurfaceCreateInfoMVK(const safe_VkIOSSurfaceCreateInfoMVK& src)
17325{
17326 sType = src.sType;
17327 pNext = src.pNext;
17328 flags = src.flags;
17329 pView = src.pView;
17330}
17331
17332safe_VkIOSSurfaceCreateInfoMVK& safe_VkIOSSurfaceCreateInfoMVK::operator=(const safe_VkIOSSurfaceCreateInfoMVK& src)
17333{
17334 if (&src == this) return *this;
17335
17336
17337 sType = src.sType;
17338 pNext = src.pNext;
17339 flags = src.flags;
17340 pView = src.pView;
17341
17342 return *this;
17343}
17344
17345safe_VkIOSSurfaceCreateInfoMVK::~safe_VkIOSSurfaceCreateInfoMVK()
17346{
17347}
17348
17349void safe_VkIOSSurfaceCreateInfoMVK::initialize(const VkIOSSurfaceCreateInfoMVK* in_struct)
17350{
17351 sType = in_struct->sType;
17352 pNext = in_struct->pNext;
17353 flags = in_struct->flags;
17354 pView = in_struct->pView;
17355}
17356
17357void safe_VkIOSSurfaceCreateInfoMVK::initialize(const safe_VkIOSSurfaceCreateInfoMVK* src)
17358{
17359 sType = src->sType;
17360 pNext = src->pNext;
17361 flags = src->flags;
17362 pView = src->pView;
17363}
17364#endif // VK_USE_PLATFORM_IOS_MVK
17365
17366#ifdef VK_USE_PLATFORM_MACOS_MVK
17367
17368
17369safe_VkMacOSSurfaceCreateInfoMVK::safe_VkMacOSSurfaceCreateInfoMVK(const VkMacOSSurfaceCreateInfoMVK* in_struct) :
17370 sType(in_struct->sType),
17371 pNext(in_struct->pNext),
17372 flags(in_struct->flags),
17373 pView(in_struct->pView)
17374{
17375}
17376
17377safe_VkMacOSSurfaceCreateInfoMVK::safe_VkMacOSSurfaceCreateInfoMVK()
17378{}
17379
17380safe_VkMacOSSurfaceCreateInfoMVK::safe_VkMacOSSurfaceCreateInfoMVK(const safe_VkMacOSSurfaceCreateInfoMVK& src)
17381{
17382 sType = src.sType;
17383 pNext = src.pNext;
17384 flags = src.flags;
17385 pView = src.pView;
17386}
17387
17388safe_VkMacOSSurfaceCreateInfoMVK& safe_VkMacOSSurfaceCreateInfoMVK::operator=(const safe_VkMacOSSurfaceCreateInfoMVK& src)
17389{
17390 if (&src == this) return *this;
17391
17392
17393 sType = src.sType;
17394 pNext = src.pNext;
17395 flags = src.flags;
17396 pView = src.pView;
17397
17398 return *this;
17399}
17400
17401safe_VkMacOSSurfaceCreateInfoMVK::~safe_VkMacOSSurfaceCreateInfoMVK()
17402{
17403}
17404
17405void safe_VkMacOSSurfaceCreateInfoMVK::initialize(const VkMacOSSurfaceCreateInfoMVK* in_struct)
17406{
17407 sType = in_struct->sType;
17408 pNext = in_struct->pNext;
17409 flags = in_struct->flags;
17410 pView = in_struct->pView;
17411}
17412
17413void safe_VkMacOSSurfaceCreateInfoMVK::initialize(const safe_VkMacOSSurfaceCreateInfoMVK* src)
17414{
17415 sType = src->sType;
17416 pNext = src->pNext;
17417 flags = src->flags;
17418 pView = src->pView;
17419}
17420#endif // VK_USE_PLATFORM_MACOS_MVK
17421
17422
17423safe_VkDebugUtilsObjectNameInfoEXT::safe_VkDebugUtilsObjectNameInfoEXT(const VkDebugUtilsObjectNameInfoEXT* in_struct) :
17424 sType(in_struct->sType),
17425 pNext(in_struct->pNext),
17426 objectType(in_struct->objectType),
17427 objectHandle(in_struct->objectHandle),
17428 pObjectName(in_struct->pObjectName)
17429{
17430}
17431
17432safe_VkDebugUtilsObjectNameInfoEXT::safe_VkDebugUtilsObjectNameInfoEXT()
17433{}
17434
17435safe_VkDebugUtilsObjectNameInfoEXT::safe_VkDebugUtilsObjectNameInfoEXT(const safe_VkDebugUtilsObjectNameInfoEXT& src)
17436{
17437 sType = src.sType;
17438 pNext = src.pNext;
17439 objectType = src.objectType;
17440 objectHandle = src.objectHandle;
17441 pObjectName = src.pObjectName;
17442}
17443
17444safe_VkDebugUtilsObjectNameInfoEXT& safe_VkDebugUtilsObjectNameInfoEXT::operator=(const safe_VkDebugUtilsObjectNameInfoEXT& src)
17445{
17446 if (&src == this) return *this;
17447
17448
17449 sType = src.sType;
17450 pNext = src.pNext;
17451 objectType = src.objectType;
17452 objectHandle = src.objectHandle;
17453 pObjectName = src.pObjectName;
17454
17455 return *this;
17456}
17457
17458safe_VkDebugUtilsObjectNameInfoEXT::~safe_VkDebugUtilsObjectNameInfoEXT()
17459{
17460}
17461
17462void safe_VkDebugUtilsObjectNameInfoEXT::initialize(const VkDebugUtilsObjectNameInfoEXT* in_struct)
17463{
17464 sType = in_struct->sType;
17465 pNext = in_struct->pNext;
17466 objectType = in_struct->objectType;
17467 objectHandle = in_struct->objectHandle;
17468 pObjectName = in_struct->pObjectName;
17469}
17470
17471void safe_VkDebugUtilsObjectNameInfoEXT::initialize(const safe_VkDebugUtilsObjectNameInfoEXT* src)
17472{
17473 sType = src->sType;
17474 pNext = src->pNext;
17475 objectType = src->objectType;
17476 objectHandle = src->objectHandle;
17477 pObjectName = src->pObjectName;
17478}
17479
17480safe_VkDebugUtilsObjectTagInfoEXT::safe_VkDebugUtilsObjectTagInfoEXT(const VkDebugUtilsObjectTagInfoEXT* in_struct) :
17481 sType(in_struct->sType),
17482 pNext(in_struct->pNext),
17483 objectType(in_struct->objectType),
17484 objectHandle(in_struct->objectHandle),
17485 tagName(in_struct->tagName),
17486 tagSize(in_struct->tagSize),
17487 pTag(in_struct->pTag)
17488{
17489}
17490
17491safe_VkDebugUtilsObjectTagInfoEXT::safe_VkDebugUtilsObjectTagInfoEXT()
17492{}
17493
17494safe_VkDebugUtilsObjectTagInfoEXT::safe_VkDebugUtilsObjectTagInfoEXT(const safe_VkDebugUtilsObjectTagInfoEXT& src)
17495{
17496 sType = src.sType;
17497 pNext = src.pNext;
17498 objectType = src.objectType;
17499 objectHandle = src.objectHandle;
17500 tagName = src.tagName;
17501 tagSize = src.tagSize;
17502 pTag = src.pTag;
17503}
17504
17505safe_VkDebugUtilsObjectTagInfoEXT& safe_VkDebugUtilsObjectTagInfoEXT::operator=(const safe_VkDebugUtilsObjectTagInfoEXT& src)
17506{
17507 if (&src == this) return *this;
17508
17509
17510 sType = src.sType;
17511 pNext = src.pNext;
17512 objectType = src.objectType;
17513 objectHandle = src.objectHandle;
17514 tagName = src.tagName;
17515 tagSize = src.tagSize;
17516 pTag = src.pTag;
17517
17518 return *this;
17519}
17520
17521safe_VkDebugUtilsObjectTagInfoEXT::~safe_VkDebugUtilsObjectTagInfoEXT()
17522{
17523}
17524
17525void safe_VkDebugUtilsObjectTagInfoEXT::initialize(const VkDebugUtilsObjectTagInfoEXT* in_struct)
17526{
17527 sType = in_struct->sType;
17528 pNext = in_struct->pNext;
17529 objectType = in_struct->objectType;
17530 objectHandle = in_struct->objectHandle;
17531 tagName = in_struct->tagName;
17532 tagSize = in_struct->tagSize;
17533 pTag = in_struct->pTag;
17534}
17535
17536void safe_VkDebugUtilsObjectTagInfoEXT::initialize(const safe_VkDebugUtilsObjectTagInfoEXT* src)
17537{
17538 sType = src->sType;
17539 pNext = src->pNext;
17540 objectType = src->objectType;
17541 objectHandle = src->objectHandle;
17542 tagName = src->tagName;
17543 tagSize = src->tagSize;
17544 pTag = src->pTag;
17545}
17546
17547safe_VkDebugUtilsLabelEXT::safe_VkDebugUtilsLabelEXT(const VkDebugUtilsLabelEXT* in_struct) :
17548 sType(in_struct->sType),
17549 pNext(in_struct->pNext),
17550 pLabelName(in_struct->pLabelName)
17551{
17552 for (uint32_t i=0; i<4; ++i) {
17553 color[i] = in_struct->color[i];
17554 }
17555}
17556
17557safe_VkDebugUtilsLabelEXT::safe_VkDebugUtilsLabelEXT()
17558{}
17559
17560safe_VkDebugUtilsLabelEXT::safe_VkDebugUtilsLabelEXT(const safe_VkDebugUtilsLabelEXT& src)
17561{
17562 sType = src.sType;
17563 pNext = src.pNext;
17564 pLabelName = src.pLabelName;
17565 for (uint32_t i=0; i<4; ++i) {
17566 color[i] = src.color[i];
17567 }
17568}
17569
17570safe_VkDebugUtilsLabelEXT& safe_VkDebugUtilsLabelEXT::operator=(const safe_VkDebugUtilsLabelEXT& src)
17571{
17572 if (&src == this) return *this;
17573
17574
17575 sType = src.sType;
17576 pNext = src.pNext;
17577 pLabelName = src.pLabelName;
17578 for (uint32_t i=0; i<4; ++i) {
17579 color[i] = src.color[i];
17580 }
17581
17582 return *this;
17583}
17584
17585safe_VkDebugUtilsLabelEXT::~safe_VkDebugUtilsLabelEXT()
17586{
17587}
17588
17589void safe_VkDebugUtilsLabelEXT::initialize(const VkDebugUtilsLabelEXT* in_struct)
17590{
17591 sType = in_struct->sType;
17592 pNext = in_struct->pNext;
17593 pLabelName = in_struct->pLabelName;
17594 for (uint32_t i=0; i<4; ++i) {
17595 color[i] = in_struct->color[i];
17596 }
17597}
17598
17599void safe_VkDebugUtilsLabelEXT::initialize(const safe_VkDebugUtilsLabelEXT* src)
17600{
17601 sType = src->sType;
17602 pNext = src->pNext;
17603 pLabelName = src->pLabelName;
17604 for (uint32_t i=0; i<4; ++i) {
17605 color[i] = src->color[i];
17606 }
17607}
17608
17609safe_VkDebugUtilsMessengerCallbackDataEXT::safe_VkDebugUtilsMessengerCallbackDataEXT(const VkDebugUtilsMessengerCallbackDataEXT* in_struct) :
17610 sType(in_struct->sType),
17611 pNext(in_struct->pNext),
17612 flags(in_struct->flags),
17613 pMessageIdName(in_struct->pMessageIdName),
17614 messageIdNumber(in_struct->messageIdNumber),
17615 pMessage(in_struct->pMessage),
17616 queueLabelCount(in_struct->queueLabelCount),
17617 pQueueLabels(nullptr),
17618 cmdBufLabelCount(in_struct->cmdBufLabelCount),
17619 pCmdBufLabels(nullptr),
17620 objectCount(in_struct->objectCount),
17621 pObjects(nullptr)
17622{
17623 if (queueLabelCount && in_struct->pQueueLabels) {
17624 pQueueLabels = new safe_VkDebugUtilsLabelEXT[queueLabelCount];
17625 for (uint32_t i=0; i<queueLabelCount; ++i) {
17626 pQueueLabels[i].initialize(&in_struct->pQueueLabels[i]);
17627 }
17628 }
17629 if (cmdBufLabelCount && in_struct->pCmdBufLabels) {
17630 pCmdBufLabels = new safe_VkDebugUtilsLabelEXT[cmdBufLabelCount];
17631 for (uint32_t i=0; i<cmdBufLabelCount; ++i) {
17632 pCmdBufLabels[i].initialize(&in_struct->pCmdBufLabels[i]);
17633 }
17634 }
17635 if (objectCount && in_struct->pObjects) {
17636 pObjects = new safe_VkDebugUtilsObjectNameInfoEXT[objectCount];
17637 for (uint32_t i=0; i<objectCount; ++i) {
17638 pObjects[i].initialize(&in_struct->pObjects[i]);
17639 }
17640 }
17641}
17642
17643safe_VkDebugUtilsMessengerCallbackDataEXT::safe_VkDebugUtilsMessengerCallbackDataEXT() :
17644 pQueueLabels(nullptr),
17645 pCmdBufLabels(nullptr),
17646 pObjects(nullptr)
17647{}
17648
17649safe_VkDebugUtilsMessengerCallbackDataEXT::safe_VkDebugUtilsMessengerCallbackDataEXT(const safe_VkDebugUtilsMessengerCallbackDataEXT& src)
17650{
17651 sType = src.sType;
17652 pNext = src.pNext;
17653 flags = src.flags;
17654 pMessageIdName = src.pMessageIdName;
17655 messageIdNumber = src.messageIdNumber;
17656 pMessage = src.pMessage;
17657 queueLabelCount = src.queueLabelCount;
17658 pQueueLabels = nullptr;
17659 cmdBufLabelCount = src.cmdBufLabelCount;
17660 pCmdBufLabels = nullptr;
17661 objectCount = src.objectCount;
17662 pObjects = nullptr;
17663 if (queueLabelCount && src.pQueueLabels) {
17664 pQueueLabels = new safe_VkDebugUtilsLabelEXT[queueLabelCount];
17665 for (uint32_t i=0; i<queueLabelCount; ++i) {
17666 pQueueLabels[i].initialize(&src.pQueueLabels[i]);
17667 }
17668 }
17669 if (cmdBufLabelCount && src.pCmdBufLabels) {
17670 pCmdBufLabels = new safe_VkDebugUtilsLabelEXT[cmdBufLabelCount];
17671 for (uint32_t i=0; i<cmdBufLabelCount; ++i) {
17672 pCmdBufLabels[i].initialize(&src.pCmdBufLabels[i]);
17673 }
17674 }
17675 if (objectCount && src.pObjects) {
17676 pObjects = new safe_VkDebugUtilsObjectNameInfoEXT[objectCount];
17677 for (uint32_t i=0; i<objectCount; ++i) {
17678 pObjects[i].initialize(&src.pObjects[i]);
17679 }
17680 }
17681}
17682
17683safe_VkDebugUtilsMessengerCallbackDataEXT& safe_VkDebugUtilsMessengerCallbackDataEXT::operator=(const safe_VkDebugUtilsMessengerCallbackDataEXT& src)
17684{
17685 if (&src == this) return *this;
17686
17687 if (pQueueLabels)
17688 delete[] pQueueLabels;
17689 if (pCmdBufLabels)
17690 delete[] pCmdBufLabels;
17691 if (pObjects)
17692 delete[] pObjects;
17693
17694 sType = src.sType;
17695 pNext = src.pNext;
17696 flags = src.flags;
17697 pMessageIdName = src.pMessageIdName;
17698 messageIdNumber = src.messageIdNumber;
17699 pMessage = src.pMessage;
17700 queueLabelCount = src.queueLabelCount;
17701 pQueueLabels = nullptr;
17702 cmdBufLabelCount = src.cmdBufLabelCount;
17703 pCmdBufLabels = nullptr;
17704 objectCount = src.objectCount;
17705 pObjects = nullptr;
17706 if (queueLabelCount && src.pQueueLabels) {
17707 pQueueLabels = new safe_VkDebugUtilsLabelEXT[queueLabelCount];
17708 for (uint32_t i=0; i<queueLabelCount; ++i) {
17709 pQueueLabels[i].initialize(&src.pQueueLabels[i]);
17710 }
17711 }
17712 if (cmdBufLabelCount && src.pCmdBufLabels) {
17713 pCmdBufLabels = new safe_VkDebugUtilsLabelEXT[cmdBufLabelCount];
17714 for (uint32_t i=0; i<cmdBufLabelCount; ++i) {
17715 pCmdBufLabels[i].initialize(&src.pCmdBufLabels[i]);
17716 }
17717 }
17718 if (objectCount && src.pObjects) {
17719 pObjects = new safe_VkDebugUtilsObjectNameInfoEXT[objectCount];
17720 for (uint32_t i=0; i<objectCount; ++i) {
17721 pObjects[i].initialize(&src.pObjects[i]);
17722 }
17723 }
17724
17725 return *this;
17726}
17727
17728safe_VkDebugUtilsMessengerCallbackDataEXT::~safe_VkDebugUtilsMessengerCallbackDataEXT()
17729{
17730 if (pQueueLabels)
17731 delete[] pQueueLabels;
17732 if (pCmdBufLabels)
17733 delete[] pCmdBufLabels;
17734 if (pObjects)
17735 delete[] pObjects;
17736}
17737
17738void safe_VkDebugUtilsMessengerCallbackDataEXT::initialize(const VkDebugUtilsMessengerCallbackDataEXT* in_struct)
17739{
17740 sType = in_struct->sType;
17741 pNext = in_struct->pNext;
17742 flags = in_struct->flags;
17743 pMessageIdName = in_struct->pMessageIdName;
17744 messageIdNumber = in_struct->messageIdNumber;
17745 pMessage = in_struct->pMessage;
17746 queueLabelCount = in_struct->queueLabelCount;
17747 pQueueLabels = nullptr;
17748 cmdBufLabelCount = in_struct->cmdBufLabelCount;
17749 pCmdBufLabels = nullptr;
17750 objectCount = in_struct->objectCount;
17751 pObjects = nullptr;
17752 if (queueLabelCount && in_struct->pQueueLabels) {
17753 pQueueLabels = new safe_VkDebugUtilsLabelEXT[queueLabelCount];
17754 for (uint32_t i=0; i<queueLabelCount; ++i) {
17755 pQueueLabels[i].initialize(&in_struct->pQueueLabels[i]);
17756 }
17757 }
17758 if (cmdBufLabelCount && in_struct->pCmdBufLabels) {
17759 pCmdBufLabels = new safe_VkDebugUtilsLabelEXT[cmdBufLabelCount];
17760 for (uint32_t i=0; i<cmdBufLabelCount; ++i) {
17761 pCmdBufLabels[i].initialize(&in_struct->pCmdBufLabels[i]);
17762 }
17763 }
17764 if (objectCount && in_struct->pObjects) {
17765 pObjects = new safe_VkDebugUtilsObjectNameInfoEXT[objectCount];
17766 for (uint32_t i=0; i<objectCount; ++i) {
17767 pObjects[i].initialize(&in_struct->pObjects[i]);
17768 }
17769 }
17770}
17771
17772void safe_VkDebugUtilsMessengerCallbackDataEXT::initialize(const safe_VkDebugUtilsMessengerCallbackDataEXT* src)
17773{
17774 sType = src->sType;
17775 pNext = src->pNext;
17776 flags = src->flags;
17777 pMessageIdName = src->pMessageIdName;
17778 messageIdNumber = src->messageIdNumber;
17779 pMessage = src->pMessage;
17780 queueLabelCount = src->queueLabelCount;
17781 pQueueLabels = nullptr;
17782 cmdBufLabelCount = src->cmdBufLabelCount;
17783 pCmdBufLabels = nullptr;
17784 objectCount = src->objectCount;
17785 pObjects = nullptr;
17786 if (queueLabelCount && src->pQueueLabels) {
17787 pQueueLabels = new safe_VkDebugUtilsLabelEXT[queueLabelCount];
17788 for (uint32_t i=0; i<queueLabelCount; ++i) {
17789 pQueueLabels[i].initialize(&src->pQueueLabels[i]);
17790 }
17791 }
17792 if (cmdBufLabelCount && src->pCmdBufLabels) {
17793 pCmdBufLabels = new safe_VkDebugUtilsLabelEXT[cmdBufLabelCount];
17794 for (uint32_t i=0; i<cmdBufLabelCount; ++i) {
17795 pCmdBufLabels[i].initialize(&src->pCmdBufLabels[i]);
17796 }
17797 }
17798 if (objectCount && src->pObjects) {
17799 pObjects = new safe_VkDebugUtilsObjectNameInfoEXT[objectCount];
17800 for (uint32_t i=0; i<objectCount; ++i) {
17801 pObjects[i].initialize(&src->pObjects[i]);
17802 }
17803 }
17804}
17805
17806safe_VkDebugUtilsMessengerCreateInfoEXT::safe_VkDebugUtilsMessengerCreateInfoEXT(const VkDebugUtilsMessengerCreateInfoEXT* in_struct) :
17807 sType(in_struct->sType),
17808 pNext(in_struct->pNext),
17809 flags(in_struct->flags),
17810 messageSeverity(in_struct->messageSeverity),
17811 messageType(in_struct->messageType),
17812 pfnUserCallback(in_struct->pfnUserCallback),
17813 pUserData(in_struct->pUserData)
17814{
17815}
17816
17817safe_VkDebugUtilsMessengerCreateInfoEXT::safe_VkDebugUtilsMessengerCreateInfoEXT()
17818{}
17819
17820safe_VkDebugUtilsMessengerCreateInfoEXT::safe_VkDebugUtilsMessengerCreateInfoEXT(const safe_VkDebugUtilsMessengerCreateInfoEXT& src)
17821{
17822 sType = src.sType;
17823 pNext = src.pNext;
17824 flags = src.flags;
17825 messageSeverity = src.messageSeverity;
17826 messageType = src.messageType;
17827 pfnUserCallback = src.pfnUserCallback;
17828 pUserData = src.pUserData;
17829}
17830
17831safe_VkDebugUtilsMessengerCreateInfoEXT& safe_VkDebugUtilsMessengerCreateInfoEXT::operator=(const safe_VkDebugUtilsMessengerCreateInfoEXT& src)
17832{
17833 if (&src == this) return *this;
17834
17835
17836 sType = src.sType;
17837 pNext = src.pNext;
17838 flags = src.flags;
17839 messageSeverity = src.messageSeverity;
17840 messageType = src.messageType;
17841 pfnUserCallback = src.pfnUserCallback;
17842 pUserData = src.pUserData;
17843
17844 return *this;
17845}
17846
17847safe_VkDebugUtilsMessengerCreateInfoEXT::~safe_VkDebugUtilsMessengerCreateInfoEXT()
17848{
17849}
17850
17851void safe_VkDebugUtilsMessengerCreateInfoEXT::initialize(const VkDebugUtilsMessengerCreateInfoEXT* in_struct)
17852{
17853 sType = in_struct->sType;
17854 pNext = in_struct->pNext;
17855 flags = in_struct->flags;
17856 messageSeverity = in_struct->messageSeverity;
17857 messageType = in_struct->messageType;
17858 pfnUserCallback = in_struct->pfnUserCallback;
17859 pUserData = in_struct->pUserData;
17860}
17861
17862void safe_VkDebugUtilsMessengerCreateInfoEXT::initialize(const safe_VkDebugUtilsMessengerCreateInfoEXT* src)
17863{
17864 sType = src->sType;
17865 pNext = src->pNext;
17866 flags = src->flags;
17867 messageSeverity = src->messageSeverity;
17868 messageType = src->messageType;
17869 pfnUserCallback = src->pfnUserCallback;
17870 pUserData = src->pUserData;
17871}
17872#ifdef VK_USE_PLATFORM_ANDROID_KHR
17873
17874
17875safe_VkAndroidHardwareBufferUsageANDROID::safe_VkAndroidHardwareBufferUsageANDROID(const VkAndroidHardwareBufferUsageANDROID* in_struct) :
17876 sType(in_struct->sType),
17877 pNext(in_struct->pNext),
17878 androidHardwareBufferUsage(in_struct->androidHardwareBufferUsage)
17879{
17880}
17881
17882safe_VkAndroidHardwareBufferUsageANDROID::safe_VkAndroidHardwareBufferUsageANDROID()
17883{}
17884
17885safe_VkAndroidHardwareBufferUsageANDROID::safe_VkAndroidHardwareBufferUsageANDROID(const safe_VkAndroidHardwareBufferUsageANDROID& src)
17886{
17887 sType = src.sType;
17888 pNext = src.pNext;
17889 androidHardwareBufferUsage = src.androidHardwareBufferUsage;
17890}
17891
17892safe_VkAndroidHardwareBufferUsageANDROID& safe_VkAndroidHardwareBufferUsageANDROID::operator=(const safe_VkAndroidHardwareBufferUsageANDROID& src)
17893{
17894 if (&src == this) return *this;
17895
17896
17897 sType = src.sType;
17898 pNext = src.pNext;
17899 androidHardwareBufferUsage = src.androidHardwareBufferUsage;
17900
17901 return *this;
17902}
17903
17904safe_VkAndroidHardwareBufferUsageANDROID::~safe_VkAndroidHardwareBufferUsageANDROID()
17905{
17906}
17907
17908void safe_VkAndroidHardwareBufferUsageANDROID::initialize(const VkAndroidHardwareBufferUsageANDROID* in_struct)
17909{
17910 sType = in_struct->sType;
17911 pNext = in_struct->pNext;
17912 androidHardwareBufferUsage = in_struct->androidHardwareBufferUsage;
17913}
17914
17915void safe_VkAndroidHardwareBufferUsageANDROID::initialize(const safe_VkAndroidHardwareBufferUsageANDROID* src)
17916{
17917 sType = src->sType;
17918 pNext = src->pNext;
17919 androidHardwareBufferUsage = src->androidHardwareBufferUsage;
17920}
17921#endif // VK_USE_PLATFORM_ANDROID_KHR
17922
17923#ifdef VK_USE_PLATFORM_ANDROID_KHR
17924
17925
17926safe_VkAndroidHardwareBufferPropertiesANDROID::safe_VkAndroidHardwareBufferPropertiesANDROID(const VkAndroidHardwareBufferPropertiesANDROID* in_struct) :
17927 sType(in_struct->sType),
17928 pNext(in_struct->pNext),
17929 allocationSize(in_struct->allocationSize),
17930 memoryTypeBits(in_struct->memoryTypeBits)
17931{
17932}
17933
17934safe_VkAndroidHardwareBufferPropertiesANDROID::safe_VkAndroidHardwareBufferPropertiesANDROID()
17935{}
17936
17937safe_VkAndroidHardwareBufferPropertiesANDROID::safe_VkAndroidHardwareBufferPropertiesANDROID(const safe_VkAndroidHardwareBufferPropertiesANDROID& src)
17938{
17939 sType = src.sType;
17940 pNext = src.pNext;
17941 allocationSize = src.allocationSize;
17942 memoryTypeBits = src.memoryTypeBits;
17943}
17944
17945safe_VkAndroidHardwareBufferPropertiesANDROID& safe_VkAndroidHardwareBufferPropertiesANDROID::operator=(const safe_VkAndroidHardwareBufferPropertiesANDROID& src)
17946{
17947 if (&src == this) return *this;
17948
17949
17950 sType = src.sType;
17951 pNext = src.pNext;
17952 allocationSize = src.allocationSize;
17953 memoryTypeBits = src.memoryTypeBits;
17954
17955 return *this;
17956}
17957
17958safe_VkAndroidHardwareBufferPropertiesANDROID::~safe_VkAndroidHardwareBufferPropertiesANDROID()
17959{
17960}
17961
17962void safe_VkAndroidHardwareBufferPropertiesANDROID::initialize(const VkAndroidHardwareBufferPropertiesANDROID* in_struct)
17963{
17964 sType = in_struct->sType;
17965 pNext = in_struct->pNext;
17966 allocationSize = in_struct->allocationSize;
17967 memoryTypeBits = in_struct->memoryTypeBits;
17968}
17969
17970void safe_VkAndroidHardwareBufferPropertiesANDROID::initialize(const safe_VkAndroidHardwareBufferPropertiesANDROID* src)
17971{
17972 sType = src->sType;
17973 pNext = src->pNext;
17974 allocationSize = src->allocationSize;
17975 memoryTypeBits = src->memoryTypeBits;
17976}
17977#endif // VK_USE_PLATFORM_ANDROID_KHR
17978
17979#ifdef VK_USE_PLATFORM_ANDROID_KHR
17980
17981
17982safe_VkAndroidHardwareBufferFormatPropertiesANDROID::safe_VkAndroidHardwareBufferFormatPropertiesANDROID(const VkAndroidHardwareBufferFormatPropertiesANDROID* in_struct) :
17983 sType(in_struct->sType),
17984 pNext(in_struct->pNext),
17985 format(in_struct->format),
17986 externalFormat(in_struct->externalFormat),
17987 formatFeatures(in_struct->formatFeatures),
17988 samplerYcbcrConversionComponents(in_struct->samplerYcbcrConversionComponents),
17989 suggestedYcbcrModel(in_struct->suggestedYcbcrModel),
17990 suggestedYcbcrRange(in_struct->suggestedYcbcrRange),
17991 suggestedXChromaOffset(in_struct->suggestedXChromaOffset),
17992 suggestedYChromaOffset(in_struct->suggestedYChromaOffset)
17993{
17994}
17995
17996safe_VkAndroidHardwareBufferFormatPropertiesANDROID::safe_VkAndroidHardwareBufferFormatPropertiesANDROID()
17997{}
17998
17999safe_VkAndroidHardwareBufferFormatPropertiesANDROID::safe_VkAndroidHardwareBufferFormatPropertiesANDROID(const safe_VkAndroidHardwareBufferFormatPropertiesANDROID& src)
18000{
18001 sType = src.sType;
18002 pNext = src.pNext;
18003 format = src.format;
18004 externalFormat = src.externalFormat;
18005 formatFeatures = src.formatFeatures;
18006 samplerYcbcrConversionComponents = src.samplerYcbcrConversionComponents;
18007 suggestedYcbcrModel = src.suggestedYcbcrModel;
18008 suggestedYcbcrRange = src.suggestedYcbcrRange;
18009 suggestedXChromaOffset = src.suggestedXChromaOffset;
18010 suggestedYChromaOffset = src.suggestedYChromaOffset;
18011}
18012
18013safe_VkAndroidHardwareBufferFormatPropertiesANDROID& safe_VkAndroidHardwareBufferFormatPropertiesANDROID::operator=(const safe_VkAndroidHardwareBufferFormatPropertiesANDROID& src)
18014{
18015 if (&src == this) return *this;
18016
18017
18018 sType = src.sType;
18019 pNext = src.pNext;
18020 format = src.format;
18021 externalFormat = src.externalFormat;
18022 formatFeatures = src.formatFeatures;
18023 samplerYcbcrConversionComponents = src.samplerYcbcrConversionComponents;
18024 suggestedYcbcrModel = src.suggestedYcbcrModel;
18025 suggestedYcbcrRange = src.suggestedYcbcrRange;
18026 suggestedXChromaOffset = src.suggestedXChromaOffset;
18027 suggestedYChromaOffset = src.suggestedYChromaOffset;
18028
18029 return *this;
18030}
18031
18032safe_VkAndroidHardwareBufferFormatPropertiesANDROID::~safe_VkAndroidHardwareBufferFormatPropertiesANDROID()
18033{
18034}
18035
18036void safe_VkAndroidHardwareBufferFormatPropertiesANDROID::initialize(const VkAndroidHardwareBufferFormatPropertiesANDROID* in_struct)
18037{
18038 sType = in_struct->sType;
18039 pNext = in_struct->pNext;
18040 format = in_struct->format;
18041 externalFormat = in_struct->externalFormat;
18042 formatFeatures = in_struct->formatFeatures;
18043 samplerYcbcrConversionComponents = in_struct->samplerYcbcrConversionComponents;
18044 suggestedYcbcrModel = in_struct->suggestedYcbcrModel;
18045 suggestedYcbcrRange = in_struct->suggestedYcbcrRange;
18046 suggestedXChromaOffset = in_struct->suggestedXChromaOffset;
18047 suggestedYChromaOffset = in_struct->suggestedYChromaOffset;
18048}
18049
18050void safe_VkAndroidHardwareBufferFormatPropertiesANDROID::initialize(const safe_VkAndroidHardwareBufferFormatPropertiesANDROID* src)
18051{
18052 sType = src->sType;
18053 pNext = src->pNext;
18054 format = src->format;
18055 externalFormat = src->externalFormat;
18056 formatFeatures = src->formatFeatures;
18057 samplerYcbcrConversionComponents = src->samplerYcbcrConversionComponents;
18058 suggestedYcbcrModel = src->suggestedYcbcrModel;
18059 suggestedYcbcrRange = src->suggestedYcbcrRange;
18060 suggestedXChromaOffset = src->suggestedXChromaOffset;
18061 suggestedYChromaOffset = src->suggestedYChromaOffset;
18062}
18063#endif // VK_USE_PLATFORM_ANDROID_KHR
18064
18065#ifdef VK_USE_PLATFORM_ANDROID_KHR
18066
18067
18068safe_VkImportAndroidHardwareBufferInfoANDROID::safe_VkImportAndroidHardwareBufferInfoANDROID(const VkImportAndroidHardwareBufferInfoANDROID* in_struct) :
18069 sType(in_struct->sType),
18070 pNext(in_struct->pNext),
18071 buffer(nullptr)
18072{
18073 buffer = in_struct->buffer;
18074}
18075
18076safe_VkImportAndroidHardwareBufferInfoANDROID::safe_VkImportAndroidHardwareBufferInfoANDROID() :
18077 buffer(nullptr)
18078{}
18079
18080safe_VkImportAndroidHardwareBufferInfoANDROID::safe_VkImportAndroidHardwareBufferInfoANDROID(const safe_VkImportAndroidHardwareBufferInfoANDROID& src)
18081{
18082 sType = src.sType;
18083 pNext = src.pNext;
18084 buffer = src.buffer;
18085}
18086
18087safe_VkImportAndroidHardwareBufferInfoANDROID& safe_VkImportAndroidHardwareBufferInfoANDROID::operator=(const safe_VkImportAndroidHardwareBufferInfoANDROID& src)
18088{
18089 if (&src == this) return *this;
18090
18091
18092 sType = src.sType;
18093 pNext = src.pNext;
18094 buffer = src.buffer;
18095
18096 return *this;
18097}
18098
18099safe_VkImportAndroidHardwareBufferInfoANDROID::~safe_VkImportAndroidHardwareBufferInfoANDROID()
18100{
18101}
18102
18103void safe_VkImportAndroidHardwareBufferInfoANDROID::initialize(const VkImportAndroidHardwareBufferInfoANDROID* in_struct)
18104{
18105 sType = in_struct->sType;
18106 pNext = in_struct->pNext;
18107 buffer = in_struct->buffer;
18108}
18109
18110void safe_VkImportAndroidHardwareBufferInfoANDROID::initialize(const safe_VkImportAndroidHardwareBufferInfoANDROID* src)
18111{
18112 sType = src->sType;
18113 pNext = src->pNext;
18114 buffer = src->buffer;
18115}
18116#endif // VK_USE_PLATFORM_ANDROID_KHR
18117
18118#ifdef VK_USE_PLATFORM_ANDROID_KHR
18119
18120
18121safe_VkMemoryGetAndroidHardwareBufferInfoANDROID::safe_VkMemoryGetAndroidHardwareBufferInfoANDROID(const VkMemoryGetAndroidHardwareBufferInfoANDROID* in_struct) :
18122 sType(in_struct->sType),
18123 pNext(in_struct->pNext),
18124 memory(in_struct->memory)
18125{
18126}
18127
18128safe_VkMemoryGetAndroidHardwareBufferInfoANDROID::safe_VkMemoryGetAndroidHardwareBufferInfoANDROID()
18129{}
18130
18131safe_VkMemoryGetAndroidHardwareBufferInfoANDROID::safe_VkMemoryGetAndroidHardwareBufferInfoANDROID(const safe_VkMemoryGetAndroidHardwareBufferInfoANDROID& src)
18132{
18133 sType = src.sType;
18134 pNext = src.pNext;
18135 memory = src.memory;
18136}
18137
18138safe_VkMemoryGetAndroidHardwareBufferInfoANDROID& safe_VkMemoryGetAndroidHardwareBufferInfoANDROID::operator=(const safe_VkMemoryGetAndroidHardwareBufferInfoANDROID& src)
18139{
18140 if (&src == this) return *this;
18141
18142
18143 sType = src.sType;
18144 pNext = src.pNext;
18145 memory = src.memory;
18146
18147 return *this;
18148}
18149
18150safe_VkMemoryGetAndroidHardwareBufferInfoANDROID::~safe_VkMemoryGetAndroidHardwareBufferInfoANDROID()
18151{
18152}
18153
18154void safe_VkMemoryGetAndroidHardwareBufferInfoANDROID::initialize(const VkMemoryGetAndroidHardwareBufferInfoANDROID* in_struct)
18155{
18156 sType = in_struct->sType;
18157 pNext = in_struct->pNext;
18158 memory = in_struct->memory;
18159}
18160
18161void safe_VkMemoryGetAndroidHardwareBufferInfoANDROID::initialize(const safe_VkMemoryGetAndroidHardwareBufferInfoANDROID* src)
18162{
18163 sType = src->sType;
18164 pNext = src->pNext;
18165 memory = src->memory;
18166}
18167#endif // VK_USE_PLATFORM_ANDROID_KHR
18168
18169#ifdef VK_USE_PLATFORM_ANDROID_KHR
18170
18171
18172safe_VkExternalFormatANDROID::safe_VkExternalFormatANDROID(const VkExternalFormatANDROID* in_struct) :
18173 sType(in_struct->sType),
18174 pNext(in_struct->pNext),
18175 externalFormat(in_struct->externalFormat)
18176{
18177}
18178
18179safe_VkExternalFormatANDROID::safe_VkExternalFormatANDROID()
18180{}
18181
18182safe_VkExternalFormatANDROID::safe_VkExternalFormatANDROID(const safe_VkExternalFormatANDROID& src)
18183{
18184 sType = src.sType;
18185 pNext = src.pNext;
18186 externalFormat = src.externalFormat;
18187}
18188
18189safe_VkExternalFormatANDROID& safe_VkExternalFormatANDROID::operator=(const safe_VkExternalFormatANDROID& src)
18190{
18191 if (&src == this) return *this;
18192
18193
18194 sType = src.sType;
18195 pNext = src.pNext;
18196 externalFormat = src.externalFormat;
18197
18198 return *this;
18199}
18200
18201safe_VkExternalFormatANDROID::~safe_VkExternalFormatANDROID()
18202{
18203}
18204
18205void safe_VkExternalFormatANDROID::initialize(const VkExternalFormatANDROID* in_struct)
18206{
18207 sType = in_struct->sType;
18208 pNext = in_struct->pNext;
18209 externalFormat = in_struct->externalFormat;
18210}
18211
18212void safe_VkExternalFormatANDROID::initialize(const safe_VkExternalFormatANDROID* src)
18213{
18214 sType = src->sType;
18215 pNext = src->pNext;
18216 externalFormat = src->externalFormat;
18217}
18218#endif // VK_USE_PLATFORM_ANDROID_KHR
18219
18220
18221safe_VkSamplerReductionModeCreateInfoEXT::safe_VkSamplerReductionModeCreateInfoEXT(const VkSamplerReductionModeCreateInfoEXT* in_struct) :
18222 sType(in_struct->sType),
18223 pNext(in_struct->pNext),
18224 reductionMode(in_struct->reductionMode)
18225{
18226}
18227
18228safe_VkSamplerReductionModeCreateInfoEXT::safe_VkSamplerReductionModeCreateInfoEXT()
18229{}
18230
18231safe_VkSamplerReductionModeCreateInfoEXT::safe_VkSamplerReductionModeCreateInfoEXT(const safe_VkSamplerReductionModeCreateInfoEXT& src)
18232{
18233 sType = src.sType;
18234 pNext = src.pNext;
18235 reductionMode = src.reductionMode;
18236}
18237
18238safe_VkSamplerReductionModeCreateInfoEXT& safe_VkSamplerReductionModeCreateInfoEXT::operator=(const safe_VkSamplerReductionModeCreateInfoEXT& src)
18239{
18240 if (&src == this) return *this;
18241
18242
18243 sType = src.sType;
18244 pNext = src.pNext;
18245 reductionMode = src.reductionMode;
18246
18247 return *this;
18248}
18249
18250safe_VkSamplerReductionModeCreateInfoEXT::~safe_VkSamplerReductionModeCreateInfoEXT()
18251{
18252}
18253
18254void safe_VkSamplerReductionModeCreateInfoEXT::initialize(const VkSamplerReductionModeCreateInfoEXT* in_struct)
18255{
18256 sType = in_struct->sType;
18257 pNext = in_struct->pNext;
18258 reductionMode = in_struct->reductionMode;
18259}
18260
18261void safe_VkSamplerReductionModeCreateInfoEXT::initialize(const safe_VkSamplerReductionModeCreateInfoEXT* src)
18262{
18263 sType = src->sType;
18264 pNext = src->pNext;
18265 reductionMode = src->reductionMode;
18266}
18267
18268safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT::safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT(const VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT* in_struct) :
18269 sType(in_struct->sType),
18270 pNext(in_struct->pNext),
18271 filterMinmaxSingleComponentFormats(in_struct->filterMinmaxSingleComponentFormats),
18272 filterMinmaxImageComponentMapping(in_struct->filterMinmaxImageComponentMapping)
18273{
18274}
18275
18276safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT::safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT()
18277{}
18278
18279safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT::safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT(const safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT& src)
18280{
18281 sType = src.sType;
18282 pNext = src.pNext;
18283 filterMinmaxSingleComponentFormats = src.filterMinmaxSingleComponentFormats;
18284 filterMinmaxImageComponentMapping = src.filterMinmaxImageComponentMapping;
18285}
18286
18287safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT& safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT::operator=(const safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT& src)
18288{
18289 if (&src == this) return *this;
18290
18291
18292 sType = src.sType;
18293 pNext = src.pNext;
18294 filterMinmaxSingleComponentFormats = src.filterMinmaxSingleComponentFormats;
18295 filterMinmaxImageComponentMapping = src.filterMinmaxImageComponentMapping;
18296
18297 return *this;
18298}
18299
18300safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT::~safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT()
18301{
18302}
18303
18304void safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT::initialize(const VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT* in_struct)
18305{
18306 sType = in_struct->sType;
18307 pNext = in_struct->pNext;
18308 filterMinmaxSingleComponentFormats = in_struct->filterMinmaxSingleComponentFormats;
18309 filterMinmaxImageComponentMapping = in_struct->filterMinmaxImageComponentMapping;
18310}
18311
18312void safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT::initialize(const safe_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT* src)
18313{
18314 sType = src->sType;
18315 pNext = src->pNext;
18316 filterMinmaxSingleComponentFormats = src->filterMinmaxSingleComponentFormats;
18317 filterMinmaxImageComponentMapping = src->filterMinmaxImageComponentMapping;
18318}
18319
18320safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT::safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT(const VkPhysicalDeviceInlineUniformBlockFeaturesEXT* in_struct) :
18321 sType(in_struct->sType),
18322 pNext(in_struct->pNext),
18323 inlineUniformBlock(in_struct->inlineUniformBlock),
18324 descriptorBindingInlineUniformBlockUpdateAfterBind(in_struct->descriptorBindingInlineUniformBlockUpdateAfterBind)
18325{
18326}
18327
18328safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT::safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT()
18329{}
18330
18331safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT::safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT(const safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT& src)
18332{
18333 sType = src.sType;
18334 pNext = src.pNext;
18335 inlineUniformBlock = src.inlineUniformBlock;
18336 descriptorBindingInlineUniformBlockUpdateAfterBind = src.descriptorBindingInlineUniformBlockUpdateAfterBind;
18337}
18338
18339safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT& safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT::operator=(const safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT& src)
18340{
18341 if (&src == this) return *this;
18342
18343
18344 sType = src.sType;
18345 pNext = src.pNext;
18346 inlineUniformBlock = src.inlineUniformBlock;
18347 descriptorBindingInlineUniformBlockUpdateAfterBind = src.descriptorBindingInlineUniformBlockUpdateAfterBind;
18348
18349 return *this;
18350}
18351
18352safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT::~safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT()
18353{
18354}
18355
18356void safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT::initialize(const VkPhysicalDeviceInlineUniformBlockFeaturesEXT* in_struct)
18357{
18358 sType = in_struct->sType;
18359 pNext = in_struct->pNext;
18360 inlineUniformBlock = in_struct->inlineUniformBlock;
18361 descriptorBindingInlineUniformBlockUpdateAfterBind = in_struct->descriptorBindingInlineUniformBlockUpdateAfterBind;
18362}
18363
18364void safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT::initialize(const safe_VkPhysicalDeviceInlineUniformBlockFeaturesEXT* src)
18365{
18366 sType = src->sType;
18367 pNext = src->pNext;
18368 inlineUniformBlock = src->inlineUniformBlock;
18369 descriptorBindingInlineUniformBlockUpdateAfterBind = src->descriptorBindingInlineUniformBlockUpdateAfterBind;
18370}
18371
18372safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT::safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT(const VkPhysicalDeviceInlineUniformBlockPropertiesEXT* in_struct) :
18373 sType(in_struct->sType),
18374 pNext(in_struct->pNext),
18375 maxInlineUniformBlockSize(in_struct->maxInlineUniformBlockSize),
18376 maxPerStageDescriptorInlineUniformBlocks(in_struct->maxPerStageDescriptorInlineUniformBlocks),
18377 maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks(in_struct->maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks),
18378 maxDescriptorSetInlineUniformBlocks(in_struct->maxDescriptorSetInlineUniformBlocks),
18379 maxDescriptorSetUpdateAfterBindInlineUniformBlocks(in_struct->maxDescriptorSetUpdateAfterBindInlineUniformBlocks)
18380{
18381}
18382
18383safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT::safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT()
18384{}
18385
18386safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT::safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT(const safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT& src)
18387{
18388 sType = src.sType;
18389 pNext = src.pNext;
18390 maxInlineUniformBlockSize = src.maxInlineUniformBlockSize;
18391 maxPerStageDescriptorInlineUniformBlocks = src.maxPerStageDescriptorInlineUniformBlocks;
18392 maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks = src.maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks;
18393 maxDescriptorSetInlineUniformBlocks = src.maxDescriptorSetInlineUniformBlocks;
18394 maxDescriptorSetUpdateAfterBindInlineUniformBlocks = src.maxDescriptorSetUpdateAfterBindInlineUniformBlocks;
18395}
18396
18397safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT& safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT::operator=(const safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT& src)
18398{
18399 if (&src == this) return *this;
18400
18401
18402 sType = src.sType;
18403 pNext = src.pNext;
18404 maxInlineUniformBlockSize = src.maxInlineUniformBlockSize;
18405 maxPerStageDescriptorInlineUniformBlocks = src.maxPerStageDescriptorInlineUniformBlocks;
18406 maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks = src.maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks;
18407 maxDescriptorSetInlineUniformBlocks = src.maxDescriptorSetInlineUniformBlocks;
18408 maxDescriptorSetUpdateAfterBindInlineUniformBlocks = src.maxDescriptorSetUpdateAfterBindInlineUniformBlocks;
18409
18410 return *this;
18411}
18412
18413safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT::~safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT()
18414{
18415}
18416
18417void safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT::initialize(const VkPhysicalDeviceInlineUniformBlockPropertiesEXT* in_struct)
18418{
18419 sType = in_struct->sType;
18420 pNext = in_struct->pNext;
18421 maxInlineUniformBlockSize = in_struct->maxInlineUniformBlockSize;
18422 maxPerStageDescriptorInlineUniformBlocks = in_struct->maxPerStageDescriptorInlineUniformBlocks;
18423 maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks = in_struct->maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks;
18424 maxDescriptorSetInlineUniformBlocks = in_struct->maxDescriptorSetInlineUniformBlocks;
18425 maxDescriptorSetUpdateAfterBindInlineUniformBlocks = in_struct->maxDescriptorSetUpdateAfterBindInlineUniformBlocks;
18426}
18427
18428void safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT::initialize(const safe_VkPhysicalDeviceInlineUniformBlockPropertiesEXT* src)
18429{
18430 sType = src->sType;
18431 pNext = src->pNext;
18432 maxInlineUniformBlockSize = src->maxInlineUniformBlockSize;
18433 maxPerStageDescriptorInlineUniformBlocks = src->maxPerStageDescriptorInlineUniformBlocks;
18434 maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks = src->maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks;
18435 maxDescriptorSetInlineUniformBlocks = src->maxDescriptorSetInlineUniformBlocks;
18436 maxDescriptorSetUpdateAfterBindInlineUniformBlocks = src->maxDescriptorSetUpdateAfterBindInlineUniformBlocks;
18437}
18438
18439safe_VkWriteDescriptorSetInlineUniformBlockEXT::safe_VkWriteDescriptorSetInlineUniformBlockEXT(const VkWriteDescriptorSetInlineUniformBlockEXT* in_struct) :
18440 sType(in_struct->sType),
18441 pNext(in_struct->pNext),
18442 dataSize(in_struct->dataSize),
18443 pData(in_struct->pData)
18444{
18445}
18446
18447safe_VkWriteDescriptorSetInlineUniformBlockEXT::safe_VkWriteDescriptorSetInlineUniformBlockEXT()
18448{}
18449
18450safe_VkWriteDescriptorSetInlineUniformBlockEXT::safe_VkWriteDescriptorSetInlineUniformBlockEXT(const safe_VkWriteDescriptorSetInlineUniformBlockEXT& src)
18451{
18452 sType = src.sType;
18453 pNext = src.pNext;
18454 dataSize = src.dataSize;
18455 pData = src.pData;
18456}
18457
18458safe_VkWriteDescriptorSetInlineUniformBlockEXT& safe_VkWriteDescriptorSetInlineUniformBlockEXT::operator=(const safe_VkWriteDescriptorSetInlineUniformBlockEXT& src)
18459{
18460 if (&src == this) return *this;
18461
18462
18463 sType = src.sType;
18464 pNext = src.pNext;
18465 dataSize = src.dataSize;
18466 pData = src.pData;
18467
18468 return *this;
18469}
18470
18471safe_VkWriteDescriptorSetInlineUniformBlockEXT::~safe_VkWriteDescriptorSetInlineUniformBlockEXT()
18472{
18473}
18474
18475void safe_VkWriteDescriptorSetInlineUniformBlockEXT::initialize(const VkWriteDescriptorSetInlineUniformBlockEXT* in_struct)
18476{
18477 sType = in_struct->sType;
18478 pNext = in_struct->pNext;
18479 dataSize = in_struct->dataSize;
18480 pData = in_struct->pData;
18481}
18482
18483void safe_VkWriteDescriptorSetInlineUniformBlockEXT::initialize(const safe_VkWriteDescriptorSetInlineUniformBlockEXT* src)
18484{
18485 sType = src->sType;
18486 pNext = src->pNext;
18487 dataSize = src->dataSize;
18488 pData = src->pData;
18489}
18490
18491safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT::safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT(const VkDescriptorPoolInlineUniformBlockCreateInfoEXT* in_struct) :
18492 sType(in_struct->sType),
18493 pNext(in_struct->pNext),
18494 maxInlineUniformBlockBindings(in_struct->maxInlineUniformBlockBindings)
18495{
18496}
18497
18498safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT::safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT()
18499{}
18500
18501safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT::safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT(const safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT& src)
18502{
18503 sType = src.sType;
18504 pNext = src.pNext;
18505 maxInlineUniformBlockBindings = src.maxInlineUniformBlockBindings;
18506}
18507
18508safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT& safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT::operator=(const safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT& src)
18509{
18510 if (&src == this) return *this;
18511
18512
18513 sType = src.sType;
18514 pNext = src.pNext;
18515 maxInlineUniformBlockBindings = src.maxInlineUniformBlockBindings;
18516
18517 return *this;
18518}
18519
18520safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT::~safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT()
18521{
18522}
18523
18524void safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT::initialize(const VkDescriptorPoolInlineUniformBlockCreateInfoEXT* in_struct)
18525{
18526 sType = in_struct->sType;
18527 pNext = in_struct->pNext;
18528 maxInlineUniformBlockBindings = in_struct->maxInlineUniformBlockBindings;
18529}
18530
18531void safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT::initialize(const safe_VkDescriptorPoolInlineUniformBlockCreateInfoEXT* src)
18532{
18533 sType = src->sType;
18534 pNext = src->pNext;
18535 maxInlineUniformBlockBindings = src->maxInlineUniformBlockBindings;
18536}
18537
18538safe_VkSampleLocationsInfoEXT::safe_VkSampleLocationsInfoEXT(const VkSampleLocationsInfoEXT* in_struct) :
18539 sType(in_struct->sType),
18540 pNext(in_struct->pNext),
18541 sampleLocationsPerPixel(in_struct->sampleLocationsPerPixel),
18542 sampleLocationGridSize(in_struct->sampleLocationGridSize),
18543 sampleLocationsCount(in_struct->sampleLocationsCount),
18544 pSampleLocations(nullptr)
18545{
18546 if (in_struct->pSampleLocations) {
18547 pSampleLocations = new VkSampleLocationEXT[in_struct->sampleLocationsCount];
18548 memcpy ((void *)pSampleLocations, (void *)in_struct->pSampleLocations, sizeof(VkSampleLocationEXT)*in_struct->sampleLocationsCount);
18549 }
18550}
18551
18552safe_VkSampleLocationsInfoEXT::safe_VkSampleLocationsInfoEXT() :
18553 pSampleLocations(nullptr)
18554{}
18555
18556safe_VkSampleLocationsInfoEXT::safe_VkSampleLocationsInfoEXT(const safe_VkSampleLocationsInfoEXT& src)
18557{
18558 sType = src.sType;
18559 pNext = src.pNext;
18560 sampleLocationsPerPixel = src.sampleLocationsPerPixel;
18561 sampleLocationGridSize = src.sampleLocationGridSize;
18562 sampleLocationsCount = src.sampleLocationsCount;
18563 pSampleLocations = nullptr;
18564 if (src.pSampleLocations) {
18565 pSampleLocations = new VkSampleLocationEXT[src.sampleLocationsCount];
18566 memcpy ((void *)pSampleLocations, (void *)src.pSampleLocations, sizeof(VkSampleLocationEXT)*src.sampleLocationsCount);
18567 }
18568}
18569
18570safe_VkSampleLocationsInfoEXT& safe_VkSampleLocationsInfoEXT::operator=(const safe_VkSampleLocationsInfoEXT& src)
18571{
18572 if (&src == this) return *this;
18573
18574 if (pSampleLocations)
18575 delete[] pSampleLocations;
18576
18577 sType = src.sType;
18578 pNext = src.pNext;
18579 sampleLocationsPerPixel = src.sampleLocationsPerPixel;
18580 sampleLocationGridSize = src.sampleLocationGridSize;
18581 sampleLocationsCount = src.sampleLocationsCount;
18582 pSampleLocations = nullptr;
18583 if (src.pSampleLocations) {
18584 pSampleLocations = new VkSampleLocationEXT[src.sampleLocationsCount];
18585 memcpy ((void *)pSampleLocations, (void *)src.pSampleLocations, sizeof(VkSampleLocationEXT)*src.sampleLocationsCount);
18586 }
18587
18588 return *this;
18589}
18590
18591safe_VkSampleLocationsInfoEXT::~safe_VkSampleLocationsInfoEXT()
18592{
18593 if (pSampleLocations)
18594 delete[] pSampleLocations;
18595}
18596
18597void safe_VkSampleLocationsInfoEXT::initialize(const VkSampleLocationsInfoEXT* in_struct)
18598{
18599 sType = in_struct->sType;
18600 pNext = in_struct->pNext;
18601 sampleLocationsPerPixel = in_struct->sampleLocationsPerPixel;
18602 sampleLocationGridSize = in_struct->sampleLocationGridSize;
18603 sampleLocationsCount = in_struct->sampleLocationsCount;
18604 pSampleLocations = nullptr;
18605 if (in_struct->pSampleLocations) {
18606 pSampleLocations = new VkSampleLocationEXT[in_struct->sampleLocationsCount];
18607 memcpy ((void *)pSampleLocations, (void *)in_struct->pSampleLocations, sizeof(VkSampleLocationEXT)*in_struct->sampleLocationsCount);
18608 }
18609}
18610
18611void safe_VkSampleLocationsInfoEXT::initialize(const safe_VkSampleLocationsInfoEXT* src)
18612{
18613 sType = src->sType;
18614 pNext = src->pNext;
18615 sampleLocationsPerPixel = src->sampleLocationsPerPixel;
18616 sampleLocationGridSize = src->sampleLocationGridSize;
18617 sampleLocationsCount = src->sampleLocationsCount;
18618 pSampleLocations = nullptr;
18619 if (src->pSampleLocations) {
18620 pSampleLocations = new VkSampleLocationEXT[src->sampleLocationsCount];
18621 memcpy ((void *)pSampleLocations, (void *)src->pSampleLocations, sizeof(VkSampleLocationEXT)*src->sampleLocationsCount);
18622 }
18623}
18624
18625safe_VkRenderPassSampleLocationsBeginInfoEXT::safe_VkRenderPassSampleLocationsBeginInfoEXT(const VkRenderPassSampleLocationsBeginInfoEXT* in_struct) :
18626 sType(in_struct->sType),
18627 pNext(in_struct->pNext),
18628 attachmentInitialSampleLocationsCount(in_struct->attachmentInitialSampleLocationsCount),
18629 pAttachmentInitialSampleLocations(nullptr),
18630 postSubpassSampleLocationsCount(in_struct->postSubpassSampleLocationsCount),
18631 pPostSubpassSampleLocations(nullptr)
18632{
18633 if (in_struct->pAttachmentInitialSampleLocations) {
18634 pAttachmentInitialSampleLocations = new VkAttachmentSampleLocationsEXT[in_struct->attachmentInitialSampleLocationsCount];
18635 memcpy ((void *)pAttachmentInitialSampleLocations, (void *)in_struct->pAttachmentInitialSampleLocations, sizeof(VkAttachmentSampleLocationsEXT)*in_struct->attachmentInitialSampleLocationsCount);
18636 }
18637 if (in_struct->pPostSubpassSampleLocations) {
18638 pPostSubpassSampleLocations = new VkSubpassSampleLocationsEXT[in_struct->postSubpassSampleLocationsCount];
18639 memcpy ((void *)pPostSubpassSampleLocations, (void *)in_struct->pPostSubpassSampleLocations, sizeof(VkSubpassSampleLocationsEXT)*in_struct->postSubpassSampleLocationsCount);
18640 }
18641}
18642
18643safe_VkRenderPassSampleLocationsBeginInfoEXT::safe_VkRenderPassSampleLocationsBeginInfoEXT() :
18644 pAttachmentInitialSampleLocations(nullptr),
18645 pPostSubpassSampleLocations(nullptr)
18646{}
18647
18648safe_VkRenderPassSampleLocationsBeginInfoEXT::safe_VkRenderPassSampleLocationsBeginInfoEXT(const safe_VkRenderPassSampleLocationsBeginInfoEXT& src)
18649{
18650 sType = src.sType;
18651 pNext = src.pNext;
18652 attachmentInitialSampleLocationsCount = src.attachmentInitialSampleLocationsCount;
18653 pAttachmentInitialSampleLocations = nullptr;
18654 postSubpassSampleLocationsCount = src.postSubpassSampleLocationsCount;
18655 pPostSubpassSampleLocations = nullptr;
18656 if (src.pAttachmentInitialSampleLocations) {
18657 pAttachmentInitialSampleLocations = new VkAttachmentSampleLocationsEXT[src.attachmentInitialSampleLocationsCount];
18658 memcpy ((void *)pAttachmentInitialSampleLocations, (void *)src.pAttachmentInitialSampleLocations, sizeof(VkAttachmentSampleLocationsEXT)*src.attachmentInitialSampleLocationsCount);
18659 }
18660 if (src.pPostSubpassSampleLocations) {
18661 pPostSubpassSampleLocations = new VkSubpassSampleLocationsEXT[src.postSubpassSampleLocationsCount];
18662 memcpy ((void *)pPostSubpassSampleLocations, (void *)src.pPostSubpassSampleLocations, sizeof(VkSubpassSampleLocationsEXT)*src.postSubpassSampleLocationsCount);
18663 }
18664}
18665
18666safe_VkRenderPassSampleLocationsBeginInfoEXT& safe_VkRenderPassSampleLocationsBeginInfoEXT::operator=(const safe_VkRenderPassSampleLocationsBeginInfoEXT& src)
18667{
18668 if (&src == this) return *this;
18669
18670 if (pAttachmentInitialSampleLocations)
18671 delete[] pAttachmentInitialSampleLocations;
18672 if (pPostSubpassSampleLocations)
18673 delete[] pPostSubpassSampleLocations;
18674
18675 sType = src.sType;
18676 pNext = src.pNext;
18677 attachmentInitialSampleLocationsCount = src.attachmentInitialSampleLocationsCount;
18678 pAttachmentInitialSampleLocations = nullptr;
18679 postSubpassSampleLocationsCount = src.postSubpassSampleLocationsCount;
18680 pPostSubpassSampleLocations = nullptr;
18681 if (src.pAttachmentInitialSampleLocations) {
18682 pAttachmentInitialSampleLocations = new VkAttachmentSampleLocationsEXT[src.attachmentInitialSampleLocationsCount];
18683 memcpy ((void *)pAttachmentInitialSampleLocations, (void *)src.pAttachmentInitialSampleLocations, sizeof(VkAttachmentSampleLocationsEXT)*src.attachmentInitialSampleLocationsCount);
18684 }
18685 if (src.pPostSubpassSampleLocations) {
18686 pPostSubpassSampleLocations = new VkSubpassSampleLocationsEXT[src.postSubpassSampleLocationsCount];
18687 memcpy ((void *)pPostSubpassSampleLocations, (void *)src.pPostSubpassSampleLocations, sizeof(VkSubpassSampleLocationsEXT)*src.postSubpassSampleLocationsCount);
18688 }
18689
18690 return *this;
18691}
18692
18693safe_VkRenderPassSampleLocationsBeginInfoEXT::~safe_VkRenderPassSampleLocationsBeginInfoEXT()
18694{
18695 if (pAttachmentInitialSampleLocations)
18696 delete[] pAttachmentInitialSampleLocations;
18697 if (pPostSubpassSampleLocations)
18698 delete[] pPostSubpassSampleLocations;
18699}
18700
18701void safe_VkRenderPassSampleLocationsBeginInfoEXT::initialize(const VkRenderPassSampleLocationsBeginInfoEXT* in_struct)
18702{
18703 sType = in_struct->sType;
18704 pNext = in_struct->pNext;
18705 attachmentInitialSampleLocationsCount = in_struct->attachmentInitialSampleLocationsCount;
18706 pAttachmentInitialSampleLocations = nullptr;
18707 postSubpassSampleLocationsCount = in_struct->postSubpassSampleLocationsCount;
18708 pPostSubpassSampleLocations = nullptr;
18709 if (in_struct->pAttachmentInitialSampleLocations) {
18710 pAttachmentInitialSampleLocations = new VkAttachmentSampleLocationsEXT[in_struct->attachmentInitialSampleLocationsCount];
18711 memcpy ((void *)pAttachmentInitialSampleLocations, (void *)in_struct->pAttachmentInitialSampleLocations, sizeof(VkAttachmentSampleLocationsEXT)*in_struct->attachmentInitialSampleLocationsCount);
18712 }
18713 if (in_struct->pPostSubpassSampleLocations) {
18714 pPostSubpassSampleLocations = new VkSubpassSampleLocationsEXT[in_struct->postSubpassSampleLocationsCount];
18715 memcpy ((void *)pPostSubpassSampleLocations, (void *)in_struct->pPostSubpassSampleLocations, sizeof(VkSubpassSampleLocationsEXT)*in_struct->postSubpassSampleLocationsCount);
18716 }
18717}
18718
18719void safe_VkRenderPassSampleLocationsBeginInfoEXT::initialize(const safe_VkRenderPassSampleLocationsBeginInfoEXT* src)
18720{
18721 sType = src->sType;
18722 pNext = src->pNext;
18723 attachmentInitialSampleLocationsCount = src->attachmentInitialSampleLocationsCount;
18724 pAttachmentInitialSampleLocations = nullptr;
18725 postSubpassSampleLocationsCount = src->postSubpassSampleLocationsCount;
18726 pPostSubpassSampleLocations = nullptr;
18727 if (src->pAttachmentInitialSampleLocations) {
18728 pAttachmentInitialSampleLocations = new VkAttachmentSampleLocationsEXT[src->attachmentInitialSampleLocationsCount];
18729 memcpy ((void *)pAttachmentInitialSampleLocations, (void *)src->pAttachmentInitialSampleLocations, sizeof(VkAttachmentSampleLocationsEXT)*src->attachmentInitialSampleLocationsCount);
18730 }
18731 if (src->pPostSubpassSampleLocations) {
18732 pPostSubpassSampleLocations = new VkSubpassSampleLocationsEXT[src->postSubpassSampleLocationsCount];
18733 memcpy ((void *)pPostSubpassSampleLocations, (void *)src->pPostSubpassSampleLocations, sizeof(VkSubpassSampleLocationsEXT)*src->postSubpassSampleLocationsCount);
18734 }
18735}
18736
18737safe_VkPipelineSampleLocationsStateCreateInfoEXT::safe_VkPipelineSampleLocationsStateCreateInfoEXT(const VkPipelineSampleLocationsStateCreateInfoEXT* in_struct) :
18738 sType(in_struct->sType),
18739 pNext(in_struct->pNext),
18740 sampleLocationsEnable(in_struct->sampleLocationsEnable),
18741 sampleLocationsInfo(&in_struct->sampleLocationsInfo)
18742{
18743}
18744
18745safe_VkPipelineSampleLocationsStateCreateInfoEXT::safe_VkPipelineSampleLocationsStateCreateInfoEXT()
18746{}
18747
18748safe_VkPipelineSampleLocationsStateCreateInfoEXT::safe_VkPipelineSampleLocationsStateCreateInfoEXT(const safe_VkPipelineSampleLocationsStateCreateInfoEXT& src)
18749{
18750 sType = src.sType;
18751 pNext = src.pNext;
18752 sampleLocationsEnable = src.sampleLocationsEnable;
18753 sampleLocationsInfo.initialize(&src.sampleLocationsInfo);
18754}
18755
18756safe_VkPipelineSampleLocationsStateCreateInfoEXT& safe_VkPipelineSampleLocationsStateCreateInfoEXT::operator=(const safe_VkPipelineSampleLocationsStateCreateInfoEXT& src)
18757{
18758 if (&src == this) return *this;
18759
18760
18761 sType = src.sType;
18762 pNext = src.pNext;
18763 sampleLocationsEnable = src.sampleLocationsEnable;
18764 sampleLocationsInfo.initialize(&src.sampleLocationsInfo);
18765
18766 return *this;
18767}
18768
18769safe_VkPipelineSampleLocationsStateCreateInfoEXT::~safe_VkPipelineSampleLocationsStateCreateInfoEXT()
18770{
18771}
18772
18773void safe_VkPipelineSampleLocationsStateCreateInfoEXT::initialize(const VkPipelineSampleLocationsStateCreateInfoEXT* in_struct)
18774{
18775 sType = in_struct->sType;
18776 pNext = in_struct->pNext;
18777 sampleLocationsEnable = in_struct->sampleLocationsEnable;
18778 sampleLocationsInfo.initialize(&in_struct->sampleLocationsInfo);
18779}
18780
18781void safe_VkPipelineSampleLocationsStateCreateInfoEXT::initialize(const safe_VkPipelineSampleLocationsStateCreateInfoEXT* src)
18782{
18783 sType = src->sType;
18784 pNext = src->pNext;
18785 sampleLocationsEnable = src->sampleLocationsEnable;
18786 sampleLocationsInfo.initialize(&src->sampleLocationsInfo);
18787}
18788
18789safe_VkPhysicalDeviceSampleLocationsPropertiesEXT::safe_VkPhysicalDeviceSampleLocationsPropertiesEXT(const VkPhysicalDeviceSampleLocationsPropertiesEXT* in_struct) :
18790 sType(in_struct->sType),
18791 pNext(in_struct->pNext),
18792 sampleLocationSampleCounts(in_struct->sampleLocationSampleCounts),
18793 maxSampleLocationGridSize(in_struct->maxSampleLocationGridSize),
18794 sampleLocationSubPixelBits(in_struct->sampleLocationSubPixelBits),
18795 variableSampleLocations(in_struct->variableSampleLocations)
18796{
18797 for (uint32_t i=0; i<2; ++i) {
18798 sampleLocationCoordinateRange[i] = in_struct->sampleLocationCoordinateRange[i];
18799 }
18800}
18801
18802safe_VkPhysicalDeviceSampleLocationsPropertiesEXT::safe_VkPhysicalDeviceSampleLocationsPropertiesEXT()
18803{}
18804
18805safe_VkPhysicalDeviceSampleLocationsPropertiesEXT::safe_VkPhysicalDeviceSampleLocationsPropertiesEXT(const safe_VkPhysicalDeviceSampleLocationsPropertiesEXT& src)
18806{
18807 sType = src.sType;
18808 pNext = src.pNext;
18809 sampleLocationSampleCounts = src.sampleLocationSampleCounts;
18810 maxSampleLocationGridSize = src.maxSampleLocationGridSize;
18811 sampleLocationSubPixelBits = src.sampleLocationSubPixelBits;
18812 variableSampleLocations = src.variableSampleLocations;
18813 for (uint32_t i=0; i<2; ++i) {
18814 sampleLocationCoordinateRange[i] = src.sampleLocationCoordinateRange[i];
18815 }
18816}
18817
18818safe_VkPhysicalDeviceSampleLocationsPropertiesEXT& safe_VkPhysicalDeviceSampleLocationsPropertiesEXT::operator=(const safe_VkPhysicalDeviceSampleLocationsPropertiesEXT& src)
18819{
18820 if (&src == this) return *this;
18821
18822
18823 sType = src.sType;
18824 pNext = src.pNext;
18825 sampleLocationSampleCounts = src.sampleLocationSampleCounts;
18826 maxSampleLocationGridSize = src.maxSampleLocationGridSize;
18827 sampleLocationSubPixelBits = src.sampleLocationSubPixelBits;
18828 variableSampleLocations = src.variableSampleLocations;
18829 for (uint32_t i=0; i<2; ++i) {
18830 sampleLocationCoordinateRange[i] = src.sampleLocationCoordinateRange[i];
18831 }
18832
18833 return *this;
18834}
18835
18836safe_VkPhysicalDeviceSampleLocationsPropertiesEXT::~safe_VkPhysicalDeviceSampleLocationsPropertiesEXT()
18837{
18838}
18839
18840void safe_VkPhysicalDeviceSampleLocationsPropertiesEXT::initialize(const VkPhysicalDeviceSampleLocationsPropertiesEXT* in_struct)
18841{
18842 sType = in_struct->sType;
18843 pNext = in_struct->pNext;
18844 sampleLocationSampleCounts = in_struct->sampleLocationSampleCounts;
18845 maxSampleLocationGridSize = in_struct->maxSampleLocationGridSize;
18846 sampleLocationSubPixelBits = in_struct->sampleLocationSubPixelBits;
18847 variableSampleLocations = in_struct->variableSampleLocations;
18848 for (uint32_t i=0; i<2; ++i) {
18849 sampleLocationCoordinateRange[i] = in_struct->sampleLocationCoordinateRange[i];
18850 }
18851}
18852
18853void safe_VkPhysicalDeviceSampleLocationsPropertiesEXT::initialize(const safe_VkPhysicalDeviceSampleLocationsPropertiesEXT* src)
18854{
18855 sType = src->sType;
18856 pNext = src->pNext;
18857 sampleLocationSampleCounts = src->sampleLocationSampleCounts;
18858 maxSampleLocationGridSize = src->maxSampleLocationGridSize;
18859 sampleLocationSubPixelBits = src->sampleLocationSubPixelBits;
18860 variableSampleLocations = src->variableSampleLocations;
18861 for (uint32_t i=0; i<2; ++i) {
18862 sampleLocationCoordinateRange[i] = src->sampleLocationCoordinateRange[i];
18863 }
18864}
18865
18866safe_VkMultisamplePropertiesEXT::safe_VkMultisamplePropertiesEXT(const VkMultisamplePropertiesEXT* in_struct) :
18867 sType(in_struct->sType),
18868 pNext(in_struct->pNext),
18869 maxSampleLocationGridSize(in_struct->maxSampleLocationGridSize)
18870{
18871}
18872
18873safe_VkMultisamplePropertiesEXT::safe_VkMultisamplePropertiesEXT()
18874{}
18875
18876safe_VkMultisamplePropertiesEXT::safe_VkMultisamplePropertiesEXT(const safe_VkMultisamplePropertiesEXT& src)
18877{
18878 sType = src.sType;
18879 pNext = src.pNext;
18880 maxSampleLocationGridSize = src.maxSampleLocationGridSize;
18881}
18882
18883safe_VkMultisamplePropertiesEXT& safe_VkMultisamplePropertiesEXT::operator=(const safe_VkMultisamplePropertiesEXT& src)
18884{
18885 if (&src == this) return *this;
18886
18887
18888 sType = src.sType;
18889 pNext = src.pNext;
18890 maxSampleLocationGridSize = src.maxSampleLocationGridSize;
18891
18892 return *this;
18893}
18894
18895safe_VkMultisamplePropertiesEXT::~safe_VkMultisamplePropertiesEXT()
18896{
18897}
18898
18899void safe_VkMultisamplePropertiesEXT::initialize(const VkMultisamplePropertiesEXT* in_struct)
18900{
18901 sType = in_struct->sType;
18902 pNext = in_struct->pNext;
18903 maxSampleLocationGridSize = in_struct->maxSampleLocationGridSize;
18904}
18905
18906void safe_VkMultisamplePropertiesEXT::initialize(const safe_VkMultisamplePropertiesEXT* src)
18907{
18908 sType = src->sType;
18909 pNext = src->pNext;
18910 maxSampleLocationGridSize = src->maxSampleLocationGridSize;
18911}
18912
18913safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT(const VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT* in_struct) :
18914 sType(in_struct->sType),
18915 pNext(in_struct->pNext),
18916 advancedBlendCoherentOperations(in_struct->advancedBlendCoherentOperations)
18917{
18918}
18919
18920safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT()
18921{}
18922
18923safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT(const safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT& src)
18924{
18925 sType = src.sType;
18926 pNext = src.pNext;
18927 advancedBlendCoherentOperations = src.advancedBlendCoherentOperations;
18928}
18929
18930safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT& safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::operator=(const safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT& src)
18931{
18932 if (&src == this) return *this;
18933
18934
18935 sType = src.sType;
18936 pNext = src.pNext;
18937 advancedBlendCoherentOperations = src.advancedBlendCoherentOperations;
18938
18939 return *this;
18940}
18941
18942safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::~safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT()
18943{
18944}
18945
18946void safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::initialize(const VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT* in_struct)
18947{
18948 sType = in_struct->sType;
18949 pNext = in_struct->pNext;
18950 advancedBlendCoherentOperations = in_struct->advancedBlendCoherentOperations;
18951}
18952
18953void safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::initialize(const safe_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT* src)
18954{
18955 sType = src->sType;
18956 pNext = src->pNext;
18957 advancedBlendCoherentOperations = src->advancedBlendCoherentOperations;
18958}
18959
18960safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT::safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(const VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT* in_struct) :
18961 sType(in_struct->sType),
18962 pNext(in_struct->pNext),
18963 advancedBlendMaxColorAttachments(in_struct->advancedBlendMaxColorAttachments),
18964 advancedBlendIndependentBlend(in_struct->advancedBlendIndependentBlend),
18965 advancedBlendNonPremultipliedSrcColor(in_struct->advancedBlendNonPremultipliedSrcColor),
18966 advancedBlendNonPremultipliedDstColor(in_struct->advancedBlendNonPremultipliedDstColor),
18967 advancedBlendCorrelatedOverlap(in_struct->advancedBlendCorrelatedOverlap),
18968 advancedBlendAllOperations(in_struct->advancedBlendAllOperations)
18969{
18970}
18971
18972safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT::safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT()
18973{}
18974
18975safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT::safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(const safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT& src)
18976{
18977 sType = src.sType;
18978 pNext = src.pNext;
18979 advancedBlendMaxColorAttachments = src.advancedBlendMaxColorAttachments;
18980 advancedBlendIndependentBlend = src.advancedBlendIndependentBlend;
18981 advancedBlendNonPremultipliedSrcColor = src.advancedBlendNonPremultipliedSrcColor;
18982 advancedBlendNonPremultipliedDstColor = src.advancedBlendNonPremultipliedDstColor;
18983 advancedBlendCorrelatedOverlap = src.advancedBlendCorrelatedOverlap;
18984 advancedBlendAllOperations = src.advancedBlendAllOperations;
18985}
18986
18987safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT& safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT::operator=(const safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT& src)
18988{
18989 if (&src == this) return *this;
18990
18991
18992 sType = src.sType;
18993 pNext = src.pNext;
18994 advancedBlendMaxColorAttachments = src.advancedBlendMaxColorAttachments;
18995 advancedBlendIndependentBlend = src.advancedBlendIndependentBlend;
18996 advancedBlendNonPremultipliedSrcColor = src.advancedBlendNonPremultipliedSrcColor;
18997 advancedBlendNonPremultipliedDstColor = src.advancedBlendNonPremultipliedDstColor;
18998 advancedBlendCorrelatedOverlap = src.advancedBlendCorrelatedOverlap;
18999 advancedBlendAllOperations = src.advancedBlendAllOperations;
19000
19001 return *this;
19002}
19003
19004safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT::~safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT()
19005{
19006}
19007
19008void safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT::initialize(const VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT* in_struct)
19009{
19010 sType = in_struct->sType;
19011 pNext = in_struct->pNext;
19012 advancedBlendMaxColorAttachments = in_struct->advancedBlendMaxColorAttachments;
19013 advancedBlendIndependentBlend = in_struct->advancedBlendIndependentBlend;
19014 advancedBlendNonPremultipliedSrcColor = in_struct->advancedBlendNonPremultipliedSrcColor;
19015 advancedBlendNonPremultipliedDstColor = in_struct->advancedBlendNonPremultipliedDstColor;
19016 advancedBlendCorrelatedOverlap = in_struct->advancedBlendCorrelatedOverlap;
19017 advancedBlendAllOperations = in_struct->advancedBlendAllOperations;
19018}
19019
19020void safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT::initialize(const safe_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT* src)
19021{
19022 sType = src->sType;
19023 pNext = src->pNext;
19024 advancedBlendMaxColorAttachments = src->advancedBlendMaxColorAttachments;
19025 advancedBlendIndependentBlend = src->advancedBlendIndependentBlend;
19026 advancedBlendNonPremultipliedSrcColor = src->advancedBlendNonPremultipliedSrcColor;
19027 advancedBlendNonPremultipliedDstColor = src->advancedBlendNonPremultipliedDstColor;
19028 advancedBlendCorrelatedOverlap = src->advancedBlendCorrelatedOverlap;
19029 advancedBlendAllOperations = src->advancedBlendAllOperations;
19030}
19031
19032safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT::safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT(const VkPipelineColorBlendAdvancedStateCreateInfoEXT* in_struct) :
19033 sType(in_struct->sType),
19034 pNext(in_struct->pNext),
19035 srcPremultiplied(in_struct->srcPremultiplied),
19036 dstPremultiplied(in_struct->dstPremultiplied),
19037 blendOverlap(in_struct->blendOverlap)
19038{
19039}
19040
19041safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT::safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT()
19042{}
19043
19044safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT::safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT(const safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT& src)
19045{
19046 sType = src.sType;
19047 pNext = src.pNext;
19048 srcPremultiplied = src.srcPremultiplied;
19049 dstPremultiplied = src.dstPremultiplied;
19050 blendOverlap = src.blendOverlap;
19051}
19052
19053safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT& safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT::operator=(const safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT& src)
19054{
19055 if (&src == this) return *this;
19056
19057
19058 sType = src.sType;
19059 pNext = src.pNext;
19060 srcPremultiplied = src.srcPremultiplied;
19061 dstPremultiplied = src.dstPremultiplied;
19062 blendOverlap = src.blendOverlap;
19063
19064 return *this;
19065}
19066
19067safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT::~safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT()
19068{
19069}
19070
19071void safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT::initialize(const VkPipelineColorBlendAdvancedStateCreateInfoEXT* in_struct)
19072{
19073 sType = in_struct->sType;
19074 pNext = in_struct->pNext;
19075 srcPremultiplied = in_struct->srcPremultiplied;
19076 dstPremultiplied = in_struct->dstPremultiplied;
19077 blendOverlap = in_struct->blendOverlap;
19078}
19079
19080void safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT::initialize(const safe_VkPipelineColorBlendAdvancedStateCreateInfoEXT* src)
19081{
19082 sType = src->sType;
19083 pNext = src->pNext;
19084 srcPremultiplied = src->srcPremultiplied;
19085 dstPremultiplied = src->dstPremultiplied;
19086 blendOverlap = src->blendOverlap;
19087}
19088
19089safe_VkPipelineCoverageToColorStateCreateInfoNV::safe_VkPipelineCoverageToColorStateCreateInfoNV(const VkPipelineCoverageToColorStateCreateInfoNV* in_struct) :
19090 sType(in_struct->sType),
19091 pNext(in_struct->pNext),
19092 flags(in_struct->flags),
19093 coverageToColorEnable(in_struct->coverageToColorEnable),
19094 coverageToColorLocation(in_struct->coverageToColorLocation)
19095{
19096}
19097
19098safe_VkPipelineCoverageToColorStateCreateInfoNV::safe_VkPipelineCoverageToColorStateCreateInfoNV()
19099{}
19100
19101safe_VkPipelineCoverageToColorStateCreateInfoNV::safe_VkPipelineCoverageToColorStateCreateInfoNV(const safe_VkPipelineCoverageToColorStateCreateInfoNV& src)
19102{
19103 sType = src.sType;
19104 pNext = src.pNext;
19105 flags = src.flags;
19106 coverageToColorEnable = src.coverageToColorEnable;
19107 coverageToColorLocation = src.coverageToColorLocation;
19108}
19109
19110safe_VkPipelineCoverageToColorStateCreateInfoNV& safe_VkPipelineCoverageToColorStateCreateInfoNV::operator=(const safe_VkPipelineCoverageToColorStateCreateInfoNV& src)
19111{
19112 if (&src == this) return *this;
19113
19114
19115 sType = src.sType;
19116 pNext = src.pNext;
19117 flags = src.flags;
19118 coverageToColorEnable = src.coverageToColorEnable;
19119 coverageToColorLocation = src.coverageToColorLocation;
19120
19121 return *this;
19122}
19123
19124safe_VkPipelineCoverageToColorStateCreateInfoNV::~safe_VkPipelineCoverageToColorStateCreateInfoNV()
19125{
19126}
19127
19128void safe_VkPipelineCoverageToColorStateCreateInfoNV::initialize(const VkPipelineCoverageToColorStateCreateInfoNV* in_struct)
19129{
19130 sType = in_struct->sType;
19131 pNext = in_struct->pNext;
19132 flags = in_struct->flags;
19133 coverageToColorEnable = in_struct->coverageToColorEnable;
19134 coverageToColorLocation = in_struct->coverageToColorLocation;
19135}
19136
19137void safe_VkPipelineCoverageToColorStateCreateInfoNV::initialize(const safe_VkPipelineCoverageToColorStateCreateInfoNV* src)
19138{
19139 sType = src->sType;
19140 pNext = src->pNext;
19141 flags = src->flags;
19142 coverageToColorEnable = src->coverageToColorEnable;
19143 coverageToColorLocation = src->coverageToColorLocation;
19144}
19145
19146safe_VkPipelineCoverageModulationStateCreateInfoNV::safe_VkPipelineCoverageModulationStateCreateInfoNV(const VkPipelineCoverageModulationStateCreateInfoNV* in_struct) :
19147 sType(in_struct->sType),
19148 pNext(in_struct->pNext),
19149 flags(in_struct->flags),
19150 coverageModulationMode(in_struct->coverageModulationMode),
19151 coverageModulationTableEnable(in_struct->coverageModulationTableEnable),
19152 coverageModulationTableCount(in_struct->coverageModulationTableCount),
19153 pCoverageModulationTable(nullptr)
19154{
19155 if (in_struct->pCoverageModulationTable) {
19156 pCoverageModulationTable = new float[in_struct->coverageModulationTableCount];
19157 memcpy ((void *)pCoverageModulationTable, (void *)in_struct->pCoverageModulationTable, sizeof(float)*in_struct->coverageModulationTableCount);
19158 }
19159}
19160
19161safe_VkPipelineCoverageModulationStateCreateInfoNV::safe_VkPipelineCoverageModulationStateCreateInfoNV() :
19162 pCoverageModulationTable(nullptr)
19163{}
19164
19165safe_VkPipelineCoverageModulationStateCreateInfoNV::safe_VkPipelineCoverageModulationStateCreateInfoNV(const safe_VkPipelineCoverageModulationStateCreateInfoNV& src)
19166{
19167 sType = src.sType;
19168 pNext = src.pNext;
19169 flags = src.flags;
19170 coverageModulationMode = src.coverageModulationMode;
19171 coverageModulationTableEnable = src.coverageModulationTableEnable;
19172 coverageModulationTableCount = src.coverageModulationTableCount;
19173 pCoverageModulationTable = nullptr;
19174 if (src.pCoverageModulationTable) {
19175 pCoverageModulationTable = new float[src.coverageModulationTableCount];
19176 memcpy ((void *)pCoverageModulationTable, (void *)src.pCoverageModulationTable, sizeof(float)*src.coverageModulationTableCount);
19177 }
19178}
19179
19180safe_VkPipelineCoverageModulationStateCreateInfoNV& safe_VkPipelineCoverageModulationStateCreateInfoNV::operator=(const safe_VkPipelineCoverageModulationStateCreateInfoNV& src)
19181{
19182 if (&src == this) return *this;
19183
19184 if (pCoverageModulationTable)
19185 delete[] pCoverageModulationTable;
19186
19187 sType = src.sType;
19188 pNext = src.pNext;
19189 flags = src.flags;
19190 coverageModulationMode = src.coverageModulationMode;
19191 coverageModulationTableEnable = src.coverageModulationTableEnable;
19192 coverageModulationTableCount = src.coverageModulationTableCount;
19193 pCoverageModulationTable = nullptr;
19194 if (src.pCoverageModulationTable) {
19195 pCoverageModulationTable = new float[src.coverageModulationTableCount];
19196 memcpy ((void *)pCoverageModulationTable, (void *)src.pCoverageModulationTable, sizeof(float)*src.coverageModulationTableCount);
19197 }
19198
19199 return *this;
19200}
19201
19202safe_VkPipelineCoverageModulationStateCreateInfoNV::~safe_VkPipelineCoverageModulationStateCreateInfoNV()
19203{
19204 if (pCoverageModulationTable)
19205 delete[] pCoverageModulationTable;
19206}
19207
19208void safe_VkPipelineCoverageModulationStateCreateInfoNV::initialize(const VkPipelineCoverageModulationStateCreateInfoNV* in_struct)
19209{
19210 sType = in_struct->sType;
19211 pNext = in_struct->pNext;
19212 flags = in_struct->flags;
19213 coverageModulationMode = in_struct->coverageModulationMode;
19214 coverageModulationTableEnable = in_struct->coverageModulationTableEnable;
19215 coverageModulationTableCount = in_struct->coverageModulationTableCount;
19216 pCoverageModulationTable = nullptr;
19217 if (in_struct->pCoverageModulationTable) {
19218 pCoverageModulationTable = new float[in_struct->coverageModulationTableCount];
19219 memcpy ((void *)pCoverageModulationTable, (void *)in_struct->pCoverageModulationTable, sizeof(float)*in_struct->coverageModulationTableCount);
19220 }
19221}
19222
19223void safe_VkPipelineCoverageModulationStateCreateInfoNV::initialize(const safe_VkPipelineCoverageModulationStateCreateInfoNV* src)
19224{
19225 sType = src->sType;
19226 pNext = src->pNext;
19227 flags = src->flags;
19228 coverageModulationMode = src->coverageModulationMode;
19229 coverageModulationTableEnable = src->coverageModulationTableEnable;
19230 coverageModulationTableCount = src->coverageModulationTableCount;
19231 pCoverageModulationTable = nullptr;
19232 if (src->pCoverageModulationTable) {
19233 pCoverageModulationTable = new float[src->coverageModulationTableCount];
19234 memcpy ((void *)pCoverageModulationTable, (void *)src->pCoverageModulationTable, sizeof(float)*src->coverageModulationTableCount);
19235 }
19236}
19237
19238safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV::safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV(const VkPhysicalDeviceShaderSMBuiltinsPropertiesNV* in_struct) :
19239 sType(in_struct->sType),
19240 pNext(in_struct->pNext),
19241 shaderSMCount(in_struct->shaderSMCount),
19242 shaderWarpsPerSM(in_struct->shaderWarpsPerSM)
19243{
19244}
19245
19246safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV::safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV()
19247{}
19248
19249safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV::safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV(const safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV& src)
19250{
19251 sType = src.sType;
19252 pNext = src.pNext;
19253 shaderSMCount = src.shaderSMCount;
19254 shaderWarpsPerSM = src.shaderWarpsPerSM;
19255}
19256
19257safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV& safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV::operator=(const safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV& src)
19258{
19259 if (&src == this) return *this;
19260
19261
19262 sType = src.sType;
19263 pNext = src.pNext;
19264 shaderSMCount = src.shaderSMCount;
19265 shaderWarpsPerSM = src.shaderWarpsPerSM;
19266
19267 return *this;
19268}
19269
19270safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV::~safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV()
19271{
19272}
19273
19274void safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV::initialize(const VkPhysicalDeviceShaderSMBuiltinsPropertiesNV* in_struct)
19275{
19276 sType = in_struct->sType;
19277 pNext = in_struct->pNext;
19278 shaderSMCount = in_struct->shaderSMCount;
19279 shaderWarpsPerSM = in_struct->shaderWarpsPerSM;
19280}
19281
19282void safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV::initialize(const safe_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV* src)
19283{
19284 sType = src->sType;
19285 pNext = src->pNext;
19286 shaderSMCount = src->shaderSMCount;
19287 shaderWarpsPerSM = src->shaderWarpsPerSM;
19288}
19289
19290safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV(const VkPhysicalDeviceShaderSMBuiltinsFeaturesNV* in_struct) :
19291 sType(in_struct->sType),
19292 pNext(in_struct->pNext),
19293 shaderSMBuiltins(in_struct->shaderSMBuiltins)
19294{
19295}
19296
19297safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV()
19298{}
19299
19300safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV(const safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV& src)
19301{
19302 sType = src.sType;
19303 pNext = src.pNext;
19304 shaderSMBuiltins = src.shaderSMBuiltins;
19305}
19306
19307safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV& safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::operator=(const safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV& src)
19308{
19309 if (&src == this) return *this;
19310
19311
19312 sType = src.sType;
19313 pNext = src.pNext;
19314 shaderSMBuiltins = src.shaderSMBuiltins;
19315
19316 return *this;
19317}
19318
19319safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::~safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV()
19320{
19321}
19322
19323void safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::initialize(const VkPhysicalDeviceShaderSMBuiltinsFeaturesNV* in_struct)
19324{
19325 sType = in_struct->sType;
19326 pNext = in_struct->pNext;
19327 shaderSMBuiltins = in_struct->shaderSMBuiltins;
19328}
19329
19330void safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::initialize(const safe_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV* src)
19331{
19332 sType = src->sType;
19333 pNext = src->pNext;
19334 shaderSMBuiltins = src->shaderSMBuiltins;
19335}
19336
19337safe_VkDrmFormatModifierPropertiesListEXT::safe_VkDrmFormatModifierPropertiesListEXT(const VkDrmFormatModifierPropertiesListEXT* in_struct) :
19338 sType(in_struct->sType),
19339 pNext(in_struct->pNext),
19340 drmFormatModifierCount(in_struct->drmFormatModifierCount),
19341 pDrmFormatModifierProperties(nullptr)
19342{
19343 if (in_struct->pDrmFormatModifierProperties) {
19344 pDrmFormatModifierProperties = new VkDrmFormatModifierPropertiesEXT[in_struct->drmFormatModifierCount];
19345 memcpy ((void *)pDrmFormatModifierProperties, (void *)in_struct->pDrmFormatModifierProperties, sizeof(VkDrmFormatModifierPropertiesEXT)*in_struct->drmFormatModifierCount);
19346 }
19347}
19348
19349safe_VkDrmFormatModifierPropertiesListEXT::safe_VkDrmFormatModifierPropertiesListEXT() :
19350 pDrmFormatModifierProperties(nullptr)
19351{}
19352
19353safe_VkDrmFormatModifierPropertiesListEXT::safe_VkDrmFormatModifierPropertiesListEXT(const safe_VkDrmFormatModifierPropertiesListEXT& src)
19354{
19355 sType = src.sType;
19356 pNext = src.pNext;
19357 drmFormatModifierCount = src.drmFormatModifierCount;
19358 pDrmFormatModifierProperties = nullptr;
19359 if (src.pDrmFormatModifierProperties) {
19360 pDrmFormatModifierProperties = new VkDrmFormatModifierPropertiesEXT[src.drmFormatModifierCount];
19361 memcpy ((void *)pDrmFormatModifierProperties, (void *)src.pDrmFormatModifierProperties, sizeof(VkDrmFormatModifierPropertiesEXT)*src.drmFormatModifierCount);
19362 }
19363}
19364
19365safe_VkDrmFormatModifierPropertiesListEXT& safe_VkDrmFormatModifierPropertiesListEXT::operator=(const safe_VkDrmFormatModifierPropertiesListEXT& src)
19366{
19367 if (&src == this) return *this;
19368
19369 if (pDrmFormatModifierProperties)
19370 delete[] pDrmFormatModifierProperties;
19371
19372 sType = src.sType;
19373 pNext = src.pNext;
19374 drmFormatModifierCount = src.drmFormatModifierCount;
19375 pDrmFormatModifierProperties = nullptr;
19376 if (src.pDrmFormatModifierProperties) {
19377 pDrmFormatModifierProperties = new VkDrmFormatModifierPropertiesEXT[src.drmFormatModifierCount];
19378 memcpy ((void *)pDrmFormatModifierProperties, (void *)src.pDrmFormatModifierProperties, sizeof(VkDrmFormatModifierPropertiesEXT)*src.drmFormatModifierCount);
19379 }
19380
19381 return *this;
19382}
19383
19384safe_VkDrmFormatModifierPropertiesListEXT::~safe_VkDrmFormatModifierPropertiesListEXT()
19385{
19386 if (pDrmFormatModifierProperties)
19387 delete[] pDrmFormatModifierProperties;
19388}
19389
19390void safe_VkDrmFormatModifierPropertiesListEXT::initialize(const VkDrmFormatModifierPropertiesListEXT* in_struct)
19391{
19392 sType = in_struct->sType;
19393 pNext = in_struct->pNext;
19394 drmFormatModifierCount = in_struct->drmFormatModifierCount;
19395 pDrmFormatModifierProperties = nullptr;
19396 if (in_struct->pDrmFormatModifierProperties) {
19397 pDrmFormatModifierProperties = new VkDrmFormatModifierPropertiesEXT[in_struct->drmFormatModifierCount];
19398 memcpy ((void *)pDrmFormatModifierProperties, (void *)in_struct->pDrmFormatModifierProperties, sizeof(VkDrmFormatModifierPropertiesEXT)*in_struct->drmFormatModifierCount);
19399 }
19400}
19401
19402void safe_VkDrmFormatModifierPropertiesListEXT::initialize(const safe_VkDrmFormatModifierPropertiesListEXT* src)
19403{
19404 sType = src->sType;
19405 pNext = src->pNext;
19406 drmFormatModifierCount = src->drmFormatModifierCount;
19407 pDrmFormatModifierProperties = nullptr;
19408 if (src->pDrmFormatModifierProperties) {
19409 pDrmFormatModifierProperties = new VkDrmFormatModifierPropertiesEXT[src->drmFormatModifierCount];
19410 memcpy ((void *)pDrmFormatModifierProperties, (void *)src->pDrmFormatModifierProperties, sizeof(VkDrmFormatModifierPropertiesEXT)*src->drmFormatModifierCount);
19411 }
19412}
19413
19414safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT::safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT(const VkPhysicalDeviceImageDrmFormatModifierInfoEXT* in_struct) :
19415 sType(in_struct->sType),
19416 pNext(in_struct->pNext),
19417 drmFormatModifier(in_struct->drmFormatModifier),
19418 sharingMode(in_struct->sharingMode),
19419 queueFamilyIndexCount(in_struct->queueFamilyIndexCount),
19420 pQueueFamilyIndices(nullptr)
19421{
19422 if (in_struct->pQueueFamilyIndices) {
19423 pQueueFamilyIndices = new uint32_t[in_struct->queueFamilyIndexCount];
19424 memcpy ((void *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount);
19425 }
19426}
19427
19428safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT::safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT() :
19429 pQueueFamilyIndices(nullptr)
19430{}
19431
19432safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT::safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT(const safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT& src)
19433{
19434 sType = src.sType;
19435 pNext = src.pNext;
19436 drmFormatModifier = src.drmFormatModifier;
19437 sharingMode = src.sharingMode;
19438 queueFamilyIndexCount = src.queueFamilyIndexCount;
19439 pQueueFamilyIndices = nullptr;
19440 if (src.pQueueFamilyIndices) {
19441 pQueueFamilyIndices = new uint32_t[src.queueFamilyIndexCount];
19442 memcpy ((void *)pQueueFamilyIndices, (void *)src.pQueueFamilyIndices, sizeof(uint32_t)*src.queueFamilyIndexCount);
19443 }
19444}
19445
19446safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT& safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT::operator=(const safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT& src)
19447{
19448 if (&src == this) return *this;
19449
19450 if (pQueueFamilyIndices)
19451 delete[] pQueueFamilyIndices;
19452
19453 sType = src.sType;
19454 pNext = src.pNext;
19455 drmFormatModifier = src.drmFormatModifier;
19456 sharingMode = src.sharingMode;
19457 queueFamilyIndexCount = src.queueFamilyIndexCount;
19458 pQueueFamilyIndices = nullptr;
19459 if (src.pQueueFamilyIndices) {
19460 pQueueFamilyIndices = new uint32_t[src.queueFamilyIndexCount];
19461 memcpy ((void *)pQueueFamilyIndices, (void *)src.pQueueFamilyIndices, sizeof(uint32_t)*src.queueFamilyIndexCount);
19462 }
19463
19464 return *this;
19465}
19466
19467safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT::~safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT()
19468{
19469 if (pQueueFamilyIndices)
19470 delete[] pQueueFamilyIndices;
19471}
19472
19473void safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT::initialize(const VkPhysicalDeviceImageDrmFormatModifierInfoEXT* in_struct)
19474{
19475 sType = in_struct->sType;
19476 pNext = in_struct->pNext;
19477 drmFormatModifier = in_struct->drmFormatModifier;
19478 sharingMode = in_struct->sharingMode;
19479 queueFamilyIndexCount = in_struct->queueFamilyIndexCount;
19480 pQueueFamilyIndices = nullptr;
19481 if (in_struct->pQueueFamilyIndices) {
19482 pQueueFamilyIndices = new uint32_t[in_struct->queueFamilyIndexCount];
19483 memcpy ((void *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount);
19484 }
19485}
19486
19487void safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT::initialize(const safe_VkPhysicalDeviceImageDrmFormatModifierInfoEXT* src)
19488{
19489 sType = src->sType;
19490 pNext = src->pNext;
19491 drmFormatModifier = src->drmFormatModifier;
19492 sharingMode = src->sharingMode;
19493 queueFamilyIndexCount = src->queueFamilyIndexCount;
19494 pQueueFamilyIndices = nullptr;
19495 if (src->pQueueFamilyIndices) {
19496 pQueueFamilyIndices = new uint32_t[src->queueFamilyIndexCount];
19497 memcpy ((void *)pQueueFamilyIndices, (void *)src->pQueueFamilyIndices, sizeof(uint32_t)*src->queueFamilyIndexCount);
19498 }
19499}
19500
19501safe_VkImageDrmFormatModifierListCreateInfoEXT::safe_VkImageDrmFormatModifierListCreateInfoEXT(const VkImageDrmFormatModifierListCreateInfoEXT* in_struct) :
19502 sType(in_struct->sType),
19503 pNext(in_struct->pNext),
19504 drmFormatModifierCount(in_struct->drmFormatModifierCount),
19505 pDrmFormatModifiers(nullptr)
19506{
19507 if (in_struct->pDrmFormatModifiers) {
19508 pDrmFormatModifiers = new uint64_t[in_struct->drmFormatModifierCount];
19509 memcpy ((void *)pDrmFormatModifiers, (void *)in_struct->pDrmFormatModifiers, sizeof(uint64_t)*in_struct->drmFormatModifierCount);
19510 }
19511}
19512
19513safe_VkImageDrmFormatModifierListCreateInfoEXT::safe_VkImageDrmFormatModifierListCreateInfoEXT() :
19514 pDrmFormatModifiers(nullptr)
19515{}
19516
19517safe_VkImageDrmFormatModifierListCreateInfoEXT::safe_VkImageDrmFormatModifierListCreateInfoEXT(const safe_VkImageDrmFormatModifierListCreateInfoEXT& src)
19518{
19519 sType = src.sType;
19520 pNext = src.pNext;
19521 drmFormatModifierCount = src.drmFormatModifierCount;
19522 pDrmFormatModifiers = nullptr;
19523 if (src.pDrmFormatModifiers) {
19524 pDrmFormatModifiers = new uint64_t[src.drmFormatModifierCount];
19525 memcpy ((void *)pDrmFormatModifiers, (void *)src.pDrmFormatModifiers, sizeof(uint64_t)*src.drmFormatModifierCount);
19526 }
19527}
19528
19529safe_VkImageDrmFormatModifierListCreateInfoEXT& safe_VkImageDrmFormatModifierListCreateInfoEXT::operator=(const safe_VkImageDrmFormatModifierListCreateInfoEXT& src)
19530{
19531 if (&src == this) return *this;
19532
19533 if (pDrmFormatModifiers)
19534 delete[] pDrmFormatModifiers;
19535
19536 sType = src.sType;
19537 pNext = src.pNext;
19538 drmFormatModifierCount = src.drmFormatModifierCount;
19539 pDrmFormatModifiers = nullptr;
19540 if (src.pDrmFormatModifiers) {
19541 pDrmFormatModifiers = new uint64_t[src.drmFormatModifierCount];
19542 memcpy ((void *)pDrmFormatModifiers, (void *)src.pDrmFormatModifiers, sizeof(uint64_t)*src.drmFormatModifierCount);
19543 }
19544
19545 return *this;
19546}
19547
19548safe_VkImageDrmFormatModifierListCreateInfoEXT::~safe_VkImageDrmFormatModifierListCreateInfoEXT()
19549{
19550 if (pDrmFormatModifiers)
19551 delete[] pDrmFormatModifiers;
19552}
19553
19554void safe_VkImageDrmFormatModifierListCreateInfoEXT::initialize(const VkImageDrmFormatModifierListCreateInfoEXT* in_struct)
19555{
19556 sType = in_struct->sType;
19557 pNext = in_struct->pNext;
19558 drmFormatModifierCount = in_struct->drmFormatModifierCount;
19559 pDrmFormatModifiers = nullptr;
19560 if (in_struct->pDrmFormatModifiers) {
19561 pDrmFormatModifiers = new uint64_t[in_struct->drmFormatModifierCount];
19562 memcpy ((void *)pDrmFormatModifiers, (void *)in_struct->pDrmFormatModifiers, sizeof(uint64_t)*in_struct->drmFormatModifierCount);
19563 }
19564}
19565
19566void safe_VkImageDrmFormatModifierListCreateInfoEXT::initialize(const safe_VkImageDrmFormatModifierListCreateInfoEXT* src)
19567{
19568 sType = src->sType;
19569 pNext = src->pNext;
19570 drmFormatModifierCount = src->drmFormatModifierCount;
19571 pDrmFormatModifiers = nullptr;
19572 if (src->pDrmFormatModifiers) {
19573 pDrmFormatModifiers = new uint64_t[src->drmFormatModifierCount];
19574 memcpy ((void *)pDrmFormatModifiers, (void *)src->pDrmFormatModifiers, sizeof(uint64_t)*src->drmFormatModifierCount);
19575 }
19576}
19577
19578safe_VkImageDrmFormatModifierExplicitCreateInfoEXT::safe_VkImageDrmFormatModifierExplicitCreateInfoEXT(const VkImageDrmFormatModifierExplicitCreateInfoEXT* in_struct) :
19579 sType(in_struct->sType),
19580 pNext(in_struct->pNext),
19581 drmFormatModifier(in_struct->drmFormatModifier),
19582 drmFormatModifierPlaneCount(in_struct->drmFormatModifierPlaneCount),
19583 pPlaneLayouts(nullptr)
19584{
19585 if (in_struct->pPlaneLayouts) {
19586 pPlaneLayouts = new VkSubresourceLayout[in_struct->drmFormatModifierPlaneCount];
19587 memcpy ((void *)pPlaneLayouts, (void *)in_struct->pPlaneLayouts, sizeof(VkSubresourceLayout)*in_struct->drmFormatModifierPlaneCount);
19588 }
19589}
19590
19591safe_VkImageDrmFormatModifierExplicitCreateInfoEXT::safe_VkImageDrmFormatModifierExplicitCreateInfoEXT() :
19592 pPlaneLayouts(nullptr)
19593{}
19594
19595safe_VkImageDrmFormatModifierExplicitCreateInfoEXT::safe_VkImageDrmFormatModifierExplicitCreateInfoEXT(const safe_VkImageDrmFormatModifierExplicitCreateInfoEXT& src)
19596{
19597 sType = src.sType;
19598 pNext = src.pNext;
19599 drmFormatModifier = src.drmFormatModifier;
19600 drmFormatModifierPlaneCount = src.drmFormatModifierPlaneCount;
19601 pPlaneLayouts = nullptr;
19602 if (src.pPlaneLayouts) {
19603 pPlaneLayouts = new VkSubresourceLayout[src.drmFormatModifierPlaneCount];
19604 memcpy ((void *)pPlaneLayouts, (void *)src.pPlaneLayouts, sizeof(VkSubresourceLayout)*src.drmFormatModifierPlaneCount);
19605 }
19606}
19607
19608safe_VkImageDrmFormatModifierExplicitCreateInfoEXT& safe_VkImageDrmFormatModifierExplicitCreateInfoEXT::operator=(const safe_VkImageDrmFormatModifierExplicitCreateInfoEXT& src)
19609{
19610 if (&src == this) return *this;
19611
19612 if (pPlaneLayouts)
19613 delete[] pPlaneLayouts;
19614
19615 sType = src.sType;
19616 pNext = src.pNext;
19617 drmFormatModifier = src.drmFormatModifier;
19618 drmFormatModifierPlaneCount = src.drmFormatModifierPlaneCount;
19619 pPlaneLayouts = nullptr;
19620 if (src.pPlaneLayouts) {
19621 pPlaneLayouts = new VkSubresourceLayout[src.drmFormatModifierPlaneCount];
19622 memcpy ((void *)pPlaneLayouts, (void *)src.pPlaneLayouts, sizeof(VkSubresourceLayout)*src.drmFormatModifierPlaneCount);
19623 }
19624
19625 return *this;
19626}
19627
19628safe_VkImageDrmFormatModifierExplicitCreateInfoEXT::~safe_VkImageDrmFormatModifierExplicitCreateInfoEXT()
19629{
19630 if (pPlaneLayouts)
19631 delete[] pPlaneLayouts;
19632}
19633
19634void safe_VkImageDrmFormatModifierExplicitCreateInfoEXT::initialize(const VkImageDrmFormatModifierExplicitCreateInfoEXT* in_struct)
19635{
19636 sType = in_struct->sType;
19637 pNext = in_struct->pNext;
19638 drmFormatModifier = in_struct->drmFormatModifier;
19639 drmFormatModifierPlaneCount = in_struct->drmFormatModifierPlaneCount;
19640 pPlaneLayouts = nullptr;
19641 if (in_struct->pPlaneLayouts) {
19642 pPlaneLayouts = new VkSubresourceLayout[in_struct->drmFormatModifierPlaneCount];
19643 memcpy ((void *)pPlaneLayouts, (void *)in_struct->pPlaneLayouts, sizeof(VkSubresourceLayout)*in_struct->drmFormatModifierPlaneCount);
19644 }
19645}
19646
19647void safe_VkImageDrmFormatModifierExplicitCreateInfoEXT::initialize(const safe_VkImageDrmFormatModifierExplicitCreateInfoEXT* src)
19648{
19649 sType = src->sType;
19650 pNext = src->pNext;
19651 drmFormatModifier = src->drmFormatModifier;
19652 drmFormatModifierPlaneCount = src->drmFormatModifierPlaneCount;
19653 pPlaneLayouts = nullptr;
19654 if (src->pPlaneLayouts) {
19655 pPlaneLayouts = new VkSubresourceLayout[src->drmFormatModifierPlaneCount];
19656 memcpy ((void *)pPlaneLayouts, (void *)src->pPlaneLayouts, sizeof(VkSubresourceLayout)*src->drmFormatModifierPlaneCount);
19657 }
19658}
19659
19660safe_VkImageDrmFormatModifierPropertiesEXT::safe_VkImageDrmFormatModifierPropertiesEXT(const VkImageDrmFormatModifierPropertiesEXT* in_struct) :
19661 sType(in_struct->sType),
19662 pNext(in_struct->pNext),
19663 drmFormatModifier(in_struct->drmFormatModifier)
19664{
19665}
19666
19667safe_VkImageDrmFormatModifierPropertiesEXT::safe_VkImageDrmFormatModifierPropertiesEXT()
19668{}
19669
19670safe_VkImageDrmFormatModifierPropertiesEXT::safe_VkImageDrmFormatModifierPropertiesEXT(const safe_VkImageDrmFormatModifierPropertiesEXT& src)
19671{
19672 sType = src.sType;
19673 pNext = src.pNext;
19674 drmFormatModifier = src.drmFormatModifier;
19675}
19676
19677safe_VkImageDrmFormatModifierPropertiesEXT& safe_VkImageDrmFormatModifierPropertiesEXT::operator=(const safe_VkImageDrmFormatModifierPropertiesEXT& src)
19678{
19679 if (&src == this) return *this;
19680
19681
19682 sType = src.sType;
19683 pNext = src.pNext;
19684 drmFormatModifier = src.drmFormatModifier;
19685
19686 return *this;
19687}
19688
19689safe_VkImageDrmFormatModifierPropertiesEXT::~safe_VkImageDrmFormatModifierPropertiesEXT()
19690{
19691}
19692
19693void safe_VkImageDrmFormatModifierPropertiesEXT::initialize(const VkImageDrmFormatModifierPropertiesEXT* in_struct)
19694{
19695 sType = in_struct->sType;
19696 pNext = in_struct->pNext;
19697 drmFormatModifier = in_struct->drmFormatModifier;
19698}
19699
19700void safe_VkImageDrmFormatModifierPropertiesEXT::initialize(const safe_VkImageDrmFormatModifierPropertiesEXT* src)
19701{
19702 sType = src->sType;
19703 pNext = src->pNext;
19704 drmFormatModifier = src->drmFormatModifier;
19705}
19706
19707safe_VkValidationCacheCreateInfoEXT::safe_VkValidationCacheCreateInfoEXT(const VkValidationCacheCreateInfoEXT* in_struct) :
19708 sType(in_struct->sType),
19709 pNext(in_struct->pNext),
19710 flags(in_struct->flags),
19711 initialDataSize(in_struct->initialDataSize),
19712 pInitialData(in_struct->pInitialData)
19713{
19714}
19715
19716safe_VkValidationCacheCreateInfoEXT::safe_VkValidationCacheCreateInfoEXT()
19717{}
19718
19719safe_VkValidationCacheCreateInfoEXT::safe_VkValidationCacheCreateInfoEXT(const safe_VkValidationCacheCreateInfoEXT& src)
19720{
19721 sType = src.sType;
19722 pNext = src.pNext;
19723 flags = src.flags;
19724 initialDataSize = src.initialDataSize;
19725 pInitialData = src.pInitialData;
19726}
19727
19728safe_VkValidationCacheCreateInfoEXT& safe_VkValidationCacheCreateInfoEXT::operator=(const safe_VkValidationCacheCreateInfoEXT& src)
19729{
19730 if (&src == this) return *this;
19731
19732
19733 sType = src.sType;
19734 pNext = src.pNext;
19735 flags = src.flags;
19736 initialDataSize = src.initialDataSize;
19737 pInitialData = src.pInitialData;
19738
19739 return *this;
19740}
19741
19742safe_VkValidationCacheCreateInfoEXT::~safe_VkValidationCacheCreateInfoEXT()
19743{
19744}
19745
19746void safe_VkValidationCacheCreateInfoEXT::initialize(const VkValidationCacheCreateInfoEXT* in_struct)
19747{
19748 sType = in_struct->sType;
19749 pNext = in_struct->pNext;
19750 flags = in_struct->flags;
19751 initialDataSize = in_struct->initialDataSize;
19752 pInitialData = in_struct->pInitialData;
19753}
19754
19755void safe_VkValidationCacheCreateInfoEXT::initialize(const safe_VkValidationCacheCreateInfoEXT* src)
19756{
19757 sType = src->sType;
19758 pNext = src->pNext;
19759 flags = src->flags;
19760 initialDataSize = src->initialDataSize;
19761 pInitialData = src->pInitialData;
19762}
19763
19764safe_VkShaderModuleValidationCacheCreateInfoEXT::safe_VkShaderModuleValidationCacheCreateInfoEXT(const VkShaderModuleValidationCacheCreateInfoEXT* in_struct) :
19765 sType(in_struct->sType),
19766 pNext(in_struct->pNext),
19767 validationCache(in_struct->validationCache)
19768{
19769}
19770
19771safe_VkShaderModuleValidationCacheCreateInfoEXT::safe_VkShaderModuleValidationCacheCreateInfoEXT()
19772{}
19773
19774safe_VkShaderModuleValidationCacheCreateInfoEXT::safe_VkShaderModuleValidationCacheCreateInfoEXT(const safe_VkShaderModuleValidationCacheCreateInfoEXT& src)
19775{
19776 sType = src.sType;
19777 pNext = src.pNext;
19778 validationCache = src.validationCache;
19779}
19780
19781safe_VkShaderModuleValidationCacheCreateInfoEXT& safe_VkShaderModuleValidationCacheCreateInfoEXT::operator=(const safe_VkShaderModuleValidationCacheCreateInfoEXT& src)
19782{
19783 if (&src == this) return *this;
19784
19785
19786 sType = src.sType;
19787 pNext = src.pNext;
19788 validationCache = src.validationCache;
19789
19790 return *this;
19791}
19792
19793safe_VkShaderModuleValidationCacheCreateInfoEXT::~safe_VkShaderModuleValidationCacheCreateInfoEXT()
19794{
19795}
19796
19797void safe_VkShaderModuleValidationCacheCreateInfoEXT::initialize(const VkShaderModuleValidationCacheCreateInfoEXT* in_struct)
19798{
19799 sType = in_struct->sType;
19800 pNext = in_struct->pNext;
19801 validationCache = in_struct->validationCache;
19802}
19803
19804void safe_VkShaderModuleValidationCacheCreateInfoEXT::initialize(const safe_VkShaderModuleValidationCacheCreateInfoEXT* src)
19805{
19806 sType = src->sType;
19807 pNext = src->pNext;
19808 validationCache = src->validationCache;
19809}
19810
19811safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT::safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT(const VkDescriptorSetLayoutBindingFlagsCreateInfoEXT* in_struct) :
19812 sType(in_struct->sType),
19813 pNext(in_struct->pNext),
19814 bindingCount(in_struct->bindingCount),
19815 pBindingFlags(nullptr)
19816{
19817 if (in_struct->pBindingFlags) {
19818 pBindingFlags = new VkDescriptorBindingFlagsEXT[in_struct->bindingCount];
19819 memcpy ((void *)pBindingFlags, (void *)in_struct->pBindingFlags, sizeof(VkDescriptorBindingFlagsEXT)*in_struct->bindingCount);
19820 }
19821}
19822
19823safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT::safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT() :
19824 pBindingFlags(nullptr)
19825{}
19826
19827safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT::safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT(const safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT& src)
19828{
19829 sType = src.sType;
19830 pNext = src.pNext;
19831 bindingCount = src.bindingCount;
19832 pBindingFlags = nullptr;
19833 if (src.pBindingFlags) {
19834 pBindingFlags = new VkDescriptorBindingFlagsEXT[src.bindingCount];
19835 memcpy ((void *)pBindingFlags, (void *)src.pBindingFlags, sizeof(VkDescriptorBindingFlagsEXT)*src.bindingCount);
19836 }
19837}
19838
19839safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT& safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT::operator=(const safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT& src)
19840{
19841 if (&src == this) return *this;
19842
19843 if (pBindingFlags)
19844 delete[] pBindingFlags;
19845
19846 sType = src.sType;
19847 pNext = src.pNext;
19848 bindingCount = src.bindingCount;
19849 pBindingFlags = nullptr;
19850 if (src.pBindingFlags) {
19851 pBindingFlags = new VkDescriptorBindingFlagsEXT[src.bindingCount];
19852 memcpy ((void *)pBindingFlags, (void *)src.pBindingFlags, sizeof(VkDescriptorBindingFlagsEXT)*src.bindingCount);
19853 }
19854
19855 return *this;
19856}
19857
19858safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT::~safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT()
19859{
19860 if (pBindingFlags)
19861 delete[] pBindingFlags;
19862}
19863
19864void safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT::initialize(const VkDescriptorSetLayoutBindingFlagsCreateInfoEXT* in_struct)
19865{
19866 sType = in_struct->sType;
19867 pNext = in_struct->pNext;
19868 bindingCount = in_struct->bindingCount;
19869 pBindingFlags = nullptr;
19870 if (in_struct->pBindingFlags) {
19871 pBindingFlags = new VkDescriptorBindingFlagsEXT[in_struct->bindingCount];
19872 memcpy ((void *)pBindingFlags, (void *)in_struct->pBindingFlags, sizeof(VkDescriptorBindingFlagsEXT)*in_struct->bindingCount);
19873 }
19874}
19875
19876void safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT::initialize(const safe_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT* src)
19877{
19878 sType = src->sType;
19879 pNext = src->pNext;
19880 bindingCount = src->bindingCount;
19881 pBindingFlags = nullptr;
19882 if (src->pBindingFlags) {
19883 pBindingFlags = new VkDescriptorBindingFlagsEXT[src->bindingCount];
19884 memcpy ((void *)pBindingFlags, (void *)src->pBindingFlags, sizeof(VkDescriptorBindingFlagsEXT)*src->bindingCount);
19885 }
19886}
19887
19888safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT::safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT(const VkPhysicalDeviceDescriptorIndexingFeaturesEXT* in_struct) :
19889 sType(in_struct->sType),
19890 pNext(in_struct->pNext),
19891 shaderInputAttachmentArrayDynamicIndexing(in_struct->shaderInputAttachmentArrayDynamicIndexing),
19892 shaderUniformTexelBufferArrayDynamicIndexing(in_struct->shaderUniformTexelBufferArrayDynamicIndexing),
19893 shaderStorageTexelBufferArrayDynamicIndexing(in_struct->shaderStorageTexelBufferArrayDynamicIndexing),
19894 shaderUniformBufferArrayNonUniformIndexing(in_struct->shaderUniformBufferArrayNonUniformIndexing),
19895 shaderSampledImageArrayNonUniformIndexing(in_struct->shaderSampledImageArrayNonUniformIndexing),
19896 shaderStorageBufferArrayNonUniformIndexing(in_struct->shaderStorageBufferArrayNonUniformIndexing),
19897 shaderStorageImageArrayNonUniformIndexing(in_struct->shaderStorageImageArrayNonUniformIndexing),
19898 shaderInputAttachmentArrayNonUniformIndexing(in_struct->shaderInputAttachmentArrayNonUniformIndexing),
19899 shaderUniformTexelBufferArrayNonUniformIndexing(in_struct->shaderUniformTexelBufferArrayNonUniformIndexing),
19900 shaderStorageTexelBufferArrayNonUniformIndexing(in_struct->shaderStorageTexelBufferArrayNonUniformIndexing),
19901 descriptorBindingUniformBufferUpdateAfterBind(in_struct->descriptorBindingUniformBufferUpdateAfterBind),
19902 descriptorBindingSampledImageUpdateAfterBind(in_struct->descriptorBindingSampledImageUpdateAfterBind),
19903 descriptorBindingStorageImageUpdateAfterBind(in_struct->descriptorBindingStorageImageUpdateAfterBind),
19904 descriptorBindingStorageBufferUpdateAfterBind(in_struct->descriptorBindingStorageBufferUpdateAfterBind),
19905 descriptorBindingUniformTexelBufferUpdateAfterBind(in_struct->descriptorBindingUniformTexelBufferUpdateAfterBind),
19906 descriptorBindingStorageTexelBufferUpdateAfterBind(in_struct->descriptorBindingStorageTexelBufferUpdateAfterBind),
19907 descriptorBindingUpdateUnusedWhilePending(in_struct->descriptorBindingUpdateUnusedWhilePending),
19908 descriptorBindingPartiallyBound(in_struct->descriptorBindingPartiallyBound),
19909 descriptorBindingVariableDescriptorCount(in_struct->descriptorBindingVariableDescriptorCount),
19910 runtimeDescriptorArray(in_struct->runtimeDescriptorArray)
19911{
19912}
19913
19914safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT::safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT()
19915{}
19916
19917safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT::safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT(const safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT& src)
19918{
19919 sType = src.sType;
19920 pNext = src.pNext;
19921 shaderInputAttachmentArrayDynamicIndexing = src.shaderInputAttachmentArrayDynamicIndexing;
19922 shaderUniformTexelBufferArrayDynamicIndexing = src.shaderUniformTexelBufferArrayDynamicIndexing;
19923 shaderStorageTexelBufferArrayDynamicIndexing = src.shaderStorageTexelBufferArrayDynamicIndexing;
19924 shaderUniformBufferArrayNonUniformIndexing = src.shaderUniformBufferArrayNonUniformIndexing;
19925 shaderSampledImageArrayNonUniformIndexing = src.shaderSampledImageArrayNonUniformIndexing;
19926 shaderStorageBufferArrayNonUniformIndexing = src.shaderStorageBufferArrayNonUniformIndexing;
19927 shaderStorageImageArrayNonUniformIndexing = src.shaderStorageImageArrayNonUniformIndexing;
19928 shaderInputAttachmentArrayNonUniformIndexing = src.shaderInputAttachmentArrayNonUniformIndexing;
19929 shaderUniformTexelBufferArrayNonUniformIndexing = src.shaderUniformTexelBufferArrayNonUniformIndexing;
19930 shaderStorageTexelBufferArrayNonUniformIndexing = src.shaderStorageTexelBufferArrayNonUniformIndexing;
19931 descriptorBindingUniformBufferUpdateAfterBind = src.descriptorBindingUniformBufferUpdateAfterBind;
19932 descriptorBindingSampledImageUpdateAfterBind = src.descriptorBindingSampledImageUpdateAfterBind;
19933 descriptorBindingStorageImageUpdateAfterBind = src.descriptorBindingStorageImageUpdateAfterBind;
19934 descriptorBindingStorageBufferUpdateAfterBind = src.descriptorBindingStorageBufferUpdateAfterBind;
19935 descriptorBindingUniformTexelBufferUpdateAfterBind = src.descriptorBindingUniformTexelBufferUpdateAfterBind;
19936 descriptorBindingStorageTexelBufferUpdateAfterBind = src.descriptorBindingStorageTexelBufferUpdateAfterBind;
19937 descriptorBindingUpdateUnusedWhilePending = src.descriptorBindingUpdateUnusedWhilePending;
19938 descriptorBindingPartiallyBound = src.descriptorBindingPartiallyBound;
19939 descriptorBindingVariableDescriptorCount = src.descriptorBindingVariableDescriptorCount;
19940 runtimeDescriptorArray = src.runtimeDescriptorArray;
19941}
19942
19943safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT& safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT::operator=(const safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT& src)
19944{
19945 if (&src == this) return *this;
19946
19947
19948 sType = src.sType;
19949 pNext = src.pNext;
19950 shaderInputAttachmentArrayDynamicIndexing = src.shaderInputAttachmentArrayDynamicIndexing;
19951 shaderUniformTexelBufferArrayDynamicIndexing = src.shaderUniformTexelBufferArrayDynamicIndexing;
19952 shaderStorageTexelBufferArrayDynamicIndexing = src.shaderStorageTexelBufferArrayDynamicIndexing;
19953 shaderUniformBufferArrayNonUniformIndexing = src.shaderUniformBufferArrayNonUniformIndexing;
19954 shaderSampledImageArrayNonUniformIndexing = src.shaderSampledImageArrayNonUniformIndexing;
19955 shaderStorageBufferArrayNonUniformIndexing = src.shaderStorageBufferArrayNonUniformIndexing;
19956 shaderStorageImageArrayNonUniformIndexing = src.shaderStorageImageArrayNonUniformIndexing;
19957 shaderInputAttachmentArrayNonUniformIndexing = src.shaderInputAttachmentArrayNonUniformIndexing;
19958 shaderUniformTexelBufferArrayNonUniformIndexing = src.shaderUniformTexelBufferArrayNonUniformIndexing;
19959 shaderStorageTexelBufferArrayNonUniformIndexing = src.shaderStorageTexelBufferArrayNonUniformIndexing;
19960 descriptorBindingUniformBufferUpdateAfterBind = src.descriptorBindingUniformBufferUpdateAfterBind;
19961 descriptorBindingSampledImageUpdateAfterBind = src.descriptorBindingSampledImageUpdateAfterBind;
19962 descriptorBindingStorageImageUpdateAfterBind = src.descriptorBindingStorageImageUpdateAfterBind;
19963 descriptorBindingStorageBufferUpdateAfterBind = src.descriptorBindingStorageBufferUpdateAfterBind;
19964 descriptorBindingUniformTexelBufferUpdateAfterBind = src.descriptorBindingUniformTexelBufferUpdateAfterBind;
19965 descriptorBindingStorageTexelBufferUpdateAfterBind = src.descriptorBindingStorageTexelBufferUpdateAfterBind;
19966 descriptorBindingUpdateUnusedWhilePending = src.descriptorBindingUpdateUnusedWhilePending;
19967 descriptorBindingPartiallyBound = src.descriptorBindingPartiallyBound;
19968 descriptorBindingVariableDescriptorCount = src.descriptorBindingVariableDescriptorCount;
19969 runtimeDescriptorArray = src.runtimeDescriptorArray;
19970
19971 return *this;
19972}
19973
19974safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT::~safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT()
19975{
19976}
19977
19978void safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT::initialize(const VkPhysicalDeviceDescriptorIndexingFeaturesEXT* in_struct)
19979{
19980 sType = in_struct->sType;
19981 pNext = in_struct->pNext;
19982 shaderInputAttachmentArrayDynamicIndexing = in_struct->shaderInputAttachmentArrayDynamicIndexing;
19983 shaderUniformTexelBufferArrayDynamicIndexing = in_struct->shaderUniformTexelBufferArrayDynamicIndexing;
19984 shaderStorageTexelBufferArrayDynamicIndexing = in_struct->shaderStorageTexelBufferArrayDynamicIndexing;
19985 shaderUniformBufferArrayNonUniformIndexing = in_struct->shaderUniformBufferArrayNonUniformIndexing;
19986 shaderSampledImageArrayNonUniformIndexing = in_struct->shaderSampledImageArrayNonUniformIndexing;
19987 shaderStorageBufferArrayNonUniformIndexing = in_struct->shaderStorageBufferArrayNonUniformIndexing;
19988 shaderStorageImageArrayNonUniformIndexing = in_struct->shaderStorageImageArrayNonUniformIndexing;
19989 shaderInputAttachmentArrayNonUniformIndexing = in_struct->shaderInputAttachmentArrayNonUniformIndexing;
19990 shaderUniformTexelBufferArrayNonUniformIndexing = in_struct->shaderUniformTexelBufferArrayNonUniformIndexing;
19991 shaderStorageTexelBufferArrayNonUniformIndexing = in_struct->shaderStorageTexelBufferArrayNonUniformIndexing;
19992 descriptorBindingUniformBufferUpdateAfterBind = in_struct->descriptorBindingUniformBufferUpdateAfterBind;
19993 descriptorBindingSampledImageUpdateAfterBind = in_struct->descriptorBindingSampledImageUpdateAfterBind;
19994 descriptorBindingStorageImageUpdateAfterBind = in_struct->descriptorBindingStorageImageUpdateAfterBind;
19995 descriptorBindingStorageBufferUpdateAfterBind = in_struct->descriptorBindingStorageBufferUpdateAfterBind;
19996 descriptorBindingUniformTexelBufferUpdateAfterBind = in_struct->descriptorBindingUniformTexelBufferUpdateAfterBind;
19997 descriptorBindingStorageTexelBufferUpdateAfterBind = in_struct->descriptorBindingStorageTexelBufferUpdateAfterBind;
19998 descriptorBindingUpdateUnusedWhilePending = in_struct->descriptorBindingUpdateUnusedWhilePending;
19999 descriptorBindingPartiallyBound = in_struct->descriptorBindingPartiallyBound;
20000 descriptorBindingVariableDescriptorCount = in_struct->descriptorBindingVariableDescriptorCount;
20001 runtimeDescriptorArray = in_struct->runtimeDescriptorArray;
20002}
20003
20004void safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT::initialize(const safe_VkPhysicalDeviceDescriptorIndexingFeaturesEXT* src)
20005{
20006 sType = src->sType;
20007 pNext = src->pNext;
20008 shaderInputAttachmentArrayDynamicIndexing = src->shaderInputAttachmentArrayDynamicIndexing;
20009 shaderUniformTexelBufferArrayDynamicIndexing = src->shaderUniformTexelBufferArrayDynamicIndexing;
20010 shaderStorageTexelBufferArrayDynamicIndexing = src->shaderStorageTexelBufferArrayDynamicIndexing;
20011 shaderUniformBufferArrayNonUniformIndexing = src->shaderUniformBufferArrayNonUniformIndexing;
20012 shaderSampledImageArrayNonUniformIndexing = src->shaderSampledImageArrayNonUniformIndexing;
20013 shaderStorageBufferArrayNonUniformIndexing = src->shaderStorageBufferArrayNonUniformIndexing;
20014 shaderStorageImageArrayNonUniformIndexing = src->shaderStorageImageArrayNonUniformIndexing;
20015 shaderInputAttachmentArrayNonUniformIndexing = src->shaderInputAttachmentArrayNonUniformIndexing;
20016 shaderUniformTexelBufferArrayNonUniformIndexing = src->shaderUniformTexelBufferArrayNonUniformIndexing;
20017 shaderStorageTexelBufferArrayNonUniformIndexing = src->shaderStorageTexelBufferArrayNonUniformIndexing;
20018 descriptorBindingUniformBufferUpdateAfterBind = src->descriptorBindingUniformBufferUpdateAfterBind;
20019 descriptorBindingSampledImageUpdateAfterBind = src->descriptorBindingSampledImageUpdateAfterBind;
20020 descriptorBindingStorageImageUpdateAfterBind = src->descriptorBindingStorageImageUpdateAfterBind;
20021 descriptorBindingStorageBufferUpdateAfterBind = src->descriptorBindingStorageBufferUpdateAfterBind;
20022 descriptorBindingUniformTexelBufferUpdateAfterBind = src->descriptorBindingUniformTexelBufferUpdateAfterBind;
20023 descriptorBindingStorageTexelBufferUpdateAfterBind = src->descriptorBindingStorageTexelBufferUpdateAfterBind;
20024 descriptorBindingUpdateUnusedWhilePending = src->descriptorBindingUpdateUnusedWhilePending;
20025 descriptorBindingPartiallyBound = src->descriptorBindingPartiallyBound;
20026 descriptorBindingVariableDescriptorCount = src->descriptorBindingVariableDescriptorCount;
20027 runtimeDescriptorArray = src->runtimeDescriptorArray;
20028}
20029
20030safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT::safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT(const VkPhysicalDeviceDescriptorIndexingPropertiesEXT* in_struct) :
20031 sType(in_struct->sType),
20032 pNext(in_struct->pNext),
20033 maxUpdateAfterBindDescriptorsInAllPools(in_struct->maxUpdateAfterBindDescriptorsInAllPools),
20034 shaderUniformBufferArrayNonUniformIndexingNative(in_struct->shaderUniformBufferArrayNonUniformIndexingNative),
20035 shaderSampledImageArrayNonUniformIndexingNative(in_struct->shaderSampledImageArrayNonUniformIndexingNative),
20036 shaderStorageBufferArrayNonUniformIndexingNative(in_struct->shaderStorageBufferArrayNonUniformIndexingNative),
20037 shaderStorageImageArrayNonUniformIndexingNative(in_struct->shaderStorageImageArrayNonUniformIndexingNative),
20038 shaderInputAttachmentArrayNonUniformIndexingNative(in_struct->shaderInputAttachmentArrayNonUniformIndexingNative),
20039 robustBufferAccessUpdateAfterBind(in_struct->robustBufferAccessUpdateAfterBind),
20040 quadDivergentImplicitLod(in_struct->quadDivergentImplicitLod),
20041 maxPerStageDescriptorUpdateAfterBindSamplers(in_struct->maxPerStageDescriptorUpdateAfterBindSamplers),
20042 maxPerStageDescriptorUpdateAfterBindUniformBuffers(in_struct->maxPerStageDescriptorUpdateAfterBindUniformBuffers),
20043 maxPerStageDescriptorUpdateAfterBindStorageBuffers(in_struct->maxPerStageDescriptorUpdateAfterBindStorageBuffers),
20044 maxPerStageDescriptorUpdateAfterBindSampledImages(in_struct->maxPerStageDescriptorUpdateAfterBindSampledImages),
20045 maxPerStageDescriptorUpdateAfterBindStorageImages(in_struct->maxPerStageDescriptorUpdateAfterBindStorageImages),
20046 maxPerStageDescriptorUpdateAfterBindInputAttachments(in_struct->maxPerStageDescriptorUpdateAfterBindInputAttachments),
20047 maxPerStageUpdateAfterBindResources(in_struct->maxPerStageUpdateAfterBindResources),
20048 maxDescriptorSetUpdateAfterBindSamplers(in_struct->maxDescriptorSetUpdateAfterBindSamplers),
20049 maxDescriptorSetUpdateAfterBindUniformBuffers(in_struct->maxDescriptorSetUpdateAfterBindUniformBuffers),
20050 maxDescriptorSetUpdateAfterBindUniformBuffersDynamic(in_struct->maxDescriptorSetUpdateAfterBindUniformBuffersDynamic),
20051 maxDescriptorSetUpdateAfterBindStorageBuffers(in_struct->maxDescriptorSetUpdateAfterBindStorageBuffers),
20052 maxDescriptorSetUpdateAfterBindStorageBuffersDynamic(in_struct->maxDescriptorSetUpdateAfterBindStorageBuffersDynamic),
20053 maxDescriptorSetUpdateAfterBindSampledImages(in_struct->maxDescriptorSetUpdateAfterBindSampledImages),
20054 maxDescriptorSetUpdateAfterBindStorageImages(in_struct->maxDescriptorSetUpdateAfterBindStorageImages),
20055 maxDescriptorSetUpdateAfterBindInputAttachments(in_struct->maxDescriptorSetUpdateAfterBindInputAttachments)
20056{
20057}
20058
20059safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT::safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT()
20060{}
20061
20062safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT::safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT(const safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT& src)
20063{
20064 sType = src.sType;
20065 pNext = src.pNext;
20066 maxUpdateAfterBindDescriptorsInAllPools = src.maxUpdateAfterBindDescriptorsInAllPools;
20067 shaderUniformBufferArrayNonUniformIndexingNative = src.shaderUniformBufferArrayNonUniformIndexingNative;
20068 shaderSampledImageArrayNonUniformIndexingNative = src.shaderSampledImageArrayNonUniformIndexingNative;
20069 shaderStorageBufferArrayNonUniformIndexingNative = src.shaderStorageBufferArrayNonUniformIndexingNative;
20070 shaderStorageImageArrayNonUniformIndexingNative = src.shaderStorageImageArrayNonUniformIndexingNative;
20071 shaderInputAttachmentArrayNonUniformIndexingNative = src.shaderInputAttachmentArrayNonUniformIndexingNative;
20072 robustBufferAccessUpdateAfterBind = src.robustBufferAccessUpdateAfterBind;
20073 quadDivergentImplicitLod = src.quadDivergentImplicitLod;
20074 maxPerStageDescriptorUpdateAfterBindSamplers = src.maxPerStageDescriptorUpdateAfterBindSamplers;
20075 maxPerStageDescriptorUpdateAfterBindUniformBuffers = src.maxPerStageDescriptorUpdateAfterBindUniformBuffers;
20076 maxPerStageDescriptorUpdateAfterBindStorageBuffers = src.maxPerStageDescriptorUpdateAfterBindStorageBuffers;
20077 maxPerStageDescriptorUpdateAfterBindSampledImages = src.maxPerStageDescriptorUpdateAfterBindSampledImages;
20078 maxPerStageDescriptorUpdateAfterBindStorageImages = src.maxPerStageDescriptorUpdateAfterBindStorageImages;
20079 maxPerStageDescriptorUpdateAfterBindInputAttachments = src.maxPerStageDescriptorUpdateAfterBindInputAttachments;
20080 maxPerStageUpdateAfterBindResources = src.maxPerStageUpdateAfterBindResources;
20081 maxDescriptorSetUpdateAfterBindSamplers = src.maxDescriptorSetUpdateAfterBindSamplers;
20082 maxDescriptorSetUpdateAfterBindUniformBuffers = src.maxDescriptorSetUpdateAfterBindUniformBuffers;
20083 maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = src.maxDescriptorSetUpdateAfterBindUniformBuffersDynamic;
20084 maxDescriptorSetUpdateAfterBindStorageBuffers = src.maxDescriptorSetUpdateAfterBindStorageBuffers;
20085 maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = src.maxDescriptorSetUpdateAfterBindStorageBuffersDynamic;
20086 maxDescriptorSetUpdateAfterBindSampledImages = src.maxDescriptorSetUpdateAfterBindSampledImages;
20087 maxDescriptorSetUpdateAfterBindStorageImages = src.maxDescriptorSetUpdateAfterBindStorageImages;
20088 maxDescriptorSetUpdateAfterBindInputAttachments = src.maxDescriptorSetUpdateAfterBindInputAttachments;
20089}
20090
20091safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT& safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT::operator=(const safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT& src)
20092{
20093 if (&src == this) return *this;
20094
20095
20096 sType = src.sType;
20097 pNext = src.pNext;
20098 maxUpdateAfterBindDescriptorsInAllPools = src.maxUpdateAfterBindDescriptorsInAllPools;
20099 shaderUniformBufferArrayNonUniformIndexingNative = src.shaderUniformBufferArrayNonUniformIndexingNative;
20100 shaderSampledImageArrayNonUniformIndexingNative = src.shaderSampledImageArrayNonUniformIndexingNative;
20101 shaderStorageBufferArrayNonUniformIndexingNative = src.shaderStorageBufferArrayNonUniformIndexingNative;
20102 shaderStorageImageArrayNonUniformIndexingNative = src.shaderStorageImageArrayNonUniformIndexingNative;
20103 shaderInputAttachmentArrayNonUniformIndexingNative = src.shaderInputAttachmentArrayNonUniformIndexingNative;
20104 robustBufferAccessUpdateAfterBind = src.robustBufferAccessUpdateAfterBind;
20105 quadDivergentImplicitLod = src.quadDivergentImplicitLod;
20106 maxPerStageDescriptorUpdateAfterBindSamplers = src.maxPerStageDescriptorUpdateAfterBindSamplers;
20107 maxPerStageDescriptorUpdateAfterBindUniformBuffers = src.maxPerStageDescriptorUpdateAfterBindUniformBuffers;
20108 maxPerStageDescriptorUpdateAfterBindStorageBuffers = src.maxPerStageDescriptorUpdateAfterBindStorageBuffers;
20109 maxPerStageDescriptorUpdateAfterBindSampledImages = src.maxPerStageDescriptorUpdateAfterBindSampledImages;
20110 maxPerStageDescriptorUpdateAfterBindStorageImages = src.maxPerStageDescriptorUpdateAfterBindStorageImages;
20111 maxPerStageDescriptorUpdateAfterBindInputAttachments = src.maxPerStageDescriptorUpdateAfterBindInputAttachments;
20112 maxPerStageUpdateAfterBindResources = src.maxPerStageUpdateAfterBindResources;
20113 maxDescriptorSetUpdateAfterBindSamplers = src.maxDescriptorSetUpdateAfterBindSamplers;
20114 maxDescriptorSetUpdateAfterBindUniformBuffers = src.maxDescriptorSetUpdateAfterBindUniformBuffers;
20115 maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = src.maxDescriptorSetUpdateAfterBindUniformBuffersDynamic;
20116 maxDescriptorSetUpdateAfterBindStorageBuffers = src.maxDescriptorSetUpdateAfterBindStorageBuffers;
20117 maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = src.maxDescriptorSetUpdateAfterBindStorageBuffersDynamic;
20118 maxDescriptorSetUpdateAfterBindSampledImages = src.maxDescriptorSetUpdateAfterBindSampledImages;
20119 maxDescriptorSetUpdateAfterBindStorageImages = src.maxDescriptorSetUpdateAfterBindStorageImages;
20120 maxDescriptorSetUpdateAfterBindInputAttachments = src.maxDescriptorSetUpdateAfterBindInputAttachments;
20121
20122 return *this;
20123}
20124
20125safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT::~safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT()
20126{
20127}
20128
20129void safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT::initialize(const VkPhysicalDeviceDescriptorIndexingPropertiesEXT* in_struct)
20130{
20131 sType = in_struct->sType;
20132 pNext = in_struct->pNext;
20133 maxUpdateAfterBindDescriptorsInAllPools = in_struct->maxUpdateAfterBindDescriptorsInAllPools;
20134 shaderUniformBufferArrayNonUniformIndexingNative = in_struct->shaderUniformBufferArrayNonUniformIndexingNative;
20135 shaderSampledImageArrayNonUniformIndexingNative = in_struct->shaderSampledImageArrayNonUniformIndexingNative;
20136 shaderStorageBufferArrayNonUniformIndexingNative = in_struct->shaderStorageBufferArrayNonUniformIndexingNative;
20137 shaderStorageImageArrayNonUniformIndexingNative = in_struct->shaderStorageImageArrayNonUniformIndexingNative;
20138 shaderInputAttachmentArrayNonUniformIndexingNative = in_struct->shaderInputAttachmentArrayNonUniformIndexingNative;
20139 robustBufferAccessUpdateAfterBind = in_struct->robustBufferAccessUpdateAfterBind;
20140 quadDivergentImplicitLod = in_struct->quadDivergentImplicitLod;
20141 maxPerStageDescriptorUpdateAfterBindSamplers = in_struct->maxPerStageDescriptorUpdateAfterBindSamplers;
20142 maxPerStageDescriptorUpdateAfterBindUniformBuffers = in_struct->maxPerStageDescriptorUpdateAfterBindUniformBuffers;
20143 maxPerStageDescriptorUpdateAfterBindStorageBuffers = in_struct->maxPerStageDescriptorUpdateAfterBindStorageBuffers;
20144 maxPerStageDescriptorUpdateAfterBindSampledImages = in_struct->maxPerStageDescriptorUpdateAfterBindSampledImages;
20145 maxPerStageDescriptorUpdateAfterBindStorageImages = in_struct->maxPerStageDescriptorUpdateAfterBindStorageImages;
20146 maxPerStageDescriptorUpdateAfterBindInputAttachments = in_struct->maxPerStageDescriptorUpdateAfterBindInputAttachments;
20147 maxPerStageUpdateAfterBindResources = in_struct->maxPerStageUpdateAfterBindResources;
20148 maxDescriptorSetUpdateAfterBindSamplers = in_struct->maxDescriptorSetUpdateAfterBindSamplers;
20149 maxDescriptorSetUpdateAfterBindUniformBuffers = in_struct->maxDescriptorSetUpdateAfterBindUniformBuffers;
20150 maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = in_struct->maxDescriptorSetUpdateAfterBindUniformBuffersDynamic;
20151 maxDescriptorSetUpdateAfterBindStorageBuffers = in_struct->maxDescriptorSetUpdateAfterBindStorageBuffers;
20152 maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = in_struct->maxDescriptorSetUpdateAfterBindStorageBuffersDynamic;
20153 maxDescriptorSetUpdateAfterBindSampledImages = in_struct->maxDescriptorSetUpdateAfterBindSampledImages;
20154 maxDescriptorSetUpdateAfterBindStorageImages = in_struct->maxDescriptorSetUpdateAfterBindStorageImages;
20155 maxDescriptorSetUpdateAfterBindInputAttachments = in_struct->maxDescriptorSetUpdateAfterBindInputAttachments;
20156}
20157
20158void safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT::initialize(const safe_VkPhysicalDeviceDescriptorIndexingPropertiesEXT* src)
20159{
20160 sType = src->sType;
20161 pNext = src->pNext;
20162 maxUpdateAfterBindDescriptorsInAllPools = src->maxUpdateAfterBindDescriptorsInAllPools;
20163 shaderUniformBufferArrayNonUniformIndexingNative = src->shaderUniformBufferArrayNonUniformIndexingNative;
20164 shaderSampledImageArrayNonUniformIndexingNative = src->shaderSampledImageArrayNonUniformIndexingNative;
20165 shaderStorageBufferArrayNonUniformIndexingNative = src->shaderStorageBufferArrayNonUniformIndexingNative;
20166 shaderStorageImageArrayNonUniformIndexingNative = src->shaderStorageImageArrayNonUniformIndexingNative;
20167 shaderInputAttachmentArrayNonUniformIndexingNative = src->shaderInputAttachmentArrayNonUniformIndexingNative;
20168 robustBufferAccessUpdateAfterBind = src->robustBufferAccessUpdateAfterBind;
20169 quadDivergentImplicitLod = src->quadDivergentImplicitLod;
20170 maxPerStageDescriptorUpdateAfterBindSamplers = src->maxPerStageDescriptorUpdateAfterBindSamplers;
20171 maxPerStageDescriptorUpdateAfterBindUniformBuffers = src->maxPerStageDescriptorUpdateAfterBindUniformBuffers;
20172 maxPerStageDescriptorUpdateAfterBindStorageBuffers = src->maxPerStageDescriptorUpdateAfterBindStorageBuffers;
20173 maxPerStageDescriptorUpdateAfterBindSampledImages = src->maxPerStageDescriptorUpdateAfterBindSampledImages;
20174 maxPerStageDescriptorUpdateAfterBindStorageImages = src->maxPerStageDescriptorUpdateAfterBindStorageImages;
20175 maxPerStageDescriptorUpdateAfterBindInputAttachments = src->maxPerStageDescriptorUpdateAfterBindInputAttachments;
20176 maxPerStageUpdateAfterBindResources = src->maxPerStageUpdateAfterBindResources;
20177 maxDescriptorSetUpdateAfterBindSamplers = src->maxDescriptorSetUpdateAfterBindSamplers;
20178 maxDescriptorSetUpdateAfterBindUniformBuffers = src->maxDescriptorSetUpdateAfterBindUniformBuffers;
20179 maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = src->maxDescriptorSetUpdateAfterBindUniformBuffersDynamic;
20180 maxDescriptorSetUpdateAfterBindStorageBuffers = src->maxDescriptorSetUpdateAfterBindStorageBuffers;
20181 maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = src->maxDescriptorSetUpdateAfterBindStorageBuffersDynamic;
20182 maxDescriptorSetUpdateAfterBindSampledImages = src->maxDescriptorSetUpdateAfterBindSampledImages;
20183 maxDescriptorSetUpdateAfterBindStorageImages = src->maxDescriptorSetUpdateAfterBindStorageImages;
20184 maxDescriptorSetUpdateAfterBindInputAttachments = src->maxDescriptorSetUpdateAfterBindInputAttachments;
20185}
20186
20187safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT::safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT(const VkDescriptorSetVariableDescriptorCountAllocateInfoEXT* in_struct) :
20188 sType(in_struct->sType),
20189 pNext(in_struct->pNext),
20190 descriptorSetCount(in_struct->descriptorSetCount),
20191 pDescriptorCounts(nullptr)
20192{
20193 if (in_struct->pDescriptorCounts) {
20194 pDescriptorCounts = new uint32_t[in_struct->descriptorSetCount];
20195 memcpy ((void *)pDescriptorCounts, (void *)in_struct->pDescriptorCounts, sizeof(uint32_t)*in_struct->descriptorSetCount);
20196 }
20197}
20198
20199safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT::safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT() :
20200 pDescriptorCounts(nullptr)
20201{}
20202
20203safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT::safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT(const safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT& src)
20204{
20205 sType = src.sType;
20206 pNext = src.pNext;
20207 descriptorSetCount = src.descriptorSetCount;
20208 pDescriptorCounts = nullptr;
20209 if (src.pDescriptorCounts) {
20210 pDescriptorCounts = new uint32_t[src.descriptorSetCount];
20211 memcpy ((void *)pDescriptorCounts, (void *)src.pDescriptorCounts, sizeof(uint32_t)*src.descriptorSetCount);
20212 }
20213}
20214
20215safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT& safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT::operator=(const safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT& src)
20216{
20217 if (&src == this) return *this;
20218
20219 if (pDescriptorCounts)
20220 delete[] pDescriptorCounts;
20221
20222 sType = src.sType;
20223 pNext = src.pNext;
20224 descriptorSetCount = src.descriptorSetCount;
20225 pDescriptorCounts = nullptr;
20226 if (src.pDescriptorCounts) {
20227 pDescriptorCounts = new uint32_t[src.descriptorSetCount];
20228 memcpy ((void *)pDescriptorCounts, (void *)src.pDescriptorCounts, sizeof(uint32_t)*src.descriptorSetCount);
20229 }
20230
20231 return *this;
20232}
20233
20234safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT::~safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT()
20235{
20236 if (pDescriptorCounts)
20237 delete[] pDescriptorCounts;
20238}
20239
20240void safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT::initialize(const VkDescriptorSetVariableDescriptorCountAllocateInfoEXT* in_struct)
20241{
20242 sType = in_struct->sType;
20243 pNext = in_struct->pNext;
20244 descriptorSetCount = in_struct->descriptorSetCount;
20245 pDescriptorCounts = nullptr;
20246 if (in_struct->pDescriptorCounts) {
20247 pDescriptorCounts = new uint32_t[in_struct->descriptorSetCount];
20248 memcpy ((void *)pDescriptorCounts, (void *)in_struct->pDescriptorCounts, sizeof(uint32_t)*in_struct->descriptorSetCount);
20249 }
20250}
20251
20252void safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT::initialize(const safe_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT* src)
20253{
20254 sType = src->sType;
20255 pNext = src->pNext;
20256 descriptorSetCount = src->descriptorSetCount;
20257 pDescriptorCounts = nullptr;
20258 if (src->pDescriptorCounts) {
20259 pDescriptorCounts = new uint32_t[src->descriptorSetCount];
20260 memcpy ((void *)pDescriptorCounts, (void *)src->pDescriptorCounts, sizeof(uint32_t)*src->descriptorSetCount);
20261 }
20262}
20263
20264safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT::safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT(const VkDescriptorSetVariableDescriptorCountLayoutSupportEXT* in_struct) :
20265 sType(in_struct->sType),
20266 pNext(in_struct->pNext),
20267 maxVariableDescriptorCount(in_struct->maxVariableDescriptorCount)
20268{
20269}
20270
20271safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT::safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT()
20272{}
20273
20274safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT::safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT(const safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT& src)
20275{
20276 sType = src.sType;
20277 pNext = src.pNext;
20278 maxVariableDescriptorCount = src.maxVariableDescriptorCount;
20279}
20280
20281safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT& safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT::operator=(const safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT& src)
20282{
20283 if (&src == this) return *this;
20284
20285
20286 sType = src.sType;
20287 pNext = src.pNext;
20288 maxVariableDescriptorCount = src.maxVariableDescriptorCount;
20289
20290 return *this;
20291}
20292
20293safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT::~safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT()
20294{
20295}
20296
20297void safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT::initialize(const VkDescriptorSetVariableDescriptorCountLayoutSupportEXT* in_struct)
20298{
20299 sType = in_struct->sType;
20300 pNext = in_struct->pNext;
20301 maxVariableDescriptorCount = in_struct->maxVariableDescriptorCount;
20302}
20303
20304void safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT::initialize(const safe_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT* src)
20305{
20306 sType = src->sType;
20307 pNext = src->pNext;
20308 maxVariableDescriptorCount = src->maxVariableDescriptorCount;
20309}
20310
20311safe_VkShadingRatePaletteNV::safe_VkShadingRatePaletteNV(const VkShadingRatePaletteNV* in_struct) :
20312 shadingRatePaletteEntryCount(in_struct->shadingRatePaletteEntryCount),
20313 pShadingRatePaletteEntries(nullptr)
20314{
20315 if (in_struct->pShadingRatePaletteEntries) {
20316 pShadingRatePaletteEntries = new VkShadingRatePaletteEntryNV[in_struct->shadingRatePaletteEntryCount];
20317 memcpy ((void *)pShadingRatePaletteEntries, (void *)in_struct->pShadingRatePaletteEntries, sizeof(VkShadingRatePaletteEntryNV)*in_struct->shadingRatePaletteEntryCount);
20318 }
20319}
20320
20321safe_VkShadingRatePaletteNV::safe_VkShadingRatePaletteNV() :
20322 pShadingRatePaletteEntries(nullptr)
20323{}
20324
20325safe_VkShadingRatePaletteNV::safe_VkShadingRatePaletteNV(const safe_VkShadingRatePaletteNV& src)
20326{
20327 shadingRatePaletteEntryCount = src.shadingRatePaletteEntryCount;
20328 pShadingRatePaletteEntries = nullptr;
20329 if (src.pShadingRatePaletteEntries) {
20330 pShadingRatePaletteEntries = new VkShadingRatePaletteEntryNV[src.shadingRatePaletteEntryCount];
20331 memcpy ((void *)pShadingRatePaletteEntries, (void *)src.pShadingRatePaletteEntries, sizeof(VkShadingRatePaletteEntryNV)*src.shadingRatePaletteEntryCount);
20332 }
20333}
20334
20335safe_VkShadingRatePaletteNV& safe_VkShadingRatePaletteNV::operator=(const safe_VkShadingRatePaletteNV& src)
20336{
20337 if (&src == this) return *this;
20338
20339 if (pShadingRatePaletteEntries)
20340 delete[] pShadingRatePaletteEntries;
20341
20342 shadingRatePaletteEntryCount = src.shadingRatePaletteEntryCount;
20343 pShadingRatePaletteEntries = nullptr;
20344 if (src.pShadingRatePaletteEntries) {
20345 pShadingRatePaletteEntries = new VkShadingRatePaletteEntryNV[src.shadingRatePaletteEntryCount];
20346 memcpy ((void *)pShadingRatePaletteEntries, (void *)src.pShadingRatePaletteEntries, sizeof(VkShadingRatePaletteEntryNV)*src.shadingRatePaletteEntryCount);
20347 }
20348
20349 return *this;
20350}
20351
20352safe_VkShadingRatePaletteNV::~safe_VkShadingRatePaletteNV()
20353{
20354 if (pShadingRatePaletteEntries)
20355 delete[] pShadingRatePaletteEntries;
20356}
20357
20358void safe_VkShadingRatePaletteNV::initialize(const VkShadingRatePaletteNV* in_struct)
20359{
20360 shadingRatePaletteEntryCount = in_struct->shadingRatePaletteEntryCount;
20361 pShadingRatePaletteEntries = nullptr;
20362 if (in_struct->pShadingRatePaletteEntries) {
20363 pShadingRatePaletteEntries = new VkShadingRatePaletteEntryNV[in_struct->shadingRatePaletteEntryCount];
20364 memcpy ((void *)pShadingRatePaletteEntries, (void *)in_struct->pShadingRatePaletteEntries, sizeof(VkShadingRatePaletteEntryNV)*in_struct->shadingRatePaletteEntryCount);
20365 }
20366}
20367
20368void safe_VkShadingRatePaletteNV::initialize(const safe_VkShadingRatePaletteNV* src)
20369{
20370 shadingRatePaletteEntryCount = src->shadingRatePaletteEntryCount;
20371 pShadingRatePaletteEntries = nullptr;
20372 if (src->pShadingRatePaletteEntries) {
20373 pShadingRatePaletteEntries = new VkShadingRatePaletteEntryNV[src->shadingRatePaletteEntryCount];
20374 memcpy ((void *)pShadingRatePaletteEntries, (void *)src->pShadingRatePaletteEntries, sizeof(VkShadingRatePaletteEntryNV)*src->shadingRatePaletteEntryCount);
20375 }
20376}
20377
20378safe_VkPipelineViewportShadingRateImageStateCreateInfoNV::safe_VkPipelineViewportShadingRateImageStateCreateInfoNV(const VkPipelineViewportShadingRateImageStateCreateInfoNV* in_struct) :
20379 sType(in_struct->sType),
20380 pNext(in_struct->pNext),
20381 shadingRateImageEnable(in_struct->shadingRateImageEnable),
20382 viewportCount(in_struct->viewportCount),
20383 pShadingRatePalettes(nullptr)
20384{
20385 if (viewportCount && in_struct->pShadingRatePalettes) {
20386 pShadingRatePalettes = new safe_VkShadingRatePaletteNV[viewportCount];
20387 for (uint32_t i=0; i<viewportCount; ++i) {
20388 pShadingRatePalettes[i].initialize(&in_struct->pShadingRatePalettes[i]);
20389 }
20390 }
20391}
20392
20393safe_VkPipelineViewportShadingRateImageStateCreateInfoNV::safe_VkPipelineViewportShadingRateImageStateCreateInfoNV() :
20394 pShadingRatePalettes(nullptr)
20395{}
20396
20397safe_VkPipelineViewportShadingRateImageStateCreateInfoNV::safe_VkPipelineViewportShadingRateImageStateCreateInfoNV(const safe_VkPipelineViewportShadingRateImageStateCreateInfoNV& src)
20398{
20399 sType = src.sType;
20400 pNext = src.pNext;
20401 shadingRateImageEnable = src.shadingRateImageEnable;
20402 viewportCount = src.viewportCount;
20403 pShadingRatePalettes = nullptr;
20404 if (viewportCount && src.pShadingRatePalettes) {
20405 pShadingRatePalettes = new safe_VkShadingRatePaletteNV[viewportCount];
20406 for (uint32_t i=0; i<viewportCount; ++i) {
20407 pShadingRatePalettes[i].initialize(&src.pShadingRatePalettes[i]);
20408 }
20409 }
20410}
20411
20412safe_VkPipelineViewportShadingRateImageStateCreateInfoNV& safe_VkPipelineViewportShadingRateImageStateCreateInfoNV::operator=(const safe_VkPipelineViewportShadingRateImageStateCreateInfoNV& src)
20413{
20414 if (&src == this) return *this;
20415
20416 if (pShadingRatePalettes)
20417 delete[] pShadingRatePalettes;
20418
20419 sType = src.sType;
20420 pNext = src.pNext;
20421 shadingRateImageEnable = src.shadingRateImageEnable;
20422 viewportCount = src.viewportCount;
20423 pShadingRatePalettes = nullptr;
20424 if (viewportCount && src.pShadingRatePalettes) {
20425 pShadingRatePalettes = new safe_VkShadingRatePaletteNV[viewportCount];
20426 for (uint32_t i=0; i<viewportCount; ++i) {
20427 pShadingRatePalettes[i].initialize(&src.pShadingRatePalettes[i]);
20428 }
20429 }
20430
20431 return *this;
20432}
20433
20434safe_VkPipelineViewportShadingRateImageStateCreateInfoNV::~safe_VkPipelineViewportShadingRateImageStateCreateInfoNV()
20435{
20436 if (pShadingRatePalettes)
20437 delete[] pShadingRatePalettes;
20438}
20439
20440void safe_VkPipelineViewportShadingRateImageStateCreateInfoNV::initialize(const VkPipelineViewportShadingRateImageStateCreateInfoNV* in_struct)
20441{
20442 sType = in_struct->sType;
20443 pNext = in_struct->pNext;
20444 shadingRateImageEnable = in_struct->shadingRateImageEnable;
20445 viewportCount = in_struct->viewportCount;
20446 pShadingRatePalettes = nullptr;
20447 if (viewportCount && in_struct->pShadingRatePalettes) {
20448 pShadingRatePalettes = new safe_VkShadingRatePaletteNV[viewportCount];
20449 for (uint32_t i=0; i<viewportCount; ++i) {
20450 pShadingRatePalettes[i].initialize(&in_struct->pShadingRatePalettes[i]);
20451 }
20452 }
20453}
20454
20455void safe_VkPipelineViewportShadingRateImageStateCreateInfoNV::initialize(const safe_VkPipelineViewportShadingRateImageStateCreateInfoNV* src)
20456{
20457 sType = src->sType;
20458 pNext = src->pNext;
20459 shadingRateImageEnable = src->shadingRateImageEnable;
20460 viewportCount = src->viewportCount;
20461 pShadingRatePalettes = nullptr;
20462 if (viewportCount && src->pShadingRatePalettes) {
20463 pShadingRatePalettes = new safe_VkShadingRatePaletteNV[viewportCount];
20464 for (uint32_t i=0; i<viewportCount; ++i) {
20465 pShadingRatePalettes[i].initialize(&src->pShadingRatePalettes[i]);
20466 }
20467 }
20468}
20469
20470safe_VkPhysicalDeviceShadingRateImageFeaturesNV::safe_VkPhysicalDeviceShadingRateImageFeaturesNV(const VkPhysicalDeviceShadingRateImageFeaturesNV* in_struct) :
20471 sType(in_struct->sType),
20472 pNext(in_struct->pNext),
20473 shadingRateImage(in_struct->shadingRateImage),
20474 shadingRateCoarseSampleOrder(in_struct->shadingRateCoarseSampleOrder)
20475{
20476}
20477
20478safe_VkPhysicalDeviceShadingRateImageFeaturesNV::safe_VkPhysicalDeviceShadingRateImageFeaturesNV()
20479{}
20480
20481safe_VkPhysicalDeviceShadingRateImageFeaturesNV::safe_VkPhysicalDeviceShadingRateImageFeaturesNV(const safe_VkPhysicalDeviceShadingRateImageFeaturesNV& src)
20482{
20483 sType = src.sType;
20484 pNext = src.pNext;
20485 shadingRateImage = src.shadingRateImage;
20486 shadingRateCoarseSampleOrder = src.shadingRateCoarseSampleOrder;
20487}
20488
20489safe_VkPhysicalDeviceShadingRateImageFeaturesNV& safe_VkPhysicalDeviceShadingRateImageFeaturesNV::operator=(const safe_VkPhysicalDeviceShadingRateImageFeaturesNV& src)
20490{
20491 if (&src == this) return *this;
20492
20493
20494 sType = src.sType;
20495 pNext = src.pNext;
20496 shadingRateImage = src.shadingRateImage;
20497 shadingRateCoarseSampleOrder = src.shadingRateCoarseSampleOrder;
20498
20499 return *this;
20500}
20501
20502safe_VkPhysicalDeviceShadingRateImageFeaturesNV::~safe_VkPhysicalDeviceShadingRateImageFeaturesNV()
20503{
20504}
20505
20506void safe_VkPhysicalDeviceShadingRateImageFeaturesNV::initialize(const VkPhysicalDeviceShadingRateImageFeaturesNV* in_struct)
20507{
20508 sType = in_struct->sType;
20509 pNext = in_struct->pNext;
20510 shadingRateImage = in_struct->shadingRateImage;
20511 shadingRateCoarseSampleOrder = in_struct->shadingRateCoarseSampleOrder;
20512}
20513
20514void safe_VkPhysicalDeviceShadingRateImageFeaturesNV::initialize(const safe_VkPhysicalDeviceShadingRateImageFeaturesNV* src)
20515{
20516 sType = src->sType;
20517 pNext = src->pNext;
20518 shadingRateImage = src->shadingRateImage;
20519 shadingRateCoarseSampleOrder = src->shadingRateCoarseSampleOrder;
20520}
20521
20522safe_VkPhysicalDeviceShadingRateImagePropertiesNV::safe_VkPhysicalDeviceShadingRateImagePropertiesNV(const VkPhysicalDeviceShadingRateImagePropertiesNV* in_struct) :
20523 sType(in_struct->sType),
20524 pNext(in_struct->pNext),
20525 shadingRateTexelSize(in_struct->shadingRateTexelSize),
20526 shadingRatePaletteSize(in_struct->shadingRatePaletteSize),
20527 shadingRateMaxCoarseSamples(in_struct->shadingRateMaxCoarseSamples)
20528{
20529}
20530
20531safe_VkPhysicalDeviceShadingRateImagePropertiesNV::safe_VkPhysicalDeviceShadingRateImagePropertiesNV()
20532{}
20533
20534safe_VkPhysicalDeviceShadingRateImagePropertiesNV::safe_VkPhysicalDeviceShadingRateImagePropertiesNV(const safe_VkPhysicalDeviceShadingRateImagePropertiesNV& src)
20535{
20536 sType = src.sType;
20537 pNext = src.pNext;
20538 shadingRateTexelSize = src.shadingRateTexelSize;
20539 shadingRatePaletteSize = src.shadingRatePaletteSize;
20540 shadingRateMaxCoarseSamples = src.shadingRateMaxCoarseSamples;
20541}
20542
20543safe_VkPhysicalDeviceShadingRateImagePropertiesNV& safe_VkPhysicalDeviceShadingRateImagePropertiesNV::operator=(const safe_VkPhysicalDeviceShadingRateImagePropertiesNV& src)
20544{
20545 if (&src == this) return *this;
20546
20547
20548 sType = src.sType;
20549 pNext = src.pNext;
20550 shadingRateTexelSize = src.shadingRateTexelSize;
20551 shadingRatePaletteSize = src.shadingRatePaletteSize;
20552 shadingRateMaxCoarseSamples = src.shadingRateMaxCoarseSamples;
20553
20554 return *this;
20555}
20556
20557safe_VkPhysicalDeviceShadingRateImagePropertiesNV::~safe_VkPhysicalDeviceShadingRateImagePropertiesNV()
20558{
20559}
20560
20561void safe_VkPhysicalDeviceShadingRateImagePropertiesNV::initialize(const VkPhysicalDeviceShadingRateImagePropertiesNV* in_struct)
20562{
20563 sType = in_struct->sType;
20564 pNext = in_struct->pNext;
20565 shadingRateTexelSize = in_struct->shadingRateTexelSize;
20566 shadingRatePaletteSize = in_struct->shadingRatePaletteSize;
20567 shadingRateMaxCoarseSamples = in_struct->shadingRateMaxCoarseSamples;
20568}
20569
20570void safe_VkPhysicalDeviceShadingRateImagePropertiesNV::initialize(const safe_VkPhysicalDeviceShadingRateImagePropertiesNV* src)
20571{
20572 sType = src->sType;
20573 pNext = src->pNext;
20574 shadingRateTexelSize = src->shadingRateTexelSize;
20575 shadingRatePaletteSize = src->shadingRatePaletteSize;
20576 shadingRateMaxCoarseSamples = src->shadingRateMaxCoarseSamples;
20577}
20578
20579safe_VkCoarseSampleOrderCustomNV::safe_VkCoarseSampleOrderCustomNV(const VkCoarseSampleOrderCustomNV* in_struct) :
20580 shadingRate(in_struct->shadingRate),
20581 sampleCount(in_struct->sampleCount),
20582 sampleLocationCount(in_struct->sampleLocationCount),
20583 pSampleLocations(nullptr)
20584{
20585 if (in_struct->pSampleLocations) {
20586 pSampleLocations = new VkCoarseSampleLocationNV[in_struct->sampleLocationCount];
20587 memcpy ((void *)pSampleLocations, (void *)in_struct->pSampleLocations, sizeof(VkCoarseSampleLocationNV)*in_struct->sampleLocationCount);
20588 }
20589}
20590
20591safe_VkCoarseSampleOrderCustomNV::safe_VkCoarseSampleOrderCustomNV() :
20592 pSampleLocations(nullptr)
20593{}
20594
20595safe_VkCoarseSampleOrderCustomNV::safe_VkCoarseSampleOrderCustomNV(const safe_VkCoarseSampleOrderCustomNV& src)
20596{
20597 shadingRate = src.shadingRate;
20598 sampleCount = src.sampleCount;
20599 sampleLocationCount = src.sampleLocationCount;
20600 pSampleLocations = nullptr;
20601 if (src.pSampleLocations) {
20602 pSampleLocations = new VkCoarseSampleLocationNV[src.sampleLocationCount];
20603 memcpy ((void *)pSampleLocations, (void *)src.pSampleLocations, sizeof(VkCoarseSampleLocationNV)*src.sampleLocationCount);
20604 }
20605}
20606
20607safe_VkCoarseSampleOrderCustomNV& safe_VkCoarseSampleOrderCustomNV::operator=(const safe_VkCoarseSampleOrderCustomNV& src)
20608{
20609 if (&src == this) return *this;
20610
20611 if (pSampleLocations)
20612 delete[] pSampleLocations;
20613
20614 shadingRate = src.shadingRate;
20615 sampleCount = src.sampleCount;
20616 sampleLocationCount = src.sampleLocationCount;
20617 pSampleLocations = nullptr;
20618 if (src.pSampleLocations) {
20619 pSampleLocations = new VkCoarseSampleLocationNV[src.sampleLocationCount];
20620 memcpy ((void *)pSampleLocations, (void *)src.pSampleLocations, sizeof(VkCoarseSampleLocationNV)*src.sampleLocationCount);
20621 }
20622
20623 return *this;
20624}
20625
20626safe_VkCoarseSampleOrderCustomNV::~safe_VkCoarseSampleOrderCustomNV()
20627{
20628 if (pSampleLocations)
20629 delete[] pSampleLocations;
20630}
20631
20632void safe_VkCoarseSampleOrderCustomNV::initialize(const VkCoarseSampleOrderCustomNV* in_struct)
20633{
20634 shadingRate = in_struct->shadingRate;
20635 sampleCount = in_struct->sampleCount;
20636 sampleLocationCount = in_struct->sampleLocationCount;
20637 pSampleLocations = nullptr;
20638 if (in_struct->pSampleLocations) {
20639 pSampleLocations = new VkCoarseSampleLocationNV[in_struct->sampleLocationCount];
20640 memcpy ((void *)pSampleLocations, (void *)in_struct->pSampleLocations, sizeof(VkCoarseSampleLocationNV)*in_struct->sampleLocationCount);
20641 }
20642}
20643
20644void safe_VkCoarseSampleOrderCustomNV::initialize(const safe_VkCoarseSampleOrderCustomNV* src)
20645{
20646 shadingRate = src->shadingRate;
20647 sampleCount = src->sampleCount;
20648 sampleLocationCount = src->sampleLocationCount;
20649 pSampleLocations = nullptr;
20650 if (src->pSampleLocations) {
20651 pSampleLocations = new VkCoarseSampleLocationNV[src->sampleLocationCount];
20652 memcpy ((void *)pSampleLocations, (void *)src->pSampleLocations, sizeof(VkCoarseSampleLocationNV)*src->sampleLocationCount);
20653 }
20654}
20655
20656safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV::safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV(const VkPipelineViewportCoarseSampleOrderStateCreateInfoNV* in_struct) :
20657 sType(in_struct->sType),
20658 pNext(in_struct->pNext),
20659 sampleOrderType(in_struct->sampleOrderType),
20660 customSampleOrderCount(in_struct->customSampleOrderCount),
20661 pCustomSampleOrders(nullptr)
20662{
20663 if (customSampleOrderCount && in_struct->pCustomSampleOrders) {
20664 pCustomSampleOrders = new safe_VkCoarseSampleOrderCustomNV[customSampleOrderCount];
20665 for (uint32_t i=0; i<customSampleOrderCount; ++i) {
20666 pCustomSampleOrders[i].initialize(&in_struct->pCustomSampleOrders[i]);
20667 }
20668 }
20669}
20670
20671safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV::safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV() :
20672 pCustomSampleOrders(nullptr)
20673{}
20674
20675safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV::safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV(const safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV& src)
20676{
20677 sType = src.sType;
20678 pNext = src.pNext;
20679 sampleOrderType = src.sampleOrderType;
20680 customSampleOrderCount = src.customSampleOrderCount;
20681 pCustomSampleOrders = nullptr;
20682 if (customSampleOrderCount && src.pCustomSampleOrders) {
20683 pCustomSampleOrders = new safe_VkCoarseSampleOrderCustomNV[customSampleOrderCount];
20684 for (uint32_t i=0; i<customSampleOrderCount; ++i) {
20685 pCustomSampleOrders[i].initialize(&src.pCustomSampleOrders[i]);
20686 }
20687 }
20688}
20689
20690safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV& safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV::operator=(const safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV& src)
20691{
20692 if (&src == this) return *this;
20693
20694 if (pCustomSampleOrders)
20695 delete[] pCustomSampleOrders;
20696
20697 sType = src.sType;
20698 pNext = src.pNext;
20699 sampleOrderType = src.sampleOrderType;
20700 customSampleOrderCount = src.customSampleOrderCount;
20701 pCustomSampleOrders = nullptr;
20702 if (customSampleOrderCount && src.pCustomSampleOrders) {
20703 pCustomSampleOrders = new safe_VkCoarseSampleOrderCustomNV[customSampleOrderCount];
20704 for (uint32_t i=0; i<customSampleOrderCount; ++i) {
20705 pCustomSampleOrders[i].initialize(&src.pCustomSampleOrders[i]);
20706 }
20707 }
20708
20709 return *this;
20710}
20711
20712safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV::~safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV()
20713{
20714 if (pCustomSampleOrders)
20715 delete[] pCustomSampleOrders;
20716}
20717
20718void safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV::initialize(const VkPipelineViewportCoarseSampleOrderStateCreateInfoNV* in_struct)
20719{
20720 sType = in_struct->sType;
20721 pNext = in_struct->pNext;
20722 sampleOrderType = in_struct->sampleOrderType;
20723 customSampleOrderCount = in_struct->customSampleOrderCount;
20724 pCustomSampleOrders = nullptr;
20725 if (customSampleOrderCount && in_struct->pCustomSampleOrders) {
20726 pCustomSampleOrders = new safe_VkCoarseSampleOrderCustomNV[customSampleOrderCount];
20727 for (uint32_t i=0; i<customSampleOrderCount; ++i) {
20728 pCustomSampleOrders[i].initialize(&in_struct->pCustomSampleOrders[i]);
20729 }
20730 }
20731}
20732
20733void safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV::initialize(const safe_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV* src)
20734{
20735 sType = src->sType;
20736 pNext = src->pNext;
20737 sampleOrderType = src->sampleOrderType;
20738 customSampleOrderCount = src->customSampleOrderCount;
20739 pCustomSampleOrders = nullptr;
20740 if (customSampleOrderCount && src->pCustomSampleOrders) {
20741 pCustomSampleOrders = new safe_VkCoarseSampleOrderCustomNV[customSampleOrderCount];
20742 for (uint32_t i=0; i<customSampleOrderCount; ++i) {
20743 pCustomSampleOrders[i].initialize(&src->pCustomSampleOrders[i]);
20744 }
20745 }
20746}
20747
20748safe_VkRayTracingShaderGroupCreateInfoNV::safe_VkRayTracingShaderGroupCreateInfoNV(const VkRayTracingShaderGroupCreateInfoNV* in_struct) :
20749 sType(in_struct->sType),
20750 pNext(in_struct->pNext),
20751 type(in_struct->type),
20752 generalShader(in_struct->generalShader),
20753 closestHitShader(in_struct->closestHitShader),
20754 anyHitShader(in_struct->anyHitShader),
20755 intersectionShader(in_struct->intersectionShader)
20756{
20757}
20758
20759safe_VkRayTracingShaderGroupCreateInfoNV::safe_VkRayTracingShaderGroupCreateInfoNV()
20760{}
20761
20762safe_VkRayTracingShaderGroupCreateInfoNV::safe_VkRayTracingShaderGroupCreateInfoNV(const safe_VkRayTracingShaderGroupCreateInfoNV& src)
20763{
20764 sType = src.sType;
20765 pNext = src.pNext;
20766 type = src.type;
20767 generalShader = src.generalShader;
20768 closestHitShader = src.closestHitShader;
20769 anyHitShader = src.anyHitShader;
20770 intersectionShader = src.intersectionShader;
20771}
20772
20773safe_VkRayTracingShaderGroupCreateInfoNV& safe_VkRayTracingShaderGroupCreateInfoNV::operator=(const safe_VkRayTracingShaderGroupCreateInfoNV& src)
20774{
20775 if (&src == this) return *this;
20776
20777
20778 sType = src.sType;
20779 pNext = src.pNext;
20780 type = src.type;
20781 generalShader = src.generalShader;
20782 closestHitShader = src.closestHitShader;
20783 anyHitShader = src.anyHitShader;
20784 intersectionShader = src.intersectionShader;
20785
20786 return *this;
20787}
20788
20789safe_VkRayTracingShaderGroupCreateInfoNV::~safe_VkRayTracingShaderGroupCreateInfoNV()
20790{
20791}
20792
20793void safe_VkRayTracingShaderGroupCreateInfoNV::initialize(const VkRayTracingShaderGroupCreateInfoNV* in_struct)
20794{
20795 sType = in_struct->sType;
20796 pNext = in_struct->pNext;
20797 type = in_struct->type;
20798 generalShader = in_struct->generalShader;
20799 closestHitShader = in_struct->closestHitShader;
20800 anyHitShader = in_struct->anyHitShader;
20801 intersectionShader = in_struct->intersectionShader;
20802}
20803
20804void safe_VkRayTracingShaderGroupCreateInfoNV::initialize(const safe_VkRayTracingShaderGroupCreateInfoNV* src)
20805{
20806 sType = src->sType;
20807 pNext = src->pNext;
20808 type = src->type;
20809 generalShader = src->generalShader;
20810 closestHitShader = src->closestHitShader;
20811 anyHitShader = src->anyHitShader;
20812 intersectionShader = src->intersectionShader;
20813}
20814
20815safe_VkRayTracingPipelineCreateInfoNV::safe_VkRayTracingPipelineCreateInfoNV(const VkRayTracingPipelineCreateInfoNV* in_struct) :
20816 sType(in_struct->sType),
20817 pNext(in_struct->pNext),
20818 flags(in_struct->flags),
20819 stageCount(in_struct->stageCount),
20820 pStages(nullptr),
20821 groupCount(in_struct->groupCount),
20822 pGroups(nullptr),
20823 maxRecursionDepth(in_struct->maxRecursionDepth),
20824 layout(in_struct->layout),
20825 basePipelineHandle(in_struct->basePipelineHandle),
20826 basePipelineIndex(in_struct->basePipelineIndex)
20827{
20828 if (stageCount && in_struct->pStages) {
20829 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
20830 for (uint32_t i=0; i<stageCount; ++i) {
20831 pStages[i].initialize(&in_struct->pStages[i]);
20832 }
20833 }
20834 if (groupCount && in_struct->pGroups) {
20835 pGroups = new safe_VkRayTracingShaderGroupCreateInfoNV[groupCount];
20836 for (uint32_t i=0; i<groupCount; ++i) {
20837 pGroups[i].initialize(&in_struct->pGroups[i]);
20838 }
20839 }
20840}
20841
20842safe_VkRayTracingPipelineCreateInfoNV::safe_VkRayTracingPipelineCreateInfoNV() :
20843 pStages(nullptr),
20844 pGroups(nullptr)
20845{}
20846
20847safe_VkRayTracingPipelineCreateInfoNV::safe_VkRayTracingPipelineCreateInfoNV(const safe_VkRayTracingPipelineCreateInfoNV& src)
20848{
20849 sType = src.sType;
20850 pNext = src.pNext;
20851 flags = src.flags;
20852 stageCount = src.stageCount;
20853 pStages = nullptr;
20854 groupCount = src.groupCount;
20855 pGroups = nullptr;
20856 maxRecursionDepth = src.maxRecursionDepth;
20857 layout = src.layout;
20858 basePipelineHandle = src.basePipelineHandle;
20859 basePipelineIndex = src.basePipelineIndex;
20860 if (stageCount && src.pStages) {
20861 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
20862 for (uint32_t i=0; i<stageCount; ++i) {
20863 pStages[i].initialize(&src.pStages[i]);
20864 }
20865 }
20866 if (groupCount && src.pGroups) {
20867 pGroups = new safe_VkRayTracingShaderGroupCreateInfoNV[groupCount];
20868 for (uint32_t i=0; i<groupCount; ++i) {
20869 pGroups[i].initialize(&src.pGroups[i]);
20870 }
20871 }
20872}
20873
20874safe_VkRayTracingPipelineCreateInfoNV& safe_VkRayTracingPipelineCreateInfoNV::operator=(const safe_VkRayTracingPipelineCreateInfoNV& src)
20875{
20876 if (&src == this) return *this;
20877
20878 if (pStages)
20879 delete[] pStages;
20880 if (pGroups)
20881 delete[] pGroups;
20882
20883 sType = src.sType;
20884 pNext = src.pNext;
20885 flags = src.flags;
20886 stageCount = src.stageCount;
20887 pStages = nullptr;
20888 groupCount = src.groupCount;
20889 pGroups = nullptr;
20890 maxRecursionDepth = src.maxRecursionDepth;
20891 layout = src.layout;
20892 basePipelineHandle = src.basePipelineHandle;
20893 basePipelineIndex = src.basePipelineIndex;
20894 if (stageCount && src.pStages) {
20895 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
20896 for (uint32_t i=0; i<stageCount; ++i) {
20897 pStages[i].initialize(&src.pStages[i]);
20898 }
20899 }
20900 if (groupCount && src.pGroups) {
20901 pGroups = new safe_VkRayTracingShaderGroupCreateInfoNV[groupCount];
20902 for (uint32_t i=0; i<groupCount; ++i) {
20903 pGroups[i].initialize(&src.pGroups[i]);
20904 }
20905 }
20906
20907 return *this;
20908}
20909
20910safe_VkRayTracingPipelineCreateInfoNV::~safe_VkRayTracingPipelineCreateInfoNV()
20911{
20912 if (pStages)
20913 delete[] pStages;
20914 if (pGroups)
20915 delete[] pGroups;
20916}
20917
20918void safe_VkRayTracingPipelineCreateInfoNV::initialize(const VkRayTracingPipelineCreateInfoNV* in_struct)
20919{
20920 sType = in_struct->sType;
20921 pNext = in_struct->pNext;
20922 flags = in_struct->flags;
20923 stageCount = in_struct->stageCount;
20924 pStages = nullptr;
20925 groupCount = in_struct->groupCount;
20926 pGroups = nullptr;
20927 maxRecursionDepth = in_struct->maxRecursionDepth;
20928 layout = in_struct->layout;
20929 basePipelineHandle = in_struct->basePipelineHandle;
20930 basePipelineIndex = in_struct->basePipelineIndex;
20931 if (stageCount && in_struct->pStages) {
20932 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
20933 for (uint32_t i=0; i<stageCount; ++i) {
20934 pStages[i].initialize(&in_struct->pStages[i]);
20935 }
20936 }
20937 if (groupCount && in_struct->pGroups) {
20938 pGroups = new safe_VkRayTracingShaderGroupCreateInfoNV[groupCount];
20939 for (uint32_t i=0; i<groupCount; ++i) {
20940 pGroups[i].initialize(&in_struct->pGroups[i]);
20941 }
20942 }
20943}
20944
20945void safe_VkRayTracingPipelineCreateInfoNV::initialize(const safe_VkRayTracingPipelineCreateInfoNV* src)
20946{
20947 sType = src->sType;
20948 pNext = src->pNext;
20949 flags = src->flags;
20950 stageCount = src->stageCount;
20951 pStages = nullptr;
20952 groupCount = src->groupCount;
20953 pGroups = nullptr;
20954 maxRecursionDepth = src->maxRecursionDepth;
20955 layout = src->layout;
20956 basePipelineHandle = src->basePipelineHandle;
20957 basePipelineIndex = src->basePipelineIndex;
20958 if (stageCount && src->pStages) {
20959 pStages = new safe_VkPipelineShaderStageCreateInfo[stageCount];
20960 for (uint32_t i=0; i<stageCount; ++i) {
20961 pStages[i].initialize(&src->pStages[i]);
20962 }
20963 }
20964 if (groupCount && src->pGroups) {
20965 pGroups = new safe_VkRayTracingShaderGroupCreateInfoNV[groupCount];
20966 for (uint32_t i=0; i<groupCount; ++i) {
20967 pGroups[i].initialize(&src->pGroups[i]);
20968 }
20969 }
20970}
20971
20972safe_VkGeometryTrianglesNV::safe_VkGeometryTrianglesNV(const VkGeometryTrianglesNV* in_struct) :
20973 sType(in_struct->sType),
20974 pNext(in_struct->pNext),
20975 vertexData(in_struct->vertexData),
20976 vertexOffset(in_struct->vertexOffset),
20977 vertexCount(in_struct->vertexCount),
20978 vertexStride(in_struct->vertexStride),
20979 vertexFormat(in_struct->vertexFormat),
20980 indexData(in_struct->indexData),
20981 indexOffset(in_struct->indexOffset),
20982 indexCount(in_struct->indexCount),
20983 indexType(in_struct->indexType),
20984 transformData(in_struct->transformData),
20985 transformOffset(in_struct->transformOffset)
20986{
20987}
20988
20989safe_VkGeometryTrianglesNV::safe_VkGeometryTrianglesNV()
20990{}
20991
20992safe_VkGeometryTrianglesNV::safe_VkGeometryTrianglesNV(const safe_VkGeometryTrianglesNV& src)
20993{
20994 sType = src.sType;
20995 pNext = src.pNext;
20996 vertexData = src.vertexData;
20997 vertexOffset = src.vertexOffset;
20998 vertexCount = src.vertexCount;
20999 vertexStride = src.vertexStride;
21000 vertexFormat = src.vertexFormat;
21001 indexData = src.indexData;
21002 indexOffset = src.indexOffset;
21003 indexCount = src.indexCount;
21004 indexType = src.indexType;
21005 transformData = src.transformData;
21006 transformOffset = src.transformOffset;
21007}
21008
21009safe_VkGeometryTrianglesNV& safe_VkGeometryTrianglesNV::operator=(const safe_VkGeometryTrianglesNV& src)
21010{
21011 if (&src == this) return *this;
21012
21013
21014 sType = src.sType;
21015 pNext = src.pNext;
21016 vertexData = src.vertexData;
21017 vertexOffset = src.vertexOffset;
21018 vertexCount = src.vertexCount;
21019 vertexStride = src.vertexStride;
21020 vertexFormat = src.vertexFormat;
21021 indexData = src.indexData;
21022 indexOffset = src.indexOffset;
21023 indexCount = src.indexCount;
21024 indexType = src.indexType;
21025 transformData = src.transformData;
21026 transformOffset = src.transformOffset;
21027
21028 return *this;
21029}
21030
21031safe_VkGeometryTrianglesNV::~safe_VkGeometryTrianglesNV()
21032{
21033}
21034
21035void safe_VkGeometryTrianglesNV::initialize(const VkGeometryTrianglesNV* in_struct)
21036{
21037 sType = in_struct->sType;
21038 pNext = in_struct->pNext;
21039 vertexData = in_struct->vertexData;
21040 vertexOffset = in_struct->vertexOffset;
21041 vertexCount = in_struct->vertexCount;
21042 vertexStride = in_struct->vertexStride;
21043 vertexFormat = in_struct->vertexFormat;
21044 indexData = in_struct->indexData;
21045 indexOffset = in_struct->indexOffset;
21046 indexCount = in_struct->indexCount;
21047 indexType = in_struct->indexType;
21048 transformData = in_struct->transformData;
21049 transformOffset = in_struct->transformOffset;
21050}
21051
21052void safe_VkGeometryTrianglesNV::initialize(const safe_VkGeometryTrianglesNV* src)
21053{
21054 sType = src->sType;
21055 pNext = src->pNext;
21056 vertexData = src->vertexData;
21057 vertexOffset = src->vertexOffset;
21058 vertexCount = src->vertexCount;
21059 vertexStride = src->vertexStride;
21060 vertexFormat = src->vertexFormat;
21061 indexData = src->indexData;
21062 indexOffset = src->indexOffset;
21063 indexCount = src->indexCount;
21064 indexType = src->indexType;
21065 transformData = src->transformData;
21066 transformOffset = src->transformOffset;
21067}
21068
21069safe_VkGeometryAABBNV::safe_VkGeometryAABBNV(const VkGeometryAABBNV* in_struct) :
21070 sType(in_struct->sType),
21071 pNext(in_struct->pNext),
21072 aabbData(in_struct->aabbData),
21073 numAABBs(in_struct->numAABBs),
21074 stride(in_struct->stride),
21075 offset(in_struct->offset)
21076{
21077}
21078
21079safe_VkGeometryAABBNV::safe_VkGeometryAABBNV()
21080{}
21081
21082safe_VkGeometryAABBNV::safe_VkGeometryAABBNV(const safe_VkGeometryAABBNV& src)
21083{
21084 sType = src.sType;
21085 pNext = src.pNext;
21086 aabbData = src.aabbData;
21087 numAABBs = src.numAABBs;
21088 stride = src.stride;
21089 offset = src.offset;
21090}
21091
21092safe_VkGeometryAABBNV& safe_VkGeometryAABBNV::operator=(const safe_VkGeometryAABBNV& src)
21093{
21094 if (&src == this) return *this;
21095
21096
21097 sType = src.sType;
21098 pNext = src.pNext;
21099 aabbData = src.aabbData;
21100 numAABBs = src.numAABBs;
21101 stride = src.stride;
21102 offset = src.offset;
21103
21104 return *this;
21105}
21106
21107safe_VkGeometryAABBNV::~safe_VkGeometryAABBNV()
21108{
21109}
21110
21111void safe_VkGeometryAABBNV::initialize(const VkGeometryAABBNV* in_struct)
21112{
21113 sType = in_struct->sType;
21114 pNext = in_struct->pNext;
21115 aabbData = in_struct->aabbData;
21116 numAABBs = in_struct->numAABBs;
21117 stride = in_struct->stride;
21118 offset = in_struct->offset;
21119}
21120
21121void safe_VkGeometryAABBNV::initialize(const safe_VkGeometryAABBNV* src)
21122{
21123 sType = src->sType;
21124 pNext = src->pNext;
21125 aabbData = src->aabbData;
21126 numAABBs = src->numAABBs;
21127 stride = src->stride;
21128 offset = src->offset;
21129}
21130
21131safe_VkGeometryNV::safe_VkGeometryNV(const VkGeometryNV* in_struct) :
21132 sType(in_struct->sType),
21133 pNext(in_struct->pNext),
21134 geometryType(in_struct->geometryType),
21135 geometry(in_struct->geometry),
21136 flags(in_struct->flags)
21137{
21138}
21139
21140safe_VkGeometryNV::safe_VkGeometryNV()
21141{}
21142
21143safe_VkGeometryNV::safe_VkGeometryNV(const safe_VkGeometryNV& src)
21144{
21145 sType = src.sType;
21146 pNext = src.pNext;
21147 geometryType = src.geometryType;
21148 geometry = src.geometry;
21149 flags = src.flags;
21150}
21151
21152safe_VkGeometryNV& safe_VkGeometryNV::operator=(const safe_VkGeometryNV& src)
21153{
21154 if (&src == this) return *this;
21155
21156
21157 sType = src.sType;
21158 pNext = src.pNext;
21159 geometryType = src.geometryType;
21160 geometry = src.geometry;
21161 flags = src.flags;
21162
21163 return *this;
21164}
21165
21166safe_VkGeometryNV::~safe_VkGeometryNV()
21167{
21168}
21169
21170void safe_VkGeometryNV::initialize(const VkGeometryNV* in_struct)
21171{
21172 sType = in_struct->sType;
21173 pNext = in_struct->pNext;
21174 geometryType = in_struct->geometryType;
21175 geometry = in_struct->geometry;
21176 flags = in_struct->flags;
21177}
21178
21179void safe_VkGeometryNV::initialize(const safe_VkGeometryNV* src)
21180{
21181 sType = src->sType;
21182 pNext = src->pNext;
21183 geometryType = src->geometryType;
21184 geometry = src->geometry;
21185 flags = src->flags;
21186}
21187
21188safe_VkAccelerationStructureInfoNV::safe_VkAccelerationStructureInfoNV(const VkAccelerationStructureInfoNV* in_struct) :
21189 sType(in_struct->sType),
21190 pNext(in_struct->pNext),
21191 type(in_struct->type),
21192 flags(in_struct->flags),
21193 instanceCount(in_struct->instanceCount),
21194 geometryCount(in_struct->geometryCount),
21195 pGeometries(nullptr)
21196{
21197 if (geometryCount && in_struct->pGeometries) {
21198 pGeometries = new safe_VkGeometryNV[geometryCount];
21199 for (uint32_t i=0; i<geometryCount; ++i) {
21200 pGeometries[i].initialize(&in_struct->pGeometries[i]);
21201 }
21202 }
21203}
21204
21205safe_VkAccelerationStructureInfoNV::safe_VkAccelerationStructureInfoNV() :
21206 pGeometries(nullptr)
21207{}
21208
21209safe_VkAccelerationStructureInfoNV::safe_VkAccelerationStructureInfoNV(const safe_VkAccelerationStructureInfoNV& src)
21210{
21211 sType = src.sType;
21212 pNext = src.pNext;
21213 type = src.type;
21214 flags = src.flags;
21215 instanceCount = src.instanceCount;
21216 geometryCount = src.geometryCount;
21217 pGeometries = nullptr;
21218 if (geometryCount && src.pGeometries) {
21219 pGeometries = new safe_VkGeometryNV[geometryCount];
21220 for (uint32_t i=0; i<geometryCount; ++i) {
21221 pGeometries[i].initialize(&src.pGeometries[i]);
21222 }
21223 }
21224}
21225
21226safe_VkAccelerationStructureInfoNV& safe_VkAccelerationStructureInfoNV::operator=(const safe_VkAccelerationStructureInfoNV& src)
21227{
21228 if (&src == this) return *this;
21229
21230 if (pGeometries)
21231 delete[] pGeometries;
21232
21233 sType = src.sType;
21234 pNext = src.pNext;
21235 type = src.type;
21236 flags = src.flags;
21237 instanceCount = src.instanceCount;
21238 geometryCount = src.geometryCount;
21239 pGeometries = nullptr;
21240 if (geometryCount && src.pGeometries) {
21241 pGeometries = new safe_VkGeometryNV[geometryCount];
21242 for (uint32_t i=0; i<geometryCount; ++i) {
21243 pGeometries[i].initialize(&src.pGeometries[i]);
21244 }
21245 }
21246
21247 return *this;
21248}
21249
21250safe_VkAccelerationStructureInfoNV::~safe_VkAccelerationStructureInfoNV()
21251{
21252 if (pGeometries)
21253 delete[] pGeometries;
21254}
21255
21256void safe_VkAccelerationStructureInfoNV::initialize(const VkAccelerationStructureInfoNV* in_struct)
21257{
21258 sType = in_struct->sType;
21259 pNext = in_struct->pNext;
21260 type = in_struct->type;
21261 flags = in_struct->flags;
21262 instanceCount = in_struct->instanceCount;
21263 geometryCount = in_struct->geometryCount;
21264 pGeometries = nullptr;
21265 if (geometryCount && in_struct->pGeometries) {
21266 pGeometries = new safe_VkGeometryNV[geometryCount];
21267 for (uint32_t i=0; i<geometryCount; ++i) {
21268 pGeometries[i].initialize(&in_struct->pGeometries[i]);
21269 }
21270 }
21271}
21272
21273void safe_VkAccelerationStructureInfoNV::initialize(const safe_VkAccelerationStructureInfoNV* src)
21274{
21275 sType = src->sType;
21276 pNext = src->pNext;
21277 type = src->type;
21278 flags = src->flags;
21279 instanceCount = src->instanceCount;
21280 geometryCount = src->geometryCount;
21281 pGeometries = nullptr;
21282 if (geometryCount && src->pGeometries) {
21283 pGeometries = new safe_VkGeometryNV[geometryCount];
21284 for (uint32_t i=0; i<geometryCount; ++i) {
21285 pGeometries[i].initialize(&src->pGeometries[i]);
21286 }
21287 }
21288}
21289
21290safe_VkAccelerationStructureCreateInfoNV::safe_VkAccelerationStructureCreateInfoNV(const VkAccelerationStructureCreateInfoNV* in_struct) :
21291 sType(in_struct->sType),
21292 pNext(in_struct->pNext),
21293 compactedSize(in_struct->compactedSize),
21294 info(&in_struct->info)
21295{
21296}
21297
21298safe_VkAccelerationStructureCreateInfoNV::safe_VkAccelerationStructureCreateInfoNV()
21299{}
21300
21301safe_VkAccelerationStructureCreateInfoNV::safe_VkAccelerationStructureCreateInfoNV(const safe_VkAccelerationStructureCreateInfoNV& src)
21302{
21303 sType = src.sType;
21304 pNext = src.pNext;
21305 compactedSize = src.compactedSize;
21306 info.initialize(&src.info);
21307}
21308
21309safe_VkAccelerationStructureCreateInfoNV& safe_VkAccelerationStructureCreateInfoNV::operator=(const safe_VkAccelerationStructureCreateInfoNV& src)
21310{
21311 if (&src == this) return *this;
21312
21313
21314 sType = src.sType;
21315 pNext = src.pNext;
21316 compactedSize = src.compactedSize;
21317 info.initialize(&src.info);
21318
21319 return *this;
21320}
21321
21322safe_VkAccelerationStructureCreateInfoNV::~safe_VkAccelerationStructureCreateInfoNV()
21323{
21324}
21325
21326void safe_VkAccelerationStructureCreateInfoNV::initialize(const VkAccelerationStructureCreateInfoNV* in_struct)
21327{
21328 sType = in_struct->sType;
21329 pNext = in_struct->pNext;
21330 compactedSize = in_struct->compactedSize;
21331 info.initialize(&in_struct->info);
21332}
21333
21334void safe_VkAccelerationStructureCreateInfoNV::initialize(const safe_VkAccelerationStructureCreateInfoNV* src)
21335{
21336 sType = src->sType;
21337 pNext = src->pNext;
21338 compactedSize = src->compactedSize;
21339 info.initialize(&src->info);
21340}
21341
21342safe_VkBindAccelerationStructureMemoryInfoNV::safe_VkBindAccelerationStructureMemoryInfoNV(const VkBindAccelerationStructureMemoryInfoNV* in_struct) :
21343 sType(in_struct->sType),
21344 pNext(in_struct->pNext),
21345 accelerationStructure(in_struct->accelerationStructure),
21346 memory(in_struct->memory),
21347 memoryOffset(in_struct->memoryOffset),
21348 deviceIndexCount(in_struct->deviceIndexCount),
21349 pDeviceIndices(nullptr)
21350{
21351 if (in_struct->pDeviceIndices) {
21352 pDeviceIndices = new uint32_t[in_struct->deviceIndexCount];
21353 memcpy ((void *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount);
21354 }
21355}
21356
21357safe_VkBindAccelerationStructureMemoryInfoNV::safe_VkBindAccelerationStructureMemoryInfoNV() :
21358 pDeviceIndices(nullptr)
21359{}
21360
21361safe_VkBindAccelerationStructureMemoryInfoNV::safe_VkBindAccelerationStructureMemoryInfoNV(const safe_VkBindAccelerationStructureMemoryInfoNV& src)
21362{
21363 sType = src.sType;
21364 pNext = src.pNext;
21365 accelerationStructure = src.accelerationStructure;
21366 memory = src.memory;
21367 memoryOffset = src.memoryOffset;
21368 deviceIndexCount = src.deviceIndexCount;
21369 pDeviceIndices = nullptr;
21370 if (src.pDeviceIndices) {
21371 pDeviceIndices = new uint32_t[src.deviceIndexCount];
21372 memcpy ((void *)pDeviceIndices, (void *)src.pDeviceIndices, sizeof(uint32_t)*src.deviceIndexCount);
21373 }
21374}
21375
21376safe_VkBindAccelerationStructureMemoryInfoNV& safe_VkBindAccelerationStructureMemoryInfoNV::operator=(const safe_VkBindAccelerationStructureMemoryInfoNV& src)
21377{
21378 if (&src == this) return *this;
21379
21380 if (pDeviceIndices)
21381 delete[] pDeviceIndices;
21382
21383 sType = src.sType;
21384 pNext = src.pNext;
21385 accelerationStructure = src.accelerationStructure;
21386 memory = src.memory;
21387 memoryOffset = src.memoryOffset;
21388 deviceIndexCount = src.deviceIndexCount;
21389 pDeviceIndices = nullptr;
21390 if (src.pDeviceIndices) {
21391 pDeviceIndices = new uint32_t[src.deviceIndexCount];
21392 memcpy ((void *)pDeviceIndices, (void *)src.pDeviceIndices, sizeof(uint32_t)*src.deviceIndexCount);
21393 }
21394
21395 return *this;
21396}
21397
21398safe_VkBindAccelerationStructureMemoryInfoNV::~safe_VkBindAccelerationStructureMemoryInfoNV()
21399{
21400 if (pDeviceIndices)
21401 delete[] pDeviceIndices;
21402}
21403
21404void safe_VkBindAccelerationStructureMemoryInfoNV::initialize(const VkBindAccelerationStructureMemoryInfoNV* in_struct)
21405{
21406 sType = in_struct->sType;
21407 pNext = in_struct->pNext;
21408 accelerationStructure = in_struct->accelerationStructure;
21409 memory = in_struct->memory;
21410 memoryOffset = in_struct->memoryOffset;
21411 deviceIndexCount = in_struct->deviceIndexCount;
21412 pDeviceIndices = nullptr;
21413 if (in_struct->pDeviceIndices) {
21414 pDeviceIndices = new uint32_t[in_struct->deviceIndexCount];
21415 memcpy ((void *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount);
21416 }
21417}
21418
21419void safe_VkBindAccelerationStructureMemoryInfoNV::initialize(const safe_VkBindAccelerationStructureMemoryInfoNV* src)
21420{
21421 sType = src->sType;
21422 pNext = src->pNext;
21423 accelerationStructure = src->accelerationStructure;
21424 memory = src->memory;
21425 memoryOffset = src->memoryOffset;
21426 deviceIndexCount = src->deviceIndexCount;
21427 pDeviceIndices = nullptr;
21428 if (src->pDeviceIndices) {
21429 pDeviceIndices = new uint32_t[src->deviceIndexCount];
21430 memcpy ((void *)pDeviceIndices, (void *)src->pDeviceIndices, sizeof(uint32_t)*src->deviceIndexCount);
21431 }
21432}
21433
21434safe_VkWriteDescriptorSetAccelerationStructureNV::safe_VkWriteDescriptorSetAccelerationStructureNV(const VkWriteDescriptorSetAccelerationStructureNV* in_struct) :
21435 sType(in_struct->sType),
21436 pNext(in_struct->pNext),
21437 accelerationStructureCount(in_struct->accelerationStructureCount),
21438 pAccelerationStructures(nullptr)
21439{
21440 if (accelerationStructureCount && in_struct->pAccelerationStructures) {
21441 pAccelerationStructures = new VkAccelerationStructureNV[accelerationStructureCount];
21442 for (uint32_t i=0; i<accelerationStructureCount; ++i) {
21443 pAccelerationStructures[i] = in_struct->pAccelerationStructures[i];
21444 }
21445 }
21446}
21447
21448safe_VkWriteDescriptorSetAccelerationStructureNV::safe_VkWriteDescriptorSetAccelerationStructureNV() :
21449 pAccelerationStructures(nullptr)
21450{}
21451
21452safe_VkWriteDescriptorSetAccelerationStructureNV::safe_VkWriteDescriptorSetAccelerationStructureNV(const safe_VkWriteDescriptorSetAccelerationStructureNV& src)
21453{
21454 sType = src.sType;
21455 pNext = src.pNext;
21456 accelerationStructureCount = src.accelerationStructureCount;
21457 pAccelerationStructures = nullptr;
21458 if (accelerationStructureCount && src.pAccelerationStructures) {
21459 pAccelerationStructures = new VkAccelerationStructureNV[accelerationStructureCount];
21460 for (uint32_t i=0; i<accelerationStructureCount; ++i) {
21461 pAccelerationStructures[i] = src.pAccelerationStructures[i];
21462 }
21463 }
21464}
21465
21466safe_VkWriteDescriptorSetAccelerationStructureNV& safe_VkWriteDescriptorSetAccelerationStructureNV::operator=(const safe_VkWriteDescriptorSetAccelerationStructureNV& src)
21467{
21468 if (&src == this) return *this;
21469
21470 if (pAccelerationStructures)
21471 delete[] pAccelerationStructures;
21472
21473 sType = src.sType;
21474 pNext = src.pNext;
21475 accelerationStructureCount = src.accelerationStructureCount;
21476 pAccelerationStructures = nullptr;
21477 if (accelerationStructureCount && src.pAccelerationStructures) {
21478 pAccelerationStructures = new VkAccelerationStructureNV[accelerationStructureCount];
21479 for (uint32_t i=0; i<accelerationStructureCount; ++i) {
21480 pAccelerationStructures[i] = src.pAccelerationStructures[i];
21481 }
21482 }
21483
21484 return *this;
21485}
21486
21487safe_VkWriteDescriptorSetAccelerationStructureNV::~safe_VkWriteDescriptorSetAccelerationStructureNV()
21488{
21489 if (pAccelerationStructures)
21490 delete[] pAccelerationStructures;
21491}
21492
21493void safe_VkWriteDescriptorSetAccelerationStructureNV::initialize(const VkWriteDescriptorSetAccelerationStructureNV* in_struct)
21494{
21495 sType = in_struct->sType;
21496 pNext = in_struct->pNext;
21497 accelerationStructureCount = in_struct->accelerationStructureCount;
21498 pAccelerationStructures = nullptr;
21499 if (accelerationStructureCount && in_struct->pAccelerationStructures) {
21500 pAccelerationStructures = new VkAccelerationStructureNV[accelerationStructureCount];
21501 for (uint32_t i=0; i<accelerationStructureCount; ++i) {
21502 pAccelerationStructures[i] = in_struct->pAccelerationStructures[i];
21503 }
21504 }
21505}
21506
21507void safe_VkWriteDescriptorSetAccelerationStructureNV::initialize(const safe_VkWriteDescriptorSetAccelerationStructureNV* src)
21508{
21509 sType = src->sType;
21510 pNext = src->pNext;
21511 accelerationStructureCount = src->accelerationStructureCount;
21512 pAccelerationStructures = nullptr;
21513 if (accelerationStructureCount && src->pAccelerationStructures) {
21514 pAccelerationStructures = new VkAccelerationStructureNV[accelerationStructureCount];
21515 for (uint32_t i=0; i<accelerationStructureCount; ++i) {
21516 pAccelerationStructures[i] = src->pAccelerationStructures[i];
21517 }
21518 }
21519}
21520
21521safe_VkAccelerationStructureMemoryRequirementsInfoNV::safe_VkAccelerationStructureMemoryRequirementsInfoNV(const VkAccelerationStructureMemoryRequirementsInfoNV* in_struct) :
21522 sType(in_struct->sType),
21523 pNext(in_struct->pNext),
21524 type(in_struct->type),
21525 accelerationStructure(in_struct->accelerationStructure)
21526{
21527}
21528
21529safe_VkAccelerationStructureMemoryRequirementsInfoNV::safe_VkAccelerationStructureMemoryRequirementsInfoNV()
21530{}
21531
21532safe_VkAccelerationStructureMemoryRequirementsInfoNV::safe_VkAccelerationStructureMemoryRequirementsInfoNV(const safe_VkAccelerationStructureMemoryRequirementsInfoNV& src)
21533{
21534 sType = src.sType;
21535 pNext = src.pNext;
21536 type = src.type;
21537 accelerationStructure = src.accelerationStructure;
21538}
21539
21540safe_VkAccelerationStructureMemoryRequirementsInfoNV& safe_VkAccelerationStructureMemoryRequirementsInfoNV::operator=(const safe_VkAccelerationStructureMemoryRequirementsInfoNV& src)
21541{
21542 if (&src == this) return *this;
21543
21544
21545 sType = src.sType;
21546 pNext = src.pNext;
21547 type = src.type;
21548 accelerationStructure = src.accelerationStructure;
21549
21550 return *this;
21551}
21552
21553safe_VkAccelerationStructureMemoryRequirementsInfoNV::~safe_VkAccelerationStructureMemoryRequirementsInfoNV()
21554{
21555}
21556
21557void safe_VkAccelerationStructureMemoryRequirementsInfoNV::initialize(const VkAccelerationStructureMemoryRequirementsInfoNV* in_struct)
21558{
21559 sType = in_struct->sType;
21560 pNext = in_struct->pNext;
21561 type = in_struct->type;
21562 accelerationStructure = in_struct->accelerationStructure;
21563}
21564
21565void safe_VkAccelerationStructureMemoryRequirementsInfoNV::initialize(const safe_VkAccelerationStructureMemoryRequirementsInfoNV* src)
21566{
21567 sType = src->sType;
21568 pNext = src->pNext;
21569 type = src->type;
21570 accelerationStructure = src->accelerationStructure;
21571}
21572
21573safe_VkPhysicalDeviceRayTracingPropertiesNV::safe_VkPhysicalDeviceRayTracingPropertiesNV(const VkPhysicalDeviceRayTracingPropertiesNV* in_struct) :
21574 sType(in_struct->sType),
21575 pNext(in_struct->pNext),
21576 shaderGroupHandleSize(in_struct->shaderGroupHandleSize),
21577 maxRecursionDepth(in_struct->maxRecursionDepth),
21578 maxShaderGroupStride(in_struct->maxShaderGroupStride),
21579 shaderGroupBaseAlignment(in_struct->shaderGroupBaseAlignment),
21580 maxGeometryCount(in_struct->maxGeometryCount),
21581 maxInstanceCount(in_struct->maxInstanceCount),
21582 maxTriangleCount(in_struct->maxTriangleCount),
21583 maxDescriptorSetAccelerationStructures(in_struct->maxDescriptorSetAccelerationStructures)
21584{
21585}
21586
21587safe_VkPhysicalDeviceRayTracingPropertiesNV::safe_VkPhysicalDeviceRayTracingPropertiesNV()
21588{}
21589
21590safe_VkPhysicalDeviceRayTracingPropertiesNV::safe_VkPhysicalDeviceRayTracingPropertiesNV(const safe_VkPhysicalDeviceRayTracingPropertiesNV& src)
21591{
21592 sType = src.sType;
21593 pNext = src.pNext;
21594 shaderGroupHandleSize = src.shaderGroupHandleSize;
21595 maxRecursionDepth = src.maxRecursionDepth;
21596 maxShaderGroupStride = src.maxShaderGroupStride;
21597 shaderGroupBaseAlignment = src.shaderGroupBaseAlignment;
21598 maxGeometryCount = src.maxGeometryCount;
21599 maxInstanceCount = src.maxInstanceCount;
21600 maxTriangleCount = src.maxTriangleCount;
21601 maxDescriptorSetAccelerationStructures = src.maxDescriptorSetAccelerationStructures;
21602}
21603
21604safe_VkPhysicalDeviceRayTracingPropertiesNV& safe_VkPhysicalDeviceRayTracingPropertiesNV::operator=(const safe_VkPhysicalDeviceRayTracingPropertiesNV& src)
21605{
21606 if (&src == this) return *this;
21607
21608
21609 sType = src.sType;
21610 pNext = src.pNext;
21611 shaderGroupHandleSize = src.shaderGroupHandleSize;
21612 maxRecursionDepth = src.maxRecursionDepth;
21613 maxShaderGroupStride = src.maxShaderGroupStride;
21614 shaderGroupBaseAlignment = src.shaderGroupBaseAlignment;
21615 maxGeometryCount = src.maxGeometryCount;
21616 maxInstanceCount = src.maxInstanceCount;
21617 maxTriangleCount = src.maxTriangleCount;
21618 maxDescriptorSetAccelerationStructures = src.maxDescriptorSetAccelerationStructures;
21619
21620 return *this;
21621}
21622
21623safe_VkPhysicalDeviceRayTracingPropertiesNV::~safe_VkPhysicalDeviceRayTracingPropertiesNV()
21624{
21625}
21626
21627void safe_VkPhysicalDeviceRayTracingPropertiesNV::initialize(const VkPhysicalDeviceRayTracingPropertiesNV* in_struct)
21628{
21629 sType = in_struct->sType;
21630 pNext = in_struct->pNext;
21631 shaderGroupHandleSize = in_struct->shaderGroupHandleSize;
21632 maxRecursionDepth = in_struct->maxRecursionDepth;
21633 maxShaderGroupStride = in_struct->maxShaderGroupStride;
21634 shaderGroupBaseAlignment = in_struct->shaderGroupBaseAlignment;
21635 maxGeometryCount = in_struct->maxGeometryCount;
21636 maxInstanceCount = in_struct->maxInstanceCount;
21637 maxTriangleCount = in_struct->maxTriangleCount;
21638 maxDescriptorSetAccelerationStructures = in_struct->maxDescriptorSetAccelerationStructures;
21639}
21640
21641void safe_VkPhysicalDeviceRayTracingPropertiesNV::initialize(const safe_VkPhysicalDeviceRayTracingPropertiesNV* src)
21642{
21643 sType = src->sType;
21644 pNext = src->pNext;
21645 shaderGroupHandleSize = src->shaderGroupHandleSize;
21646 maxRecursionDepth = src->maxRecursionDepth;
21647 maxShaderGroupStride = src->maxShaderGroupStride;
21648 shaderGroupBaseAlignment = src->shaderGroupBaseAlignment;
21649 maxGeometryCount = src->maxGeometryCount;
21650 maxInstanceCount = src->maxInstanceCount;
21651 maxTriangleCount = src->maxTriangleCount;
21652 maxDescriptorSetAccelerationStructures = src->maxDescriptorSetAccelerationStructures;
21653}
21654
21655safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV(const VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV* in_struct) :
21656 sType(in_struct->sType),
21657 pNext(in_struct->pNext),
21658 representativeFragmentTest(in_struct->representativeFragmentTest)
21659{
21660}
21661
21662safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV()
21663{}
21664
21665safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV(const safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV& src)
21666{
21667 sType = src.sType;
21668 pNext = src.pNext;
21669 representativeFragmentTest = src.representativeFragmentTest;
21670}
21671
21672safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV& safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::operator=(const safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV& src)
21673{
21674 if (&src == this) return *this;
21675
21676
21677 sType = src.sType;
21678 pNext = src.pNext;
21679 representativeFragmentTest = src.representativeFragmentTest;
21680
21681 return *this;
21682}
21683
21684safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::~safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV()
21685{
21686}
21687
21688void safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::initialize(const VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV* in_struct)
21689{
21690 sType = in_struct->sType;
21691 pNext = in_struct->pNext;
21692 representativeFragmentTest = in_struct->representativeFragmentTest;
21693}
21694
21695void safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::initialize(const safe_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV* src)
21696{
21697 sType = src->sType;
21698 pNext = src->pNext;
21699 representativeFragmentTest = src->representativeFragmentTest;
21700}
21701
21702safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV::safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV(const VkPipelineRepresentativeFragmentTestStateCreateInfoNV* in_struct) :
21703 sType(in_struct->sType),
21704 pNext(in_struct->pNext),
21705 representativeFragmentTestEnable(in_struct->representativeFragmentTestEnable)
21706{
21707}
21708
21709safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV::safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV()
21710{}
21711
21712safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV::safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV(const safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV& src)
21713{
21714 sType = src.sType;
21715 pNext = src.pNext;
21716 representativeFragmentTestEnable = src.representativeFragmentTestEnable;
21717}
21718
21719safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV& safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV::operator=(const safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV& src)
21720{
21721 if (&src == this) return *this;
21722
21723
21724 sType = src.sType;
21725 pNext = src.pNext;
21726 representativeFragmentTestEnable = src.representativeFragmentTestEnable;
21727
21728 return *this;
21729}
21730
21731safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV::~safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV()
21732{
21733}
21734
21735void safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV::initialize(const VkPipelineRepresentativeFragmentTestStateCreateInfoNV* in_struct)
21736{
21737 sType = in_struct->sType;
21738 pNext = in_struct->pNext;
21739 representativeFragmentTestEnable = in_struct->representativeFragmentTestEnable;
21740}
21741
21742void safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV::initialize(const safe_VkPipelineRepresentativeFragmentTestStateCreateInfoNV* src)
21743{
21744 sType = src->sType;
21745 pNext = src->pNext;
21746 representativeFragmentTestEnable = src->representativeFragmentTestEnable;
21747}
21748
21749safe_VkPhysicalDeviceImageViewImageFormatInfoEXT::safe_VkPhysicalDeviceImageViewImageFormatInfoEXT(const VkPhysicalDeviceImageViewImageFormatInfoEXT* in_struct) :
21750 sType(in_struct->sType),
21751 pNext(in_struct->pNext),
21752 imageViewType(in_struct->imageViewType)
21753{
21754}
21755
21756safe_VkPhysicalDeviceImageViewImageFormatInfoEXT::safe_VkPhysicalDeviceImageViewImageFormatInfoEXT()
21757{}
21758
21759safe_VkPhysicalDeviceImageViewImageFormatInfoEXT::safe_VkPhysicalDeviceImageViewImageFormatInfoEXT(const safe_VkPhysicalDeviceImageViewImageFormatInfoEXT& src)
21760{
21761 sType = src.sType;
21762 pNext = src.pNext;
21763 imageViewType = src.imageViewType;
21764}
21765
21766safe_VkPhysicalDeviceImageViewImageFormatInfoEXT& safe_VkPhysicalDeviceImageViewImageFormatInfoEXT::operator=(const safe_VkPhysicalDeviceImageViewImageFormatInfoEXT& src)
21767{
21768 if (&src == this) return *this;
21769
21770
21771 sType = src.sType;
21772 pNext = src.pNext;
21773 imageViewType = src.imageViewType;
21774
21775 return *this;
21776}
21777
21778safe_VkPhysicalDeviceImageViewImageFormatInfoEXT::~safe_VkPhysicalDeviceImageViewImageFormatInfoEXT()
21779{
21780}
21781
21782void safe_VkPhysicalDeviceImageViewImageFormatInfoEXT::initialize(const VkPhysicalDeviceImageViewImageFormatInfoEXT* in_struct)
21783{
21784 sType = in_struct->sType;
21785 pNext = in_struct->pNext;
21786 imageViewType = in_struct->imageViewType;
21787}
21788
21789void safe_VkPhysicalDeviceImageViewImageFormatInfoEXT::initialize(const safe_VkPhysicalDeviceImageViewImageFormatInfoEXT* src)
21790{
21791 sType = src->sType;
21792 pNext = src->pNext;
21793 imageViewType = src->imageViewType;
21794}
21795
21796safe_VkFilterCubicImageViewImageFormatPropertiesEXT::safe_VkFilterCubicImageViewImageFormatPropertiesEXT(const VkFilterCubicImageViewImageFormatPropertiesEXT* in_struct) :
21797 sType(in_struct->sType),
21798 pNext(in_struct->pNext),
21799 filterCubic(in_struct->filterCubic),
21800 filterCubicMinmax(in_struct->filterCubicMinmax)
21801{
21802}
21803
21804safe_VkFilterCubicImageViewImageFormatPropertiesEXT::safe_VkFilterCubicImageViewImageFormatPropertiesEXT()
21805{}
21806
21807safe_VkFilterCubicImageViewImageFormatPropertiesEXT::safe_VkFilterCubicImageViewImageFormatPropertiesEXT(const safe_VkFilterCubicImageViewImageFormatPropertiesEXT& src)
21808{
21809 sType = src.sType;
21810 pNext = src.pNext;
21811 filterCubic = src.filterCubic;
21812 filterCubicMinmax = src.filterCubicMinmax;
21813}
21814
21815safe_VkFilterCubicImageViewImageFormatPropertiesEXT& safe_VkFilterCubicImageViewImageFormatPropertiesEXT::operator=(const safe_VkFilterCubicImageViewImageFormatPropertiesEXT& src)
21816{
21817 if (&src == this) return *this;
21818
21819
21820 sType = src.sType;
21821 pNext = src.pNext;
21822 filterCubic = src.filterCubic;
21823 filterCubicMinmax = src.filterCubicMinmax;
21824
21825 return *this;
21826}
21827
21828safe_VkFilterCubicImageViewImageFormatPropertiesEXT::~safe_VkFilterCubicImageViewImageFormatPropertiesEXT()
21829{
21830}
21831
21832void safe_VkFilterCubicImageViewImageFormatPropertiesEXT::initialize(const VkFilterCubicImageViewImageFormatPropertiesEXT* in_struct)
21833{
21834 sType = in_struct->sType;
21835 pNext = in_struct->pNext;
21836 filterCubic = in_struct->filterCubic;
21837 filterCubicMinmax = in_struct->filterCubicMinmax;
21838}
21839
21840void safe_VkFilterCubicImageViewImageFormatPropertiesEXT::initialize(const safe_VkFilterCubicImageViewImageFormatPropertiesEXT* src)
21841{
21842 sType = src->sType;
21843 pNext = src->pNext;
21844 filterCubic = src->filterCubic;
21845 filterCubicMinmax = src->filterCubicMinmax;
21846}
21847
21848safe_VkDeviceQueueGlobalPriorityCreateInfoEXT::safe_VkDeviceQueueGlobalPriorityCreateInfoEXT(const VkDeviceQueueGlobalPriorityCreateInfoEXT* in_struct) :
21849 sType(in_struct->sType),
21850 pNext(in_struct->pNext),
21851 globalPriority(in_struct->globalPriority)
21852{
21853}
21854
21855safe_VkDeviceQueueGlobalPriorityCreateInfoEXT::safe_VkDeviceQueueGlobalPriorityCreateInfoEXT()
21856{}
21857
21858safe_VkDeviceQueueGlobalPriorityCreateInfoEXT::safe_VkDeviceQueueGlobalPriorityCreateInfoEXT(const safe_VkDeviceQueueGlobalPriorityCreateInfoEXT& src)
21859{
21860 sType = src.sType;
21861 pNext = src.pNext;
21862 globalPriority = src.globalPriority;
21863}
21864
21865safe_VkDeviceQueueGlobalPriorityCreateInfoEXT& safe_VkDeviceQueueGlobalPriorityCreateInfoEXT::operator=(const safe_VkDeviceQueueGlobalPriorityCreateInfoEXT& src)
21866{
21867 if (&src == this) return *this;
21868
21869
21870 sType = src.sType;
21871 pNext = src.pNext;
21872 globalPriority = src.globalPriority;
21873
21874 return *this;
21875}
21876
21877safe_VkDeviceQueueGlobalPriorityCreateInfoEXT::~safe_VkDeviceQueueGlobalPriorityCreateInfoEXT()
21878{
21879}
21880
21881void safe_VkDeviceQueueGlobalPriorityCreateInfoEXT::initialize(const VkDeviceQueueGlobalPriorityCreateInfoEXT* in_struct)
21882{
21883 sType = in_struct->sType;
21884 pNext = in_struct->pNext;
21885 globalPriority = in_struct->globalPriority;
21886}
21887
21888void safe_VkDeviceQueueGlobalPriorityCreateInfoEXT::initialize(const safe_VkDeviceQueueGlobalPriorityCreateInfoEXT* src)
21889{
21890 sType = src->sType;
21891 pNext = src->pNext;
21892 globalPriority = src->globalPriority;
21893}
21894
21895safe_VkImportMemoryHostPointerInfoEXT::safe_VkImportMemoryHostPointerInfoEXT(const VkImportMemoryHostPointerInfoEXT* in_struct) :
21896 sType(in_struct->sType),
21897 pNext(in_struct->pNext),
21898 handleType(in_struct->handleType),
21899 pHostPointer(in_struct->pHostPointer)
21900{
21901}
21902
21903safe_VkImportMemoryHostPointerInfoEXT::safe_VkImportMemoryHostPointerInfoEXT()
21904{}
21905
21906safe_VkImportMemoryHostPointerInfoEXT::safe_VkImportMemoryHostPointerInfoEXT(const safe_VkImportMemoryHostPointerInfoEXT& src)
21907{
21908 sType = src.sType;
21909 pNext = src.pNext;
21910 handleType = src.handleType;
21911 pHostPointer = src.pHostPointer;
21912}
21913
21914safe_VkImportMemoryHostPointerInfoEXT& safe_VkImportMemoryHostPointerInfoEXT::operator=(const safe_VkImportMemoryHostPointerInfoEXT& src)
21915{
21916 if (&src == this) return *this;
21917
21918
21919 sType = src.sType;
21920 pNext = src.pNext;
21921 handleType = src.handleType;
21922 pHostPointer = src.pHostPointer;
21923
21924 return *this;
21925}
21926
21927safe_VkImportMemoryHostPointerInfoEXT::~safe_VkImportMemoryHostPointerInfoEXT()
21928{
21929}
21930
21931void safe_VkImportMemoryHostPointerInfoEXT::initialize(const VkImportMemoryHostPointerInfoEXT* in_struct)
21932{
21933 sType = in_struct->sType;
21934 pNext = in_struct->pNext;
21935 handleType = in_struct->handleType;
21936 pHostPointer = in_struct->pHostPointer;
21937}
21938
21939void safe_VkImportMemoryHostPointerInfoEXT::initialize(const safe_VkImportMemoryHostPointerInfoEXT* src)
21940{
21941 sType = src->sType;
21942 pNext = src->pNext;
21943 handleType = src->handleType;
21944 pHostPointer = src->pHostPointer;
21945}
21946
21947safe_VkMemoryHostPointerPropertiesEXT::safe_VkMemoryHostPointerPropertiesEXT(const VkMemoryHostPointerPropertiesEXT* in_struct) :
21948 sType(in_struct->sType),
21949 pNext(in_struct->pNext),
21950 memoryTypeBits(in_struct->memoryTypeBits)
21951{
21952}
21953
21954safe_VkMemoryHostPointerPropertiesEXT::safe_VkMemoryHostPointerPropertiesEXT()
21955{}
21956
21957safe_VkMemoryHostPointerPropertiesEXT::safe_VkMemoryHostPointerPropertiesEXT(const safe_VkMemoryHostPointerPropertiesEXT& src)
21958{
21959 sType = src.sType;
21960 pNext = src.pNext;
21961 memoryTypeBits = src.memoryTypeBits;
21962}
21963
21964safe_VkMemoryHostPointerPropertiesEXT& safe_VkMemoryHostPointerPropertiesEXT::operator=(const safe_VkMemoryHostPointerPropertiesEXT& src)
21965{
21966 if (&src == this) return *this;
21967
21968
21969 sType = src.sType;
21970 pNext = src.pNext;
21971 memoryTypeBits = src.memoryTypeBits;
21972
21973 return *this;
21974}
21975
21976safe_VkMemoryHostPointerPropertiesEXT::~safe_VkMemoryHostPointerPropertiesEXT()
21977{
21978}
21979
21980void safe_VkMemoryHostPointerPropertiesEXT::initialize(const VkMemoryHostPointerPropertiesEXT* in_struct)
21981{
21982 sType = in_struct->sType;
21983 pNext = in_struct->pNext;
21984 memoryTypeBits = in_struct->memoryTypeBits;
21985}
21986
21987void safe_VkMemoryHostPointerPropertiesEXT::initialize(const safe_VkMemoryHostPointerPropertiesEXT* src)
21988{
21989 sType = src->sType;
21990 pNext = src->pNext;
21991 memoryTypeBits = src->memoryTypeBits;
21992}
21993
21994safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT::safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT(const VkPhysicalDeviceExternalMemoryHostPropertiesEXT* in_struct) :
21995 sType(in_struct->sType),
21996 pNext(in_struct->pNext),
21997 minImportedHostPointerAlignment(in_struct->minImportedHostPointerAlignment)
21998{
21999}
22000
22001safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT::safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT()
22002{}
22003
22004safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT::safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT(const safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT& src)
22005{
22006 sType = src.sType;
22007 pNext = src.pNext;
22008 minImportedHostPointerAlignment = src.minImportedHostPointerAlignment;
22009}
22010
22011safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT& safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT::operator=(const safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT& src)
22012{
22013 if (&src == this) return *this;
22014
22015
22016 sType = src.sType;
22017 pNext = src.pNext;
22018 minImportedHostPointerAlignment = src.minImportedHostPointerAlignment;
22019
22020 return *this;
22021}
22022
22023safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT::~safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT()
22024{
22025}
22026
22027void safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT::initialize(const VkPhysicalDeviceExternalMemoryHostPropertiesEXT* in_struct)
22028{
22029 sType = in_struct->sType;
22030 pNext = in_struct->pNext;
22031 minImportedHostPointerAlignment = in_struct->minImportedHostPointerAlignment;
22032}
22033
22034void safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT::initialize(const safe_VkPhysicalDeviceExternalMemoryHostPropertiesEXT* src)
22035{
22036 sType = src->sType;
22037 pNext = src->pNext;
22038 minImportedHostPointerAlignment = src->minImportedHostPointerAlignment;
22039}
22040
22041safe_VkCalibratedTimestampInfoEXT::safe_VkCalibratedTimestampInfoEXT(const VkCalibratedTimestampInfoEXT* in_struct) :
22042 sType(in_struct->sType),
22043 pNext(in_struct->pNext),
22044 timeDomain(in_struct->timeDomain)
22045{
22046}
22047
22048safe_VkCalibratedTimestampInfoEXT::safe_VkCalibratedTimestampInfoEXT()
22049{}
22050
22051safe_VkCalibratedTimestampInfoEXT::safe_VkCalibratedTimestampInfoEXT(const safe_VkCalibratedTimestampInfoEXT& src)
22052{
22053 sType = src.sType;
22054 pNext = src.pNext;
22055 timeDomain = src.timeDomain;
22056}
22057
22058safe_VkCalibratedTimestampInfoEXT& safe_VkCalibratedTimestampInfoEXT::operator=(const safe_VkCalibratedTimestampInfoEXT& src)
22059{
22060 if (&src == this) return *this;
22061
22062
22063 sType = src.sType;
22064 pNext = src.pNext;
22065 timeDomain = src.timeDomain;
22066
22067 return *this;
22068}
22069
22070safe_VkCalibratedTimestampInfoEXT::~safe_VkCalibratedTimestampInfoEXT()
22071{
22072}
22073
22074void safe_VkCalibratedTimestampInfoEXT::initialize(const VkCalibratedTimestampInfoEXT* in_struct)
22075{
22076 sType = in_struct->sType;
22077 pNext = in_struct->pNext;
22078 timeDomain = in_struct->timeDomain;
22079}
22080
22081void safe_VkCalibratedTimestampInfoEXT::initialize(const safe_VkCalibratedTimestampInfoEXT* src)
22082{
22083 sType = src->sType;
22084 pNext = src->pNext;
22085 timeDomain = src->timeDomain;
22086}
22087
22088safe_VkPhysicalDeviceShaderCorePropertiesAMD::safe_VkPhysicalDeviceShaderCorePropertiesAMD(const VkPhysicalDeviceShaderCorePropertiesAMD* in_struct) :
22089 sType(in_struct->sType),
22090 pNext(in_struct->pNext),
22091 shaderEngineCount(in_struct->shaderEngineCount),
22092 shaderArraysPerEngineCount(in_struct->shaderArraysPerEngineCount),
22093 computeUnitsPerShaderArray(in_struct->computeUnitsPerShaderArray),
22094 simdPerComputeUnit(in_struct->simdPerComputeUnit),
22095 wavefrontsPerSimd(in_struct->wavefrontsPerSimd),
22096 wavefrontSize(in_struct->wavefrontSize),
22097 sgprsPerSimd(in_struct->sgprsPerSimd),
22098 minSgprAllocation(in_struct->minSgprAllocation),
22099 maxSgprAllocation(in_struct->maxSgprAllocation),
22100 sgprAllocationGranularity(in_struct->sgprAllocationGranularity),
22101 vgprsPerSimd(in_struct->vgprsPerSimd),
22102 minVgprAllocation(in_struct->minVgprAllocation),
22103 maxVgprAllocation(in_struct->maxVgprAllocation),
22104 vgprAllocationGranularity(in_struct->vgprAllocationGranularity)
22105{
22106}
22107
22108safe_VkPhysicalDeviceShaderCorePropertiesAMD::safe_VkPhysicalDeviceShaderCorePropertiesAMD()
22109{}
22110
22111safe_VkPhysicalDeviceShaderCorePropertiesAMD::safe_VkPhysicalDeviceShaderCorePropertiesAMD(const safe_VkPhysicalDeviceShaderCorePropertiesAMD& src)
22112{
22113 sType = src.sType;
22114 pNext = src.pNext;
22115 shaderEngineCount = src.shaderEngineCount;
22116 shaderArraysPerEngineCount = src.shaderArraysPerEngineCount;
22117 computeUnitsPerShaderArray = src.computeUnitsPerShaderArray;
22118 simdPerComputeUnit = src.simdPerComputeUnit;
22119 wavefrontsPerSimd = src.wavefrontsPerSimd;
22120 wavefrontSize = src.wavefrontSize;
22121 sgprsPerSimd = src.sgprsPerSimd;
22122 minSgprAllocation = src.minSgprAllocation;
22123 maxSgprAllocation = src.maxSgprAllocation;
22124 sgprAllocationGranularity = src.sgprAllocationGranularity;
22125 vgprsPerSimd = src.vgprsPerSimd;
22126 minVgprAllocation = src.minVgprAllocation;
22127 maxVgprAllocation = src.maxVgprAllocation;
22128 vgprAllocationGranularity = src.vgprAllocationGranularity;
22129}
22130
22131safe_VkPhysicalDeviceShaderCorePropertiesAMD& safe_VkPhysicalDeviceShaderCorePropertiesAMD::operator=(const safe_VkPhysicalDeviceShaderCorePropertiesAMD& src)
22132{
22133 if (&src == this) return *this;
22134
22135
22136 sType = src.sType;
22137 pNext = src.pNext;
22138 shaderEngineCount = src.shaderEngineCount;
22139 shaderArraysPerEngineCount = src.shaderArraysPerEngineCount;
22140 computeUnitsPerShaderArray = src.computeUnitsPerShaderArray;
22141 simdPerComputeUnit = src.simdPerComputeUnit;
22142 wavefrontsPerSimd = src.wavefrontsPerSimd;
22143 wavefrontSize = src.wavefrontSize;
22144 sgprsPerSimd = src.sgprsPerSimd;
22145 minSgprAllocation = src.minSgprAllocation;
22146 maxSgprAllocation = src.maxSgprAllocation;
22147 sgprAllocationGranularity = src.sgprAllocationGranularity;
22148 vgprsPerSimd = src.vgprsPerSimd;
22149 minVgprAllocation = src.minVgprAllocation;
22150 maxVgprAllocation = src.maxVgprAllocation;
22151 vgprAllocationGranularity = src.vgprAllocationGranularity;
22152
22153 return *this;
22154}
22155
22156safe_VkPhysicalDeviceShaderCorePropertiesAMD::~safe_VkPhysicalDeviceShaderCorePropertiesAMD()
22157{
22158}
22159
22160void safe_VkPhysicalDeviceShaderCorePropertiesAMD::initialize(const VkPhysicalDeviceShaderCorePropertiesAMD* in_struct)
22161{
22162 sType = in_struct->sType;
22163 pNext = in_struct->pNext;
22164 shaderEngineCount = in_struct->shaderEngineCount;
22165 shaderArraysPerEngineCount = in_struct->shaderArraysPerEngineCount;
22166 computeUnitsPerShaderArray = in_struct->computeUnitsPerShaderArray;
22167 simdPerComputeUnit = in_struct->simdPerComputeUnit;
22168 wavefrontsPerSimd = in_struct->wavefrontsPerSimd;
22169 wavefrontSize = in_struct->wavefrontSize;
22170 sgprsPerSimd = in_struct->sgprsPerSimd;
22171 minSgprAllocation = in_struct->minSgprAllocation;
22172 maxSgprAllocation = in_struct->maxSgprAllocation;
22173 sgprAllocationGranularity = in_struct->sgprAllocationGranularity;
22174 vgprsPerSimd = in_struct->vgprsPerSimd;
22175 minVgprAllocation = in_struct->minVgprAllocation;
22176 maxVgprAllocation = in_struct->maxVgprAllocation;
22177 vgprAllocationGranularity = in_struct->vgprAllocationGranularity;
22178}
22179
22180void safe_VkPhysicalDeviceShaderCorePropertiesAMD::initialize(const safe_VkPhysicalDeviceShaderCorePropertiesAMD* src)
22181{
22182 sType = src->sType;
22183 pNext = src->pNext;
22184 shaderEngineCount = src->shaderEngineCount;
22185 shaderArraysPerEngineCount = src->shaderArraysPerEngineCount;
22186 computeUnitsPerShaderArray = src->computeUnitsPerShaderArray;
22187 simdPerComputeUnit = src->simdPerComputeUnit;
22188 wavefrontsPerSimd = src->wavefrontsPerSimd;
22189 wavefrontSize = src->wavefrontSize;
22190 sgprsPerSimd = src->sgprsPerSimd;
22191 minSgprAllocation = src->minSgprAllocation;
22192 maxSgprAllocation = src->maxSgprAllocation;
22193 sgprAllocationGranularity = src->sgprAllocationGranularity;
22194 vgprsPerSimd = src->vgprsPerSimd;
22195 minVgprAllocation = src->minVgprAllocation;
22196 maxVgprAllocation = src->maxVgprAllocation;
22197 vgprAllocationGranularity = src->vgprAllocationGranularity;
22198}
22199
22200safe_VkDeviceMemoryOverallocationCreateInfoAMD::safe_VkDeviceMemoryOverallocationCreateInfoAMD(const VkDeviceMemoryOverallocationCreateInfoAMD* in_struct) :
22201 sType(in_struct->sType),
22202 pNext(in_struct->pNext),
22203 overallocationBehavior(in_struct->overallocationBehavior)
22204{
22205}
22206
22207safe_VkDeviceMemoryOverallocationCreateInfoAMD::safe_VkDeviceMemoryOverallocationCreateInfoAMD()
22208{}
22209
22210safe_VkDeviceMemoryOverallocationCreateInfoAMD::safe_VkDeviceMemoryOverallocationCreateInfoAMD(const safe_VkDeviceMemoryOverallocationCreateInfoAMD& src)
22211{
22212 sType = src.sType;
22213 pNext = src.pNext;
22214 overallocationBehavior = src.overallocationBehavior;
22215}
22216
22217safe_VkDeviceMemoryOverallocationCreateInfoAMD& safe_VkDeviceMemoryOverallocationCreateInfoAMD::operator=(const safe_VkDeviceMemoryOverallocationCreateInfoAMD& src)
22218{
22219 if (&src == this) return *this;
22220
22221
22222 sType = src.sType;
22223 pNext = src.pNext;
22224 overallocationBehavior = src.overallocationBehavior;
22225
22226 return *this;
22227}
22228
22229safe_VkDeviceMemoryOverallocationCreateInfoAMD::~safe_VkDeviceMemoryOverallocationCreateInfoAMD()
22230{
22231}
22232
22233void safe_VkDeviceMemoryOverallocationCreateInfoAMD::initialize(const VkDeviceMemoryOverallocationCreateInfoAMD* in_struct)
22234{
22235 sType = in_struct->sType;
22236 pNext = in_struct->pNext;
22237 overallocationBehavior = in_struct->overallocationBehavior;
22238}
22239
22240void safe_VkDeviceMemoryOverallocationCreateInfoAMD::initialize(const safe_VkDeviceMemoryOverallocationCreateInfoAMD* src)
22241{
22242 sType = src->sType;
22243 pNext = src->pNext;
22244 overallocationBehavior = src->overallocationBehavior;
22245}
22246
22247safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(const VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT* in_struct) :
22248 sType(in_struct->sType),
22249 pNext(in_struct->pNext),
22250 maxVertexAttribDivisor(in_struct->maxVertexAttribDivisor)
22251{
22252}
22253
22254safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT()
22255{}
22256
22257safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(const safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT& src)
22258{
22259 sType = src.sType;
22260 pNext = src.pNext;
22261 maxVertexAttribDivisor = src.maxVertexAttribDivisor;
22262}
22263
22264safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT& safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::operator=(const safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT& src)
22265{
22266 if (&src == this) return *this;
22267
22268
22269 sType = src.sType;
22270 pNext = src.pNext;
22271 maxVertexAttribDivisor = src.maxVertexAttribDivisor;
22272
22273 return *this;
22274}
22275
22276safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::~safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT()
22277{
22278}
22279
22280void safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::initialize(const VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT* in_struct)
22281{
22282 sType = in_struct->sType;
22283 pNext = in_struct->pNext;
22284 maxVertexAttribDivisor = in_struct->maxVertexAttribDivisor;
22285}
22286
22287void safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::initialize(const safe_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT* src)
22288{
22289 sType = src->sType;
22290 pNext = src->pNext;
22291 maxVertexAttribDivisor = src->maxVertexAttribDivisor;
22292}
22293
22294safe_VkPipelineVertexInputDivisorStateCreateInfoEXT::safe_VkPipelineVertexInputDivisorStateCreateInfoEXT(const VkPipelineVertexInputDivisorStateCreateInfoEXT* in_struct) :
22295 sType(in_struct->sType),
22296 pNext(in_struct->pNext),
22297 vertexBindingDivisorCount(in_struct->vertexBindingDivisorCount),
22298 pVertexBindingDivisors(nullptr)
22299{
22300 if (in_struct->pVertexBindingDivisors) {
22301 pVertexBindingDivisors = new VkVertexInputBindingDivisorDescriptionEXT[in_struct->vertexBindingDivisorCount];
22302 memcpy ((void *)pVertexBindingDivisors, (void *)in_struct->pVertexBindingDivisors, sizeof(VkVertexInputBindingDivisorDescriptionEXT)*in_struct->vertexBindingDivisorCount);
22303 }
22304}
22305
22306safe_VkPipelineVertexInputDivisorStateCreateInfoEXT::safe_VkPipelineVertexInputDivisorStateCreateInfoEXT() :
22307 pVertexBindingDivisors(nullptr)
22308{}
22309
22310safe_VkPipelineVertexInputDivisorStateCreateInfoEXT::safe_VkPipelineVertexInputDivisorStateCreateInfoEXT(const safe_VkPipelineVertexInputDivisorStateCreateInfoEXT& src)
22311{
22312 sType = src.sType;
22313 pNext = src.pNext;
22314 vertexBindingDivisorCount = src.vertexBindingDivisorCount;
22315 pVertexBindingDivisors = nullptr;
22316 if (src.pVertexBindingDivisors) {
22317 pVertexBindingDivisors = new VkVertexInputBindingDivisorDescriptionEXT[src.vertexBindingDivisorCount];
22318 memcpy ((void *)pVertexBindingDivisors, (void *)src.pVertexBindingDivisors, sizeof(VkVertexInputBindingDivisorDescriptionEXT)*src.vertexBindingDivisorCount);
22319 }
22320}
22321
22322safe_VkPipelineVertexInputDivisorStateCreateInfoEXT& safe_VkPipelineVertexInputDivisorStateCreateInfoEXT::operator=(const safe_VkPipelineVertexInputDivisorStateCreateInfoEXT& src)
22323{
22324 if (&src == this) return *this;
22325
22326 if (pVertexBindingDivisors)
22327 delete[] pVertexBindingDivisors;
22328
22329 sType = src.sType;
22330 pNext = src.pNext;
22331 vertexBindingDivisorCount = src.vertexBindingDivisorCount;
22332 pVertexBindingDivisors = nullptr;
22333 if (src.pVertexBindingDivisors) {
22334 pVertexBindingDivisors = new VkVertexInputBindingDivisorDescriptionEXT[src.vertexBindingDivisorCount];
22335 memcpy ((void *)pVertexBindingDivisors, (void *)src.pVertexBindingDivisors, sizeof(VkVertexInputBindingDivisorDescriptionEXT)*src.vertexBindingDivisorCount);
22336 }
22337
22338 return *this;
22339}
22340
22341safe_VkPipelineVertexInputDivisorStateCreateInfoEXT::~safe_VkPipelineVertexInputDivisorStateCreateInfoEXT()
22342{
22343 if (pVertexBindingDivisors)
22344 delete[] pVertexBindingDivisors;
22345}
22346
22347void safe_VkPipelineVertexInputDivisorStateCreateInfoEXT::initialize(const VkPipelineVertexInputDivisorStateCreateInfoEXT* in_struct)
22348{
22349 sType = in_struct->sType;
22350 pNext = in_struct->pNext;
22351 vertexBindingDivisorCount = in_struct->vertexBindingDivisorCount;
22352 pVertexBindingDivisors = nullptr;
22353 if (in_struct->pVertexBindingDivisors) {
22354 pVertexBindingDivisors = new VkVertexInputBindingDivisorDescriptionEXT[in_struct->vertexBindingDivisorCount];
22355 memcpy ((void *)pVertexBindingDivisors, (void *)in_struct->pVertexBindingDivisors, sizeof(VkVertexInputBindingDivisorDescriptionEXT)*in_struct->vertexBindingDivisorCount);
22356 }
22357}
22358
22359void safe_VkPipelineVertexInputDivisorStateCreateInfoEXT::initialize(const safe_VkPipelineVertexInputDivisorStateCreateInfoEXT* src)
22360{
22361 sType = src->sType;
22362 pNext = src->pNext;
22363 vertexBindingDivisorCount = src->vertexBindingDivisorCount;
22364 pVertexBindingDivisors = nullptr;
22365 if (src->pVertexBindingDivisors) {
22366 pVertexBindingDivisors = new VkVertexInputBindingDivisorDescriptionEXT[src->vertexBindingDivisorCount];
22367 memcpy ((void *)pVertexBindingDivisors, (void *)src->pVertexBindingDivisors, sizeof(VkVertexInputBindingDivisorDescriptionEXT)*src->vertexBindingDivisorCount);
22368 }
22369}
22370
22371safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT::safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT(const VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT* in_struct) :
22372 sType(in_struct->sType),
22373 pNext(in_struct->pNext),
22374 vertexAttributeInstanceRateDivisor(in_struct->vertexAttributeInstanceRateDivisor),
22375 vertexAttributeInstanceRateZeroDivisor(in_struct->vertexAttributeInstanceRateZeroDivisor)
22376{
22377}
22378
22379safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT::safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT()
22380{}
22381
22382safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT::safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT(const safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT& src)
22383{
22384 sType = src.sType;
22385 pNext = src.pNext;
22386 vertexAttributeInstanceRateDivisor = src.vertexAttributeInstanceRateDivisor;
22387 vertexAttributeInstanceRateZeroDivisor = src.vertexAttributeInstanceRateZeroDivisor;
22388}
22389
22390safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT& safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT::operator=(const safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT& src)
22391{
22392 if (&src == this) return *this;
22393
22394
22395 sType = src.sType;
22396 pNext = src.pNext;
22397 vertexAttributeInstanceRateDivisor = src.vertexAttributeInstanceRateDivisor;
22398 vertexAttributeInstanceRateZeroDivisor = src.vertexAttributeInstanceRateZeroDivisor;
22399
22400 return *this;
22401}
22402
22403safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT::~safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT()
22404{
22405}
22406
22407void safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT::initialize(const VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT* in_struct)
22408{
22409 sType = in_struct->sType;
22410 pNext = in_struct->pNext;
22411 vertexAttributeInstanceRateDivisor = in_struct->vertexAttributeInstanceRateDivisor;
22412 vertexAttributeInstanceRateZeroDivisor = in_struct->vertexAttributeInstanceRateZeroDivisor;
22413}
22414
22415void safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT::initialize(const safe_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT* src)
22416{
22417 sType = src->sType;
22418 pNext = src->pNext;
22419 vertexAttributeInstanceRateDivisor = src->vertexAttributeInstanceRateDivisor;
22420 vertexAttributeInstanceRateZeroDivisor = src->vertexAttributeInstanceRateZeroDivisor;
22421}
22422#ifdef VK_USE_PLATFORM_GGP
22423
22424
22425safe_VkPresentFrameTokenGGP::safe_VkPresentFrameTokenGGP(const VkPresentFrameTokenGGP* in_struct) :
22426 sType(in_struct->sType),
22427 pNext(in_struct->pNext),
22428 frameToken(in_struct->frameToken)
22429{
22430}
22431
22432safe_VkPresentFrameTokenGGP::safe_VkPresentFrameTokenGGP()
22433{}
22434
22435safe_VkPresentFrameTokenGGP::safe_VkPresentFrameTokenGGP(const safe_VkPresentFrameTokenGGP& src)
22436{
22437 sType = src.sType;
22438 pNext = src.pNext;
22439 frameToken = src.frameToken;
22440}
22441
22442safe_VkPresentFrameTokenGGP& safe_VkPresentFrameTokenGGP::operator=(const safe_VkPresentFrameTokenGGP& src)
22443{
22444 if (&src == this) return *this;
22445
22446
22447 sType = src.sType;
22448 pNext = src.pNext;
22449 frameToken = src.frameToken;
22450
22451 return *this;
22452}
22453
22454safe_VkPresentFrameTokenGGP::~safe_VkPresentFrameTokenGGP()
22455{
22456}
22457
22458void safe_VkPresentFrameTokenGGP::initialize(const VkPresentFrameTokenGGP* in_struct)
22459{
22460 sType = in_struct->sType;
22461 pNext = in_struct->pNext;
22462 frameToken = in_struct->frameToken;
22463}
22464
22465void safe_VkPresentFrameTokenGGP::initialize(const safe_VkPresentFrameTokenGGP* src)
22466{
22467 sType = src->sType;
22468 pNext = src->pNext;
22469 frameToken = src->frameToken;
22470}
22471#endif // VK_USE_PLATFORM_GGP
22472
22473
22474safe_VkPipelineCreationFeedbackCreateInfoEXT::safe_VkPipelineCreationFeedbackCreateInfoEXT(const VkPipelineCreationFeedbackCreateInfoEXT* in_struct) :
22475 sType(in_struct->sType),
22476 pNext(in_struct->pNext),
22477 pPipelineCreationFeedback(nullptr),
22478 pipelineStageCreationFeedbackCount(in_struct->pipelineStageCreationFeedbackCount),
22479 pPipelineStageCreationFeedbacks(nullptr)
22480{
22481 if (in_struct->pPipelineCreationFeedback) {
22482 pPipelineCreationFeedback = new VkPipelineCreationFeedbackEXT(*in_struct->pPipelineCreationFeedback);
22483 }
22484 if (in_struct->pPipelineStageCreationFeedbacks) {
22485 pPipelineStageCreationFeedbacks = new VkPipelineCreationFeedbackEXT[in_struct->pipelineStageCreationFeedbackCount];
22486 memcpy ((void *)pPipelineStageCreationFeedbacks, (void *)in_struct->pPipelineStageCreationFeedbacks, sizeof(VkPipelineCreationFeedbackEXT)*in_struct->pipelineStageCreationFeedbackCount);
22487 }
22488}
22489
22490safe_VkPipelineCreationFeedbackCreateInfoEXT::safe_VkPipelineCreationFeedbackCreateInfoEXT() :
22491 pPipelineCreationFeedback(nullptr),
22492 pPipelineStageCreationFeedbacks(nullptr)
22493{}
22494
22495safe_VkPipelineCreationFeedbackCreateInfoEXT::safe_VkPipelineCreationFeedbackCreateInfoEXT(const safe_VkPipelineCreationFeedbackCreateInfoEXT& src)
22496{
22497 sType = src.sType;
22498 pNext = src.pNext;
22499 pPipelineCreationFeedback = nullptr;
22500 pipelineStageCreationFeedbackCount = src.pipelineStageCreationFeedbackCount;
22501 pPipelineStageCreationFeedbacks = nullptr;
22502 if (src.pPipelineCreationFeedback) {
22503 pPipelineCreationFeedback = new VkPipelineCreationFeedbackEXT(*src.pPipelineCreationFeedback);
22504 }
22505 if (src.pPipelineStageCreationFeedbacks) {
22506 pPipelineStageCreationFeedbacks = new VkPipelineCreationFeedbackEXT[src.pipelineStageCreationFeedbackCount];
22507 memcpy ((void *)pPipelineStageCreationFeedbacks, (void *)src.pPipelineStageCreationFeedbacks, sizeof(VkPipelineCreationFeedbackEXT)*src.pipelineStageCreationFeedbackCount);
22508 }
22509}
22510
22511safe_VkPipelineCreationFeedbackCreateInfoEXT& safe_VkPipelineCreationFeedbackCreateInfoEXT::operator=(const safe_VkPipelineCreationFeedbackCreateInfoEXT& src)
22512{
22513 if (&src == this) return *this;
22514
22515 if (pPipelineCreationFeedback)
22516 delete pPipelineCreationFeedback;
22517 if (pPipelineStageCreationFeedbacks)
22518 delete[] pPipelineStageCreationFeedbacks;
22519
22520 sType = src.sType;
22521 pNext = src.pNext;
22522 pPipelineCreationFeedback = nullptr;
22523 pipelineStageCreationFeedbackCount = src.pipelineStageCreationFeedbackCount;
22524 pPipelineStageCreationFeedbacks = nullptr;
22525 if (src.pPipelineCreationFeedback) {
22526 pPipelineCreationFeedback = new VkPipelineCreationFeedbackEXT(*src.pPipelineCreationFeedback);
22527 }
22528 if (src.pPipelineStageCreationFeedbacks) {
22529 pPipelineStageCreationFeedbacks = new VkPipelineCreationFeedbackEXT[src.pipelineStageCreationFeedbackCount];
22530 memcpy ((void *)pPipelineStageCreationFeedbacks, (void *)src.pPipelineStageCreationFeedbacks, sizeof(VkPipelineCreationFeedbackEXT)*src.pipelineStageCreationFeedbackCount);
22531 }
22532
22533 return *this;
22534}
22535
22536safe_VkPipelineCreationFeedbackCreateInfoEXT::~safe_VkPipelineCreationFeedbackCreateInfoEXT()
22537{
22538 if (pPipelineCreationFeedback)
22539 delete pPipelineCreationFeedback;
22540 if (pPipelineStageCreationFeedbacks)
22541 delete[] pPipelineStageCreationFeedbacks;
22542}
22543
22544void safe_VkPipelineCreationFeedbackCreateInfoEXT::initialize(const VkPipelineCreationFeedbackCreateInfoEXT* in_struct)
22545{
22546 sType = in_struct->sType;
22547 pNext = in_struct->pNext;
22548 pPipelineCreationFeedback = nullptr;
22549 pipelineStageCreationFeedbackCount = in_struct->pipelineStageCreationFeedbackCount;
22550 pPipelineStageCreationFeedbacks = nullptr;
22551 if (in_struct->pPipelineCreationFeedback) {
22552 pPipelineCreationFeedback = new VkPipelineCreationFeedbackEXT(*in_struct->pPipelineCreationFeedback);
22553 }
22554 if (in_struct->pPipelineStageCreationFeedbacks) {
22555 pPipelineStageCreationFeedbacks = new VkPipelineCreationFeedbackEXT[in_struct->pipelineStageCreationFeedbackCount];
22556 memcpy ((void *)pPipelineStageCreationFeedbacks, (void *)in_struct->pPipelineStageCreationFeedbacks, sizeof(VkPipelineCreationFeedbackEXT)*in_struct->pipelineStageCreationFeedbackCount);
22557 }
22558}
22559
22560void safe_VkPipelineCreationFeedbackCreateInfoEXT::initialize(const safe_VkPipelineCreationFeedbackCreateInfoEXT* src)
22561{
22562 sType = src->sType;
22563 pNext = src->pNext;
22564 pPipelineCreationFeedback = nullptr;
22565 pipelineStageCreationFeedbackCount = src->pipelineStageCreationFeedbackCount;
22566 pPipelineStageCreationFeedbacks = nullptr;
22567 if (src->pPipelineCreationFeedback) {
22568 pPipelineCreationFeedback = new VkPipelineCreationFeedbackEXT(*src->pPipelineCreationFeedback);
22569 }
22570 if (src->pPipelineStageCreationFeedbacks) {
22571 pPipelineStageCreationFeedbacks = new VkPipelineCreationFeedbackEXT[src->pipelineStageCreationFeedbackCount];
22572 memcpy ((void *)pPipelineStageCreationFeedbacks, (void *)src->pPipelineStageCreationFeedbacks, sizeof(VkPipelineCreationFeedbackEXT)*src->pipelineStageCreationFeedbackCount);
22573 }
22574}
22575
22576safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV::safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV(const VkPhysicalDeviceComputeShaderDerivativesFeaturesNV* in_struct) :
22577 sType(in_struct->sType),
22578 pNext(in_struct->pNext),
22579 computeDerivativeGroupQuads(in_struct->computeDerivativeGroupQuads),
22580 computeDerivativeGroupLinear(in_struct->computeDerivativeGroupLinear)
22581{
22582}
22583
22584safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV::safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV()
22585{}
22586
22587safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV::safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV(const safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV& src)
22588{
22589 sType = src.sType;
22590 pNext = src.pNext;
22591 computeDerivativeGroupQuads = src.computeDerivativeGroupQuads;
22592 computeDerivativeGroupLinear = src.computeDerivativeGroupLinear;
22593}
22594
22595safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV& safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV::operator=(const safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV& src)
22596{
22597 if (&src == this) return *this;
22598
22599
22600 sType = src.sType;
22601 pNext = src.pNext;
22602 computeDerivativeGroupQuads = src.computeDerivativeGroupQuads;
22603 computeDerivativeGroupLinear = src.computeDerivativeGroupLinear;
22604
22605 return *this;
22606}
22607
22608safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV::~safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV()
22609{
22610}
22611
22612void safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV::initialize(const VkPhysicalDeviceComputeShaderDerivativesFeaturesNV* in_struct)
22613{
22614 sType = in_struct->sType;
22615 pNext = in_struct->pNext;
22616 computeDerivativeGroupQuads = in_struct->computeDerivativeGroupQuads;
22617 computeDerivativeGroupLinear = in_struct->computeDerivativeGroupLinear;
22618}
22619
22620void safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV::initialize(const safe_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV* src)
22621{
22622 sType = src->sType;
22623 pNext = src->pNext;
22624 computeDerivativeGroupQuads = src->computeDerivativeGroupQuads;
22625 computeDerivativeGroupLinear = src->computeDerivativeGroupLinear;
22626}
22627
22628safe_VkPhysicalDeviceMeshShaderFeaturesNV::safe_VkPhysicalDeviceMeshShaderFeaturesNV(const VkPhysicalDeviceMeshShaderFeaturesNV* in_struct) :
22629 sType(in_struct->sType),
22630 pNext(in_struct->pNext),
22631 taskShader(in_struct->taskShader),
22632 meshShader(in_struct->meshShader)
22633{
22634}
22635
22636safe_VkPhysicalDeviceMeshShaderFeaturesNV::safe_VkPhysicalDeviceMeshShaderFeaturesNV()
22637{}
22638
22639safe_VkPhysicalDeviceMeshShaderFeaturesNV::safe_VkPhysicalDeviceMeshShaderFeaturesNV(const safe_VkPhysicalDeviceMeshShaderFeaturesNV& src)
22640{
22641 sType = src.sType;
22642 pNext = src.pNext;
22643 taskShader = src.taskShader;
22644 meshShader = src.meshShader;
22645}
22646
22647safe_VkPhysicalDeviceMeshShaderFeaturesNV& safe_VkPhysicalDeviceMeshShaderFeaturesNV::operator=(const safe_VkPhysicalDeviceMeshShaderFeaturesNV& src)
22648{
22649 if (&src == this) return *this;
22650
22651
22652 sType = src.sType;
22653 pNext = src.pNext;
22654 taskShader = src.taskShader;
22655 meshShader = src.meshShader;
22656
22657 return *this;
22658}
22659
22660safe_VkPhysicalDeviceMeshShaderFeaturesNV::~safe_VkPhysicalDeviceMeshShaderFeaturesNV()
22661{
22662}
22663
22664void safe_VkPhysicalDeviceMeshShaderFeaturesNV::initialize(const VkPhysicalDeviceMeshShaderFeaturesNV* in_struct)
22665{
22666 sType = in_struct->sType;
22667 pNext = in_struct->pNext;
22668 taskShader = in_struct->taskShader;
22669 meshShader = in_struct->meshShader;
22670}
22671
22672void safe_VkPhysicalDeviceMeshShaderFeaturesNV::initialize(const safe_VkPhysicalDeviceMeshShaderFeaturesNV* src)
22673{
22674 sType = src->sType;
22675 pNext = src->pNext;
22676 taskShader = src->taskShader;
22677 meshShader = src->meshShader;
22678}
22679
22680safe_VkPhysicalDeviceMeshShaderPropertiesNV::safe_VkPhysicalDeviceMeshShaderPropertiesNV(const VkPhysicalDeviceMeshShaderPropertiesNV* in_struct) :
22681 sType(in_struct->sType),
22682 pNext(in_struct->pNext),
22683 maxDrawMeshTasksCount(in_struct->maxDrawMeshTasksCount),
22684 maxTaskWorkGroupInvocations(in_struct->maxTaskWorkGroupInvocations),
22685 maxTaskTotalMemorySize(in_struct->maxTaskTotalMemorySize),
22686 maxTaskOutputCount(in_struct->maxTaskOutputCount),
22687 maxMeshWorkGroupInvocations(in_struct->maxMeshWorkGroupInvocations),
22688 maxMeshTotalMemorySize(in_struct->maxMeshTotalMemorySize),
22689 maxMeshOutputVertices(in_struct->maxMeshOutputVertices),
22690 maxMeshOutputPrimitives(in_struct->maxMeshOutputPrimitives),
22691 maxMeshMultiviewViewCount(in_struct->maxMeshMultiviewViewCount),
22692 meshOutputPerVertexGranularity(in_struct->meshOutputPerVertexGranularity),
22693 meshOutputPerPrimitiveGranularity(in_struct->meshOutputPerPrimitiveGranularity)
22694{
22695 for (uint32_t i=0; i<3; ++i) {
22696 maxTaskWorkGroupSize[i] = in_struct->maxTaskWorkGroupSize[i];
22697 }
22698 for (uint32_t i=0; i<3; ++i) {
22699 maxMeshWorkGroupSize[i] = in_struct->maxMeshWorkGroupSize[i];
22700 }
22701}
22702
22703safe_VkPhysicalDeviceMeshShaderPropertiesNV::safe_VkPhysicalDeviceMeshShaderPropertiesNV()
22704{}
22705
22706safe_VkPhysicalDeviceMeshShaderPropertiesNV::safe_VkPhysicalDeviceMeshShaderPropertiesNV(const safe_VkPhysicalDeviceMeshShaderPropertiesNV& src)
22707{
22708 sType = src.sType;
22709 pNext = src.pNext;
22710 maxDrawMeshTasksCount = src.maxDrawMeshTasksCount;
22711 maxTaskWorkGroupInvocations = src.maxTaskWorkGroupInvocations;
22712 maxTaskTotalMemorySize = src.maxTaskTotalMemorySize;
22713 maxTaskOutputCount = src.maxTaskOutputCount;
22714 maxMeshWorkGroupInvocations = src.maxMeshWorkGroupInvocations;
22715 maxMeshTotalMemorySize = src.maxMeshTotalMemorySize;
22716 maxMeshOutputVertices = src.maxMeshOutputVertices;
22717 maxMeshOutputPrimitives = src.maxMeshOutputPrimitives;
22718 maxMeshMultiviewViewCount = src.maxMeshMultiviewViewCount;
22719 meshOutputPerVertexGranularity = src.meshOutputPerVertexGranularity;
22720 meshOutputPerPrimitiveGranularity = src.meshOutputPerPrimitiveGranularity;
22721 for (uint32_t i=0; i<3; ++i) {
22722 maxTaskWorkGroupSize[i] = src.maxTaskWorkGroupSize[i];
22723 }
22724 for (uint32_t i=0; i<3; ++i) {
22725 maxMeshWorkGroupSize[i] = src.maxMeshWorkGroupSize[i];
22726 }
22727}
22728
22729safe_VkPhysicalDeviceMeshShaderPropertiesNV& safe_VkPhysicalDeviceMeshShaderPropertiesNV::operator=(const safe_VkPhysicalDeviceMeshShaderPropertiesNV& src)
22730{
22731 if (&src == this) return *this;
22732
22733
22734 sType = src.sType;
22735 pNext = src.pNext;
22736 maxDrawMeshTasksCount = src.maxDrawMeshTasksCount;
22737 maxTaskWorkGroupInvocations = src.maxTaskWorkGroupInvocations;
22738 maxTaskTotalMemorySize = src.maxTaskTotalMemorySize;
22739 maxTaskOutputCount = src.maxTaskOutputCount;
22740 maxMeshWorkGroupInvocations = src.maxMeshWorkGroupInvocations;
22741 maxMeshTotalMemorySize = src.maxMeshTotalMemorySize;
22742 maxMeshOutputVertices = src.maxMeshOutputVertices;
22743 maxMeshOutputPrimitives = src.maxMeshOutputPrimitives;
22744 maxMeshMultiviewViewCount = src.maxMeshMultiviewViewCount;
22745 meshOutputPerVertexGranularity = src.meshOutputPerVertexGranularity;
22746 meshOutputPerPrimitiveGranularity = src.meshOutputPerPrimitiveGranularity;
22747 for (uint32_t i=0; i<3; ++i) {
22748 maxTaskWorkGroupSize[i] = src.maxTaskWorkGroupSize[i];
22749 }
22750 for (uint32_t i=0; i<3; ++i) {
22751 maxMeshWorkGroupSize[i] = src.maxMeshWorkGroupSize[i];
22752 }
22753
22754 return *this;
22755}
22756
22757safe_VkPhysicalDeviceMeshShaderPropertiesNV::~safe_VkPhysicalDeviceMeshShaderPropertiesNV()
22758{
22759}
22760
22761void safe_VkPhysicalDeviceMeshShaderPropertiesNV::initialize(const VkPhysicalDeviceMeshShaderPropertiesNV* in_struct)
22762{
22763 sType = in_struct->sType;
22764 pNext = in_struct->pNext;
22765 maxDrawMeshTasksCount = in_struct->maxDrawMeshTasksCount;
22766 maxTaskWorkGroupInvocations = in_struct->maxTaskWorkGroupInvocations;
22767 maxTaskTotalMemorySize = in_struct->maxTaskTotalMemorySize;
22768 maxTaskOutputCount = in_struct->maxTaskOutputCount;
22769 maxMeshWorkGroupInvocations = in_struct->maxMeshWorkGroupInvocations;
22770 maxMeshTotalMemorySize = in_struct->maxMeshTotalMemorySize;
22771 maxMeshOutputVertices = in_struct->maxMeshOutputVertices;
22772 maxMeshOutputPrimitives = in_struct->maxMeshOutputPrimitives;
22773 maxMeshMultiviewViewCount = in_struct->maxMeshMultiviewViewCount;
22774 meshOutputPerVertexGranularity = in_struct->meshOutputPerVertexGranularity;
22775 meshOutputPerPrimitiveGranularity = in_struct->meshOutputPerPrimitiveGranularity;
22776 for (uint32_t i=0; i<3; ++i) {
22777 maxTaskWorkGroupSize[i] = in_struct->maxTaskWorkGroupSize[i];
22778 }
22779 for (uint32_t i=0; i<3; ++i) {
22780 maxMeshWorkGroupSize[i] = in_struct->maxMeshWorkGroupSize[i];
22781 }
22782}
22783
22784void safe_VkPhysicalDeviceMeshShaderPropertiesNV::initialize(const safe_VkPhysicalDeviceMeshShaderPropertiesNV* src)
22785{
22786 sType = src->sType;
22787 pNext = src->pNext;
22788 maxDrawMeshTasksCount = src->maxDrawMeshTasksCount;
22789 maxTaskWorkGroupInvocations = src->maxTaskWorkGroupInvocations;
22790 maxTaskTotalMemorySize = src->maxTaskTotalMemorySize;
22791 maxTaskOutputCount = src->maxTaskOutputCount;
22792 maxMeshWorkGroupInvocations = src->maxMeshWorkGroupInvocations;
22793 maxMeshTotalMemorySize = src->maxMeshTotalMemorySize;
22794 maxMeshOutputVertices = src->maxMeshOutputVertices;
22795 maxMeshOutputPrimitives = src->maxMeshOutputPrimitives;
22796 maxMeshMultiviewViewCount = src->maxMeshMultiviewViewCount;
22797 meshOutputPerVertexGranularity = src->meshOutputPerVertexGranularity;
22798 meshOutputPerPrimitiveGranularity = src->meshOutputPerPrimitiveGranularity;
22799 for (uint32_t i=0; i<3; ++i) {
22800 maxTaskWorkGroupSize[i] = src->maxTaskWorkGroupSize[i];
22801 }
22802 for (uint32_t i=0; i<3; ++i) {
22803 maxMeshWorkGroupSize[i] = src->maxMeshWorkGroupSize[i];
22804 }
22805}
22806
22807safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV::safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV(const VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV* in_struct) :
22808 sType(in_struct->sType),
22809 pNext(in_struct->pNext),
22810 fragmentShaderBarycentric(in_struct->fragmentShaderBarycentric)
22811{
22812}
22813
22814safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV::safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV()
22815{}
22816
22817safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV::safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV(const safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV& src)
22818{
22819 sType = src.sType;
22820 pNext = src.pNext;
22821 fragmentShaderBarycentric = src.fragmentShaderBarycentric;
22822}
22823
22824safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV& safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV::operator=(const safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV& src)
22825{
22826 if (&src == this) return *this;
22827
22828
22829 sType = src.sType;
22830 pNext = src.pNext;
22831 fragmentShaderBarycentric = src.fragmentShaderBarycentric;
22832
22833 return *this;
22834}
22835
22836safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV::~safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV()
22837{
22838}
22839
22840void safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV::initialize(const VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV* in_struct)
22841{
22842 sType = in_struct->sType;
22843 pNext = in_struct->pNext;
22844 fragmentShaderBarycentric = in_struct->fragmentShaderBarycentric;
22845}
22846
22847void safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV::initialize(const safe_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV* src)
22848{
22849 sType = src->sType;
22850 pNext = src->pNext;
22851 fragmentShaderBarycentric = src->fragmentShaderBarycentric;
22852}
22853
22854safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV::safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV(const VkPhysicalDeviceShaderImageFootprintFeaturesNV* in_struct) :
22855 sType(in_struct->sType),
22856 pNext(in_struct->pNext),
22857 imageFootprint(in_struct->imageFootprint)
22858{
22859}
22860
22861safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV::safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV()
22862{}
22863
22864safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV::safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV(const safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV& src)
22865{
22866 sType = src.sType;
22867 pNext = src.pNext;
22868 imageFootprint = src.imageFootprint;
22869}
22870
22871safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV& safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV::operator=(const safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV& src)
22872{
22873 if (&src == this) return *this;
22874
22875
22876 sType = src.sType;
22877 pNext = src.pNext;
22878 imageFootprint = src.imageFootprint;
22879
22880 return *this;
22881}
22882
22883safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV::~safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV()
22884{
22885}
22886
22887void safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV::initialize(const VkPhysicalDeviceShaderImageFootprintFeaturesNV* in_struct)
22888{
22889 sType = in_struct->sType;
22890 pNext = in_struct->pNext;
22891 imageFootprint = in_struct->imageFootprint;
22892}
22893
22894void safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV::initialize(const safe_VkPhysicalDeviceShaderImageFootprintFeaturesNV* src)
22895{
22896 sType = src->sType;
22897 pNext = src->pNext;
22898 imageFootprint = src->imageFootprint;
22899}
22900
22901safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV::safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV(const VkPipelineViewportExclusiveScissorStateCreateInfoNV* in_struct) :
22902 sType(in_struct->sType),
22903 pNext(in_struct->pNext),
22904 exclusiveScissorCount(in_struct->exclusiveScissorCount),
22905 pExclusiveScissors(nullptr)
22906{
22907 if (in_struct->pExclusiveScissors) {
22908 pExclusiveScissors = new VkRect2D[in_struct->exclusiveScissorCount];
22909 memcpy ((void *)pExclusiveScissors, (void *)in_struct->pExclusiveScissors, sizeof(VkRect2D)*in_struct->exclusiveScissorCount);
22910 }
22911}
22912
22913safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV::safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV() :
22914 pExclusiveScissors(nullptr)
22915{}
22916
22917safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV::safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV(const safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV& src)
22918{
22919 sType = src.sType;
22920 pNext = src.pNext;
22921 exclusiveScissorCount = src.exclusiveScissorCount;
22922 pExclusiveScissors = nullptr;
22923 if (src.pExclusiveScissors) {
22924 pExclusiveScissors = new VkRect2D[src.exclusiveScissorCount];
22925 memcpy ((void *)pExclusiveScissors, (void *)src.pExclusiveScissors, sizeof(VkRect2D)*src.exclusiveScissorCount);
22926 }
22927}
22928
22929safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV& safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV::operator=(const safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV& src)
22930{
22931 if (&src == this) return *this;
22932
22933 if (pExclusiveScissors)
22934 delete[] pExclusiveScissors;
22935
22936 sType = src.sType;
22937 pNext = src.pNext;
22938 exclusiveScissorCount = src.exclusiveScissorCount;
22939 pExclusiveScissors = nullptr;
22940 if (src.pExclusiveScissors) {
22941 pExclusiveScissors = new VkRect2D[src.exclusiveScissorCount];
22942 memcpy ((void *)pExclusiveScissors, (void *)src.pExclusiveScissors, sizeof(VkRect2D)*src.exclusiveScissorCount);
22943 }
22944
22945 return *this;
22946}
22947
22948safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV::~safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV()
22949{
22950 if (pExclusiveScissors)
22951 delete[] pExclusiveScissors;
22952}
22953
22954void safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV::initialize(const VkPipelineViewportExclusiveScissorStateCreateInfoNV* in_struct)
22955{
22956 sType = in_struct->sType;
22957 pNext = in_struct->pNext;
22958 exclusiveScissorCount = in_struct->exclusiveScissorCount;
22959 pExclusiveScissors = nullptr;
22960 if (in_struct->pExclusiveScissors) {
22961 pExclusiveScissors = new VkRect2D[in_struct->exclusiveScissorCount];
22962 memcpy ((void *)pExclusiveScissors, (void *)in_struct->pExclusiveScissors, sizeof(VkRect2D)*in_struct->exclusiveScissorCount);
22963 }
22964}
22965
22966void safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV::initialize(const safe_VkPipelineViewportExclusiveScissorStateCreateInfoNV* src)
22967{
22968 sType = src->sType;
22969 pNext = src->pNext;
22970 exclusiveScissorCount = src->exclusiveScissorCount;
22971 pExclusiveScissors = nullptr;
22972 if (src->pExclusiveScissors) {
22973 pExclusiveScissors = new VkRect2D[src->exclusiveScissorCount];
22974 memcpy ((void *)pExclusiveScissors, (void *)src->pExclusiveScissors, sizeof(VkRect2D)*src->exclusiveScissorCount);
22975 }
22976}
22977
22978safe_VkPhysicalDeviceExclusiveScissorFeaturesNV::safe_VkPhysicalDeviceExclusiveScissorFeaturesNV(const VkPhysicalDeviceExclusiveScissorFeaturesNV* in_struct) :
22979 sType(in_struct->sType),
22980 pNext(in_struct->pNext),
22981 exclusiveScissor(in_struct->exclusiveScissor)
22982{
22983}
22984
22985safe_VkPhysicalDeviceExclusiveScissorFeaturesNV::safe_VkPhysicalDeviceExclusiveScissorFeaturesNV()
22986{}
22987
22988safe_VkPhysicalDeviceExclusiveScissorFeaturesNV::safe_VkPhysicalDeviceExclusiveScissorFeaturesNV(const safe_VkPhysicalDeviceExclusiveScissorFeaturesNV& src)
22989{
22990 sType = src.sType;
22991 pNext = src.pNext;
22992 exclusiveScissor = src.exclusiveScissor;
22993}
22994
22995safe_VkPhysicalDeviceExclusiveScissorFeaturesNV& safe_VkPhysicalDeviceExclusiveScissorFeaturesNV::operator=(const safe_VkPhysicalDeviceExclusiveScissorFeaturesNV& src)
22996{
22997 if (&src == this) return *this;
22998
22999
23000 sType = src.sType;
23001 pNext = src.pNext;
23002 exclusiveScissor = src.exclusiveScissor;
23003
23004 return *this;
23005}
23006
23007safe_VkPhysicalDeviceExclusiveScissorFeaturesNV::~safe_VkPhysicalDeviceExclusiveScissorFeaturesNV()
23008{
23009}
23010
23011void safe_VkPhysicalDeviceExclusiveScissorFeaturesNV::initialize(const VkPhysicalDeviceExclusiveScissorFeaturesNV* in_struct)
23012{
23013 sType = in_struct->sType;
23014 pNext = in_struct->pNext;
23015 exclusiveScissor = in_struct->exclusiveScissor;
23016}
23017
23018void safe_VkPhysicalDeviceExclusiveScissorFeaturesNV::initialize(const safe_VkPhysicalDeviceExclusiveScissorFeaturesNV* src)
23019{
23020 sType = src->sType;
23021 pNext = src->pNext;
23022 exclusiveScissor = src->exclusiveScissor;
23023}
23024
23025safe_VkQueueFamilyCheckpointPropertiesNV::safe_VkQueueFamilyCheckpointPropertiesNV(const VkQueueFamilyCheckpointPropertiesNV* in_struct) :
23026 sType(in_struct->sType),
23027 pNext(in_struct->pNext),
23028 checkpointExecutionStageMask(in_struct->checkpointExecutionStageMask)
23029{
23030}
23031
23032safe_VkQueueFamilyCheckpointPropertiesNV::safe_VkQueueFamilyCheckpointPropertiesNV()
23033{}
23034
23035safe_VkQueueFamilyCheckpointPropertiesNV::safe_VkQueueFamilyCheckpointPropertiesNV(const safe_VkQueueFamilyCheckpointPropertiesNV& src)
23036{
23037 sType = src.sType;
23038 pNext = src.pNext;
23039 checkpointExecutionStageMask = src.checkpointExecutionStageMask;
23040}
23041
23042safe_VkQueueFamilyCheckpointPropertiesNV& safe_VkQueueFamilyCheckpointPropertiesNV::operator=(const safe_VkQueueFamilyCheckpointPropertiesNV& src)
23043{
23044 if (&src == this) return *this;
23045
23046
23047 sType = src.sType;
23048 pNext = src.pNext;
23049 checkpointExecutionStageMask = src.checkpointExecutionStageMask;
23050
23051 return *this;
23052}
23053
23054safe_VkQueueFamilyCheckpointPropertiesNV::~safe_VkQueueFamilyCheckpointPropertiesNV()
23055{
23056}
23057
23058void safe_VkQueueFamilyCheckpointPropertiesNV::initialize(const VkQueueFamilyCheckpointPropertiesNV* in_struct)
23059{
23060 sType = in_struct->sType;
23061 pNext = in_struct->pNext;
23062 checkpointExecutionStageMask = in_struct->checkpointExecutionStageMask;
23063}
23064
23065void safe_VkQueueFamilyCheckpointPropertiesNV::initialize(const safe_VkQueueFamilyCheckpointPropertiesNV* src)
23066{
23067 sType = src->sType;
23068 pNext = src->pNext;
23069 checkpointExecutionStageMask = src->checkpointExecutionStageMask;
23070}
23071
23072safe_VkCheckpointDataNV::safe_VkCheckpointDataNV(const VkCheckpointDataNV* in_struct) :
23073 sType(in_struct->sType),
23074 pNext(in_struct->pNext),
23075 stage(in_struct->stage),
23076 pCheckpointMarker(in_struct->pCheckpointMarker)
23077{
23078}
23079
23080safe_VkCheckpointDataNV::safe_VkCheckpointDataNV()
23081{}
23082
23083safe_VkCheckpointDataNV::safe_VkCheckpointDataNV(const safe_VkCheckpointDataNV& src)
23084{
23085 sType = src.sType;
23086 pNext = src.pNext;
23087 stage = src.stage;
23088 pCheckpointMarker = src.pCheckpointMarker;
23089}
23090
23091safe_VkCheckpointDataNV& safe_VkCheckpointDataNV::operator=(const safe_VkCheckpointDataNV& src)
23092{
23093 if (&src == this) return *this;
23094
23095
23096 sType = src.sType;
23097 pNext = src.pNext;
23098 stage = src.stage;
23099 pCheckpointMarker = src.pCheckpointMarker;
23100
23101 return *this;
23102}
23103
23104safe_VkCheckpointDataNV::~safe_VkCheckpointDataNV()
23105{
23106}
23107
23108void safe_VkCheckpointDataNV::initialize(const VkCheckpointDataNV* in_struct)
23109{
23110 sType = in_struct->sType;
23111 pNext = in_struct->pNext;
23112 stage = in_struct->stage;
23113 pCheckpointMarker = in_struct->pCheckpointMarker;
23114}
23115
23116void safe_VkCheckpointDataNV::initialize(const safe_VkCheckpointDataNV* src)
23117{
23118 sType = src->sType;
23119 pNext = src->pNext;
23120 stage = src->stage;
23121 pCheckpointMarker = src->pCheckpointMarker;
23122}
23123
23124safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL::safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL(const VkPhysicalDeviceShaderIntegerFunctions2INTEL* in_struct) :
23125 sType(in_struct->sType),
23126 pNext(in_struct->pNext),
23127 shaderIntegerFunctions2(in_struct->shaderIntegerFunctions2)
23128{
23129}
23130
23131safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL::safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL()
23132{}
23133
23134safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL::safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL(const safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL& src)
23135{
23136 sType = src.sType;
23137 pNext = src.pNext;
23138 shaderIntegerFunctions2 = src.shaderIntegerFunctions2;
23139}
23140
23141safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL& safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL::operator=(const safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL& src)
23142{
23143 if (&src == this) return *this;
23144
23145
23146 sType = src.sType;
23147 pNext = src.pNext;
23148 shaderIntegerFunctions2 = src.shaderIntegerFunctions2;
23149
23150 return *this;
23151}
23152
23153safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL::~safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL()
23154{
23155}
23156
23157void safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL::initialize(const VkPhysicalDeviceShaderIntegerFunctions2INTEL* in_struct)
23158{
23159 sType = in_struct->sType;
23160 pNext = in_struct->pNext;
23161 shaderIntegerFunctions2 = in_struct->shaderIntegerFunctions2;
23162}
23163
23164void safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL::initialize(const safe_VkPhysicalDeviceShaderIntegerFunctions2INTEL* src)
23165{
23166 sType = src->sType;
23167 pNext = src->pNext;
23168 shaderIntegerFunctions2 = src->shaderIntegerFunctions2;
23169}
23170
23171safe_VkPerformanceValueDataINTEL::safe_VkPerformanceValueDataINTEL(const VkPerformanceValueDataINTEL* in_struct) :
23172 value32(in_struct->value32),
23173 value64(in_struct->value64),
23174 valueFloat(in_struct->valueFloat),
23175 valueBool(in_struct->valueBool),
23176 valueString(in_struct->valueString)
23177{
23178}
23179
23180safe_VkPerformanceValueDataINTEL::safe_VkPerformanceValueDataINTEL()
23181{}
23182
23183safe_VkPerformanceValueDataINTEL::safe_VkPerformanceValueDataINTEL(const safe_VkPerformanceValueDataINTEL& src)
23184{
23185 value32 = src.value32;
23186 value64 = src.value64;
23187 valueFloat = src.valueFloat;
23188 valueBool = src.valueBool;
23189 valueString = src.valueString;
23190}
23191
23192safe_VkPerformanceValueDataINTEL& safe_VkPerformanceValueDataINTEL::operator=(const safe_VkPerformanceValueDataINTEL& src)
23193{
23194 if (&src == this) return *this;
23195
23196
23197 value32 = src.value32;
23198 value64 = src.value64;
23199 valueFloat = src.valueFloat;
23200 valueBool = src.valueBool;
23201 valueString = src.valueString;
23202
23203 return *this;
23204}
23205
23206safe_VkPerformanceValueDataINTEL::~safe_VkPerformanceValueDataINTEL()
23207{
23208}
23209
23210void safe_VkPerformanceValueDataINTEL::initialize(const VkPerformanceValueDataINTEL* in_struct)
23211{
23212 value32 = in_struct->value32;
23213 value64 = in_struct->value64;
23214 valueFloat = in_struct->valueFloat;
23215 valueBool = in_struct->valueBool;
23216 valueString = in_struct->valueString;
23217}
23218
23219void safe_VkPerformanceValueDataINTEL::initialize(const safe_VkPerformanceValueDataINTEL* src)
23220{
23221 value32 = src->value32;
23222 value64 = src->value64;
23223 valueFloat = src->valueFloat;
23224 valueBool = src->valueBool;
23225 valueString = src->valueString;
23226}
23227
23228safe_VkInitializePerformanceApiInfoINTEL::safe_VkInitializePerformanceApiInfoINTEL(const VkInitializePerformanceApiInfoINTEL* in_struct) :
23229 sType(in_struct->sType),
23230 pNext(in_struct->pNext),
23231 pUserData(in_struct->pUserData)
23232{
23233}
23234
23235safe_VkInitializePerformanceApiInfoINTEL::safe_VkInitializePerformanceApiInfoINTEL()
23236{}
23237
23238safe_VkInitializePerformanceApiInfoINTEL::safe_VkInitializePerformanceApiInfoINTEL(const safe_VkInitializePerformanceApiInfoINTEL& src)
23239{
23240 sType = src.sType;
23241 pNext = src.pNext;
23242 pUserData = src.pUserData;
23243}
23244
23245safe_VkInitializePerformanceApiInfoINTEL& safe_VkInitializePerformanceApiInfoINTEL::operator=(const safe_VkInitializePerformanceApiInfoINTEL& src)
23246{
23247 if (&src == this) return *this;
23248
23249
23250 sType = src.sType;
23251 pNext = src.pNext;
23252 pUserData = src.pUserData;
23253
23254 return *this;
23255}
23256
23257safe_VkInitializePerformanceApiInfoINTEL::~safe_VkInitializePerformanceApiInfoINTEL()
23258{
23259}
23260
23261void safe_VkInitializePerformanceApiInfoINTEL::initialize(const VkInitializePerformanceApiInfoINTEL* in_struct)
23262{
23263 sType = in_struct->sType;
23264 pNext = in_struct->pNext;
23265 pUserData = in_struct->pUserData;
23266}
23267
23268void safe_VkInitializePerformanceApiInfoINTEL::initialize(const safe_VkInitializePerformanceApiInfoINTEL* src)
23269{
23270 sType = src->sType;
23271 pNext = src->pNext;
23272 pUserData = src->pUserData;
23273}
23274
23275safe_VkQueryPoolCreateInfoINTEL::safe_VkQueryPoolCreateInfoINTEL(const VkQueryPoolCreateInfoINTEL* in_struct) :
23276 sType(in_struct->sType),
23277 pNext(in_struct->pNext),
23278 performanceCountersSampling(in_struct->performanceCountersSampling)
23279{
23280}
23281
23282safe_VkQueryPoolCreateInfoINTEL::safe_VkQueryPoolCreateInfoINTEL()
23283{}
23284
23285safe_VkQueryPoolCreateInfoINTEL::safe_VkQueryPoolCreateInfoINTEL(const safe_VkQueryPoolCreateInfoINTEL& src)
23286{
23287 sType = src.sType;
23288 pNext = src.pNext;
23289 performanceCountersSampling = src.performanceCountersSampling;
23290}
23291
23292safe_VkQueryPoolCreateInfoINTEL& safe_VkQueryPoolCreateInfoINTEL::operator=(const safe_VkQueryPoolCreateInfoINTEL& src)
23293{
23294 if (&src == this) return *this;
23295
23296
23297 sType = src.sType;
23298 pNext = src.pNext;
23299 performanceCountersSampling = src.performanceCountersSampling;
23300
23301 return *this;
23302}
23303
23304safe_VkQueryPoolCreateInfoINTEL::~safe_VkQueryPoolCreateInfoINTEL()
23305{
23306}
23307
23308void safe_VkQueryPoolCreateInfoINTEL::initialize(const VkQueryPoolCreateInfoINTEL* in_struct)
23309{
23310 sType = in_struct->sType;
23311 pNext = in_struct->pNext;
23312 performanceCountersSampling = in_struct->performanceCountersSampling;
23313}
23314
23315void safe_VkQueryPoolCreateInfoINTEL::initialize(const safe_VkQueryPoolCreateInfoINTEL* src)
23316{
23317 sType = src->sType;
23318 pNext = src->pNext;
23319 performanceCountersSampling = src->performanceCountersSampling;
23320}
23321
23322safe_VkPerformanceMarkerInfoINTEL::safe_VkPerformanceMarkerInfoINTEL(const VkPerformanceMarkerInfoINTEL* in_struct) :
23323 sType(in_struct->sType),
23324 pNext(in_struct->pNext),
23325 marker(in_struct->marker)
23326{
23327}
23328
23329safe_VkPerformanceMarkerInfoINTEL::safe_VkPerformanceMarkerInfoINTEL()
23330{}
23331
23332safe_VkPerformanceMarkerInfoINTEL::safe_VkPerformanceMarkerInfoINTEL(const safe_VkPerformanceMarkerInfoINTEL& src)
23333{
23334 sType = src.sType;
23335 pNext = src.pNext;
23336 marker = src.marker;
23337}
23338
23339safe_VkPerformanceMarkerInfoINTEL& safe_VkPerformanceMarkerInfoINTEL::operator=(const safe_VkPerformanceMarkerInfoINTEL& src)
23340{
23341 if (&src == this) return *this;
23342
23343
23344 sType = src.sType;
23345 pNext = src.pNext;
23346 marker = src.marker;
23347
23348 return *this;
23349}
23350
23351safe_VkPerformanceMarkerInfoINTEL::~safe_VkPerformanceMarkerInfoINTEL()
23352{
23353}
23354
23355void safe_VkPerformanceMarkerInfoINTEL::initialize(const VkPerformanceMarkerInfoINTEL* in_struct)
23356{
23357 sType = in_struct->sType;
23358 pNext = in_struct->pNext;
23359 marker = in_struct->marker;
23360}
23361
23362void safe_VkPerformanceMarkerInfoINTEL::initialize(const safe_VkPerformanceMarkerInfoINTEL* src)
23363{
23364 sType = src->sType;
23365 pNext = src->pNext;
23366 marker = src->marker;
23367}
23368
23369safe_VkPerformanceStreamMarkerInfoINTEL::safe_VkPerformanceStreamMarkerInfoINTEL(const VkPerformanceStreamMarkerInfoINTEL* in_struct) :
23370 sType(in_struct->sType),
23371 pNext(in_struct->pNext),
23372 marker(in_struct->marker)
23373{
23374}
23375
23376safe_VkPerformanceStreamMarkerInfoINTEL::safe_VkPerformanceStreamMarkerInfoINTEL()
23377{}
23378
23379safe_VkPerformanceStreamMarkerInfoINTEL::safe_VkPerformanceStreamMarkerInfoINTEL(const safe_VkPerformanceStreamMarkerInfoINTEL& src)
23380{
23381 sType = src.sType;
23382 pNext = src.pNext;
23383 marker = src.marker;
23384}
23385
23386safe_VkPerformanceStreamMarkerInfoINTEL& safe_VkPerformanceStreamMarkerInfoINTEL::operator=(const safe_VkPerformanceStreamMarkerInfoINTEL& src)
23387{
23388 if (&src == this) return *this;
23389
23390
23391 sType = src.sType;
23392 pNext = src.pNext;
23393 marker = src.marker;
23394
23395 return *this;
23396}
23397
23398safe_VkPerformanceStreamMarkerInfoINTEL::~safe_VkPerformanceStreamMarkerInfoINTEL()
23399{
23400}
23401
23402void safe_VkPerformanceStreamMarkerInfoINTEL::initialize(const VkPerformanceStreamMarkerInfoINTEL* in_struct)
23403{
23404 sType = in_struct->sType;
23405 pNext = in_struct->pNext;
23406 marker = in_struct->marker;
23407}
23408
23409void safe_VkPerformanceStreamMarkerInfoINTEL::initialize(const safe_VkPerformanceStreamMarkerInfoINTEL* src)
23410{
23411 sType = src->sType;
23412 pNext = src->pNext;
23413 marker = src->marker;
23414}
23415
23416safe_VkPerformanceOverrideInfoINTEL::safe_VkPerformanceOverrideInfoINTEL(const VkPerformanceOverrideInfoINTEL* in_struct) :
23417 sType(in_struct->sType),
23418 pNext(in_struct->pNext),
23419 type(in_struct->type),
23420 enable(in_struct->enable),
23421 parameter(in_struct->parameter)
23422{
23423}
23424
23425safe_VkPerformanceOverrideInfoINTEL::safe_VkPerformanceOverrideInfoINTEL()
23426{}
23427
23428safe_VkPerformanceOverrideInfoINTEL::safe_VkPerformanceOverrideInfoINTEL(const safe_VkPerformanceOverrideInfoINTEL& src)
23429{
23430 sType = src.sType;
23431 pNext = src.pNext;
23432 type = src.type;
23433 enable = src.enable;
23434 parameter = src.parameter;
23435}
23436
23437safe_VkPerformanceOverrideInfoINTEL& safe_VkPerformanceOverrideInfoINTEL::operator=(const safe_VkPerformanceOverrideInfoINTEL& src)
23438{
23439 if (&src == this) return *this;
23440
23441
23442 sType = src.sType;
23443 pNext = src.pNext;
23444 type = src.type;
23445 enable = src.enable;
23446 parameter = src.parameter;
23447
23448 return *this;
23449}
23450
23451safe_VkPerformanceOverrideInfoINTEL::~safe_VkPerformanceOverrideInfoINTEL()
23452{
23453}
23454
23455void safe_VkPerformanceOverrideInfoINTEL::initialize(const VkPerformanceOverrideInfoINTEL* in_struct)
23456{
23457 sType = in_struct->sType;
23458 pNext = in_struct->pNext;
23459 type = in_struct->type;
23460 enable = in_struct->enable;
23461 parameter = in_struct->parameter;
23462}
23463
23464void safe_VkPerformanceOverrideInfoINTEL::initialize(const safe_VkPerformanceOverrideInfoINTEL* src)
23465{
23466 sType = src->sType;
23467 pNext = src->pNext;
23468 type = src->type;
23469 enable = src->enable;
23470 parameter = src->parameter;
23471}
23472
23473safe_VkPerformanceConfigurationAcquireInfoINTEL::safe_VkPerformanceConfigurationAcquireInfoINTEL(const VkPerformanceConfigurationAcquireInfoINTEL* in_struct) :
23474 sType(in_struct->sType),
23475 pNext(in_struct->pNext),
23476 type(in_struct->type)
23477{
23478}
23479
23480safe_VkPerformanceConfigurationAcquireInfoINTEL::safe_VkPerformanceConfigurationAcquireInfoINTEL()
23481{}
23482
23483safe_VkPerformanceConfigurationAcquireInfoINTEL::safe_VkPerformanceConfigurationAcquireInfoINTEL(const safe_VkPerformanceConfigurationAcquireInfoINTEL& src)
23484{
23485 sType = src.sType;
23486 pNext = src.pNext;
23487 type = src.type;
23488}
23489
23490safe_VkPerformanceConfigurationAcquireInfoINTEL& safe_VkPerformanceConfigurationAcquireInfoINTEL::operator=(const safe_VkPerformanceConfigurationAcquireInfoINTEL& src)
23491{
23492 if (&src == this) return *this;
23493
23494
23495 sType = src.sType;
23496 pNext = src.pNext;
23497 type = src.type;
23498
23499 return *this;
23500}
23501
23502safe_VkPerformanceConfigurationAcquireInfoINTEL::~safe_VkPerformanceConfigurationAcquireInfoINTEL()
23503{
23504}
23505
23506void safe_VkPerformanceConfigurationAcquireInfoINTEL::initialize(const VkPerformanceConfigurationAcquireInfoINTEL* in_struct)
23507{
23508 sType = in_struct->sType;
23509 pNext = in_struct->pNext;
23510 type = in_struct->type;
23511}
23512
23513void safe_VkPerformanceConfigurationAcquireInfoINTEL::initialize(const safe_VkPerformanceConfigurationAcquireInfoINTEL* src)
23514{
23515 sType = src->sType;
23516 pNext = src->pNext;
23517 type = src->type;
23518}
23519
23520safe_VkPhysicalDevicePCIBusInfoPropertiesEXT::safe_VkPhysicalDevicePCIBusInfoPropertiesEXT(const VkPhysicalDevicePCIBusInfoPropertiesEXT* in_struct) :
23521 sType(in_struct->sType),
23522 pNext(in_struct->pNext),
23523 pciDomain(in_struct->pciDomain),
23524 pciBus(in_struct->pciBus),
23525 pciDevice(in_struct->pciDevice),
23526 pciFunction(in_struct->pciFunction)
23527{
23528}
23529
23530safe_VkPhysicalDevicePCIBusInfoPropertiesEXT::safe_VkPhysicalDevicePCIBusInfoPropertiesEXT()
23531{}
23532
23533safe_VkPhysicalDevicePCIBusInfoPropertiesEXT::safe_VkPhysicalDevicePCIBusInfoPropertiesEXT(const safe_VkPhysicalDevicePCIBusInfoPropertiesEXT& src)
23534{
23535 sType = src.sType;
23536 pNext = src.pNext;
23537 pciDomain = src.pciDomain;
23538 pciBus = src.pciBus;
23539 pciDevice = src.pciDevice;
23540 pciFunction = src.pciFunction;
23541}
23542
23543safe_VkPhysicalDevicePCIBusInfoPropertiesEXT& safe_VkPhysicalDevicePCIBusInfoPropertiesEXT::operator=(const safe_VkPhysicalDevicePCIBusInfoPropertiesEXT& src)
23544{
23545 if (&src == this) return *this;
23546
23547
23548 sType = src.sType;
23549 pNext = src.pNext;
23550 pciDomain = src.pciDomain;
23551 pciBus = src.pciBus;
23552 pciDevice = src.pciDevice;
23553 pciFunction = src.pciFunction;
23554
23555 return *this;
23556}
23557
23558safe_VkPhysicalDevicePCIBusInfoPropertiesEXT::~safe_VkPhysicalDevicePCIBusInfoPropertiesEXT()
23559{
23560}
23561
23562void safe_VkPhysicalDevicePCIBusInfoPropertiesEXT::initialize(const VkPhysicalDevicePCIBusInfoPropertiesEXT* in_struct)
23563{
23564 sType = in_struct->sType;
23565 pNext = in_struct->pNext;
23566 pciDomain = in_struct->pciDomain;
23567 pciBus = in_struct->pciBus;
23568 pciDevice = in_struct->pciDevice;
23569 pciFunction = in_struct->pciFunction;
23570}
23571
23572void safe_VkPhysicalDevicePCIBusInfoPropertiesEXT::initialize(const safe_VkPhysicalDevicePCIBusInfoPropertiesEXT* src)
23573{
23574 sType = src->sType;
23575 pNext = src->pNext;
23576 pciDomain = src->pciDomain;
23577 pciBus = src->pciBus;
23578 pciDevice = src->pciDevice;
23579 pciFunction = src->pciFunction;
23580}
23581
23582safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD::safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD(const VkDisplayNativeHdrSurfaceCapabilitiesAMD* in_struct) :
23583 sType(in_struct->sType),
23584 pNext(in_struct->pNext),
23585 localDimmingSupport(in_struct->localDimmingSupport)
23586{
23587}
23588
23589safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD::safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD()
23590{}
23591
23592safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD::safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD(const safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD& src)
23593{
23594 sType = src.sType;
23595 pNext = src.pNext;
23596 localDimmingSupport = src.localDimmingSupport;
23597}
23598
23599safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD& safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD::operator=(const safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD& src)
23600{
23601 if (&src == this) return *this;
23602
23603
23604 sType = src.sType;
23605 pNext = src.pNext;
23606 localDimmingSupport = src.localDimmingSupport;
23607
23608 return *this;
23609}
23610
23611safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD::~safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD()
23612{
23613}
23614
23615void safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD::initialize(const VkDisplayNativeHdrSurfaceCapabilitiesAMD* in_struct)
23616{
23617 sType = in_struct->sType;
23618 pNext = in_struct->pNext;
23619 localDimmingSupport = in_struct->localDimmingSupport;
23620}
23621
23622void safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD::initialize(const safe_VkDisplayNativeHdrSurfaceCapabilitiesAMD* src)
23623{
23624 sType = src->sType;
23625 pNext = src->pNext;
23626 localDimmingSupport = src->localDimmingSupport;
23627}
23628
23629safe_VkSwapchainDisplayNativeHdrCreateInfoAMD::safe_VkSwapchainDisplayNativeHdrCreateInfoAMD(const VkSwapchainDisplayNativeHdrCreateInfoAMD* in_struct) :
23630 sType(in_struct->sType),
23631 pNext(in_struct->pNext),
23632 localDimmingEnable(in_struct->localDimmingEnable)
23633{
23634}
23635
23636safe_VkSwapchainDisplayNativeHdrCreateInfoAMD::safe_VkSwapchainDisplayNativeHdrCreateInfoAMD()
23637{}
23638
23639safe_VkSwapchainDisplayNativeHdrCreateInfoAMD::safe_VkSwapchainDisplayNativeHdrCreateInfoAMD(const safe_VkSwapchainDisplayNativeHdrCreateInfoAMD& src)
23640{
23641 sType = src.sType;
23642 pNext = src.pNext;
23643 localDimmingEnable = src.localDimmingEnable;
23644}
23645
23646safe_VkSwapchainDisplayNativeHdrCreateInfoAMD& safe_VkSwapchainDisplayNativeHdrCreateInfoAMD::operator=(const safe_VkSwapchainDisplayNativeHdrCreateInfoAMD& src)
23647{
23648 if (&src == this) return *this;
23649
23650
23651 sType = src.sType;
23652 pNext = src.pNext;
23653 localDimmingEnable = src.localDimmingEnable;
23654
23655 return *this;
23656}
23657
23658safe_VkSwapchainDisplayNativeHdrCreateInfoAMD::~safe_VkSwapchainDisplayNativeHdrCreateInfoAMD()
23659{
23660}
23661
23662void safe_VkSwapchainDisplayNativeHdrCreateInfoAMD::initialize(const VkSwapchainDisplayNativeHdrCreateInfoAMD* in_struct)
23663{
23664 sType = in_struct->sType;
23665 pNext = in_struct->pNext;
23666 localDimmingEnable = in_struct->localDimmingEnable;
23667}
23668
23669void safe_VkSwapchainDisplayNativeHdrCreateInfoAMD::initialize(const safe_VkSwapchainDisplayNativeHdrCreateInfoAMD* src)
23670{
23671 sType = src->sType;
23672 pNext = src->pNext;
23673 localDimmingEnable = src->localDimmingEnable;
23674}
23675#ifdef VK_USE_PLATFORM_FUCHSIA
23676
23677
23678safe_VkImagePipeSurfaceCreateInfoFUCHSIA::safe_VkImagePipeSurfaceCreateInfoFUCHSIA(const VkImagePipeSurfaceCreateInfoFUCHSIA* in_struct) :
23679 sType(in_struct->sType),
23680 pNext(in_struct->pNext),
23681 flags(in_struct->flags),
23682 imagePipeHandle(in_struct->imagePipeHandle)
23683{
23684}
23685
23686safe_VkImagePipeSurfaceCreateInfoFUCHSIA::safe_VkImagePipeSurfaceCreateInfoFUCHSIA()
23687{}
23688
23689safe_VkImagePipeSurfaceCreateInfoFUCHSIA::safe_VkImagePipeSurfaceCreateInfoFUCHSIA(const safe_VkImagePipeSurfaceCreateInfoFUCHSIA& src)
23690{
23691 sType = src.sType;
23692 pNext = src.pNext;
23693 flags = src.flags;
23694 imagePipeHandle = src.imagePipeHandle;
23695}
23696
23697safe_VkImagePipeSurfaceCreateInfoFUCHSIA& safe_VkImagePipeSurfaceCreateInfoFUCHSIA::operator=(const safe_VkImagePipeSurfaceCreateInfoFUCHSIA& src)
23698{
23699 if (&src == this) return *this;
23700
23701
23702 sType = src.sType;
23703 pNext = src.pNext;
23704 flags = src.flags;
23705 imagePipeHandle = src.imagePipeHandle;
23706
23707 return *this;
23708}
23709
23710safe_VkImagePipeSurfaceCreateInfoFUCHSIA::~safe_VkImagePipeSurfaceCreateInfoFUCHSIA()
23711{
23712}
23713
23714void safe_VkImagePipeSurfaceCreateInfoFUCHSIA::initialize(const VkImagePipeSurfaceCreateInfoFUCHSIA* in_struct)
23715{
23716 sType = in_struct->sType;
23717 pNext = in_struct->pNext;
23718 flags = in_struct->flags;
23719 imagePipeHandle = in_struct->imagePipeHandle;
23720}
23721
23722void safe_VkImagePipeSurfaceCreateInfoFUCHSIA::initialize(const safe_VkImagePipeSurfaceCreateInfoFUCHSIA* src)
23723{
23724 sType = src->sType;
23725 pNext = src->pNext;
23726 flags = src->flags;
23727 imagePipeHandle = src->imagePipeHandle;
23728}
23729#endif // VK_USE_PLATFORM_FUCHSIA
23730
23731#ifdef VK_USE_PLATFORM_METAL_EXT
23732
23733
23734safe_VkMetalSurfaceCreateInfoEXT::safe_VkMetalSurfaceCreateInfoEXT(const VkMetalSurfaceCreateInfoEXT* in_struct) :
23735 sType(in_struct->sType),
23736 pNext(in_struct->pNext),
23737 flags(in_struct->flags),
23738 pLayer(nullptr)
23739{
23740 if (in_struct->pLayer) {
23741 pLayer = new CAMetalLayer(*in_struct->pLayer);
23742 }
23743}
23744
23745safe_VkMetalSurfaceCreateInfoEXT::safe_VkMetalSurfaceCreateInfoEXT() :
23746 pLayer(nullptr)
23747{}
23748
23749safe_VkMetalSurfaceCreateInfoEXT::safe_VkMetalSurfaceCreateInfoEXT(const safe_VkMetalSurfaceCreateInfoEXT& src)
23750{
23751 sType = src.sType;
23752 pNext = src.pNext;
23753 flags = src.flags;
23754 pLayer = nullptr;
23755 if (src.pLayer) {
23756 pLayer = new CAMetalLayer(*src.pLayer);
23757 }
23758}
23759
23760safe_VkMetalSurfaceCreateInfoEXT& safe_VkMetalSurfaceCreateInfoEXT::operator=(const safe_VkMetalSurfaceCreateInfoEXT& src)
23761{
23762 if (&src == this) return *this;
23763
23764 if (pLayer)
23765 delete pLayer;
23766
23767 sType = src.sType;
23768 pNext = src.pNext;
23769 flags = src.flags;
23770 pLayer = nullptr;
23771 if (src.pLayer) {
23772 pLayer = new CAMetalLayer(*src.pLayer);
23773 }
23774
23775 return *this;
23776}
23777
23778safe_VkMetalSurfaceCreateInfoEXT::~safe_VkMetalSurfaceCreateInfoEXT()
23779{
23780 if (pLayer)
23781 delete pLayer;
23782}
23783
23784void safe_VkMetalSurfaceCreateInfoEXT::initialize(const VkMetalSurfaceCreateInfoEXT* in_struct)
23785{
23786 sType = in_struct->sType;
23787 pNext = in_struct->pNext;
23788 flags = in_struct->flags;
23789 pLayer = nullptr;
23790 if (in_struct->pLayer) {
23791 pLayer = new CAMetalLayer(*in_struct->pLayer);
23792 }
23793}
23794
23795void safe_VkMetalSurfaceCreateInfoEXT::initialize(const safe_VkMetalSurfaceCreateInfoEXT* src)
23796{
23797 sType = src->sType;
23798 pNext = src->pNext;
23799 flags = src->flags;
23800 pLayer = nullptr;
23801 if (src->pLayer) {
23802 pLayer = new CAMetalLayer(*src->pLayer);
23803 }
23804}
23805#endif // VK_USE_PLATFORM_METAL_EXT
23806
23807
23808safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT::safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT(const VkPhysicalDeviceFragmentDensityMapFeaturesEXT* in_struct) :
23809 sType(in_struct->sType),
23810 pNext(in_struct->pNext),
23811 fragmentDensityMap(in_struct->fragmentDensityMap),
23812 fragmentDensityMapDynamic(in_struct->fragmentDensityMapDynamic),
23813 fragmentDensityMapNonSubsampledImages(in_struct->fragmentDensityMapNonSubsampledImages)
23814{
23815}
23816
23817safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT::safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT()
23818{}
23819
23820safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT::safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT(const safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT& src)
23821{
23822 sType = src.sType;
23823 pNext = src.pNext;
23824 fragmentDensityMap = src.fragmentDensityMap;
23825 fragmentDensityMapDynamic = src.fragmentDensityMapDynamic;
23826 fragmentDensityMapNonSubsampledImages = src.fragmentDensityMapNonSubsampledImages;
23827}
23828
23829safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT& safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT::operator=(const safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT& src)
23830{
23831 if (&src == this) return *this;
23832
23833
23834 sType = src.sType;
23835 pNext = src.pNext;
23836 fragmentDensityMap = src.fragmentDensityMap;
23837 fragmentDensityMapDynamic = src.fragmentDensityMapDynamic;
23838 fragmentDensityMapNonSubsampledImages = src.fragmentDensityMapNonSubsampledImages;
23839
23840 return *this;
23841}
23842
23843safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT::~safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT()
23844{
23845}
23846
23847void safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT::initialize(const VkPhysicalDeviceFragmentDensityMapFeaturesEXT* in_struct)
23848{
23849 sType = in_struct->sType;
23850 pNext = in_struct->pNext;
23851 fragmentDensityMap = in_struct->fragmentDensityMap;
23852 fragmentDensityMapDynamic = in_struct->fragmentDensityMapDynamic;
23853 fragmentDensityMapNonSubsampledImages = in_struct->fragmentDensityMapNonSubsampledImages;
23854}
23855
23856void safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT::initialize(const safe_VkPhysicalDeviceFragmentDensityMapFeaturesEXT* src)
23857{
23858 sType = src->sType;
23859 pNext = src->pNext;
23860 fragmentDensityMap = src->fragmentDensityMap;
23861 fragmentDensityMapDynamic = src->fragmentDensityMapDynamic;
23862 fragmentDensityMapNonSubsampledImages = src->fragmentDensityMapNonSubsampledImages;
23863}
23864
23865safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT::safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT(const VkPhysicalDeviceFragmentDensityMapPropertiesEXT* in_struct) :
23866 sType(in_struct->sType),
23867 pNext(in_struct->pNext),
23868 minFragmentDensityTexelSize(in_struct->minFragmentDensityTexelSize),
23869 maxFragmentDensityTexelSize(in_struct->maxFragmentDensityTexelSize),
23870 fragmentDensityInvocations(in_struct->fragmentDensityInvocations)
23871{
23872}
23873
23874safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT::safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT()
23875{}
23876
23877safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT::safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT(const safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT& src)
23878{
23879 sType = src.sType;
23880 pNext = src.pNext;
23881 minFragmentDensityTexelSize = src.minFragmentDensityTexelSize;
23882 maxFragmentDensityTexelSize = src.maxFragmentDensityTexelSize;
23883 fragmentDensityInvocations = src.fragmentDensityInvocations;
23884}
23885
23886safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT& safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT::operator=(const safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT& src)
23887{
23888 if (&src == this) return *this;
23889
23890
23891 sType = src.sType;
23892 pNext = src.pNext;
23893 minFragmentDensityTexelSize = src.minFragmentDensityTexelSize;
23894 maxFragmentDensityTexelSize = src.maxFragmentDensityTexelSize;
23895 fragmentDensityInvocations = src.fragmentDensityInvocations;
23896
23897 return *this;
23898}
23899
23900safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT::~safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT()
23901{
23902}
23903
23904void safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT::initialize(const VkPhysicalDeviceFragmentDensityMapPropertiesEXT* in_struct)
23905{
23906 sType = in_struct->sType;
23907 pNext = in_struct->pNext;
23908 minFragmentDensityTexelSize = in_struct->minFragmentDensityTexelSize;
23909 maxFragmentDensityTexelSize = in_struct->maxFragmentDensityTexelSize;
23910 fragmentDensityInvocations = in_struct->fragmentDensityInvocations;
23911}
23912
23913void safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT::initialize(const safe_VkPhysicalDeviceFragmentDensityMapPropertiesEXT* src)
23914{
23915 sType = src->sType;
23916 pNext = src->pNext;
23917 minFragmentDensityTexelSize = src->minFragmentDensityTexelSize;
23918 maxFragmentDensityTexelSize = src->maxFragmentDensityTexelSize;
23919 fragmentDensityInvocations = src->fragmentDensityInvocations;
23920}
23921
23922safe_VkRenderPassFragmentDensityMapCreateInfoEXT::safe_VkRenderPassFragmentDensityMapCreateInfoEXT(const VkRenderPassFragmentDensityMapCreateInfoEXT* in_struct) :
23923 sType(in_struct->sType),
23924 pNext(in_struct->pNext),
23925 fragmentDensityMapAttachment(in_struct->fragmentDensityMapAttachment)
23926{
23927}
23928
23929safe_VkRenderPassFragmentDensityMapCreateInfoEXT::safe_VkRenderPassFragmentDensityMapCreateInfoEXT()
23930{}
23931
23932safe_VkRenderPassFragmentDensityMapCreateInfoEXT::safe_VkRenderPassFragmentDensityMapCreateInfoEXT(const safe_VkRenderPassFragmentDensityMapCreateInfoEXT& src)
23933{
23934 sType = src.sType;
23935 pNext = src.pNext;
23936 fragmentDensityMapAttachment = src.fragmentDensityMapAttachment;
23937}
23938
23939safe_VkRenderPassFragmentDensityMapCreateInfoEXT& safe_VkRenderPassFragmentDensityMapCreateInfoEXT::operator=(const safe_VkRenderPassFragmentDensityMapCreateInfoEXT& src)
23940{
23941 if (&src == this) return *this;
23942
23943
23944 sType = src.sType;
23945 pNext = src.pNext;
23946 fragmentDensityMapAttachment = src.fragmentDensityMapAttachment;
23947
23948 return *this;
23949}
23950
23951safe_VkRenderPassFragmentDensityMapCreateInfoEXT::~safe_VkRenderPassFragmentDensityMapCreateInfoEXT()
23952{
23953}
23954
23955void safe_VkRenderPassFragmentDensityMapCreateInfoEXT::initialize(const VkRenderPassFragmentDensityMapCreateInfoEXT* in_struct)
23956{
23957 sType = in_struct->sType;
23958 pNext = in_struct->pNext;
23959 fragmentDensityMapAttachment = in_struct->fragmentDensityMapAttachment;
23960}
23961
23962void safe_VkRenderPassFragmentDensityMapCreateInfoEXT::initialize(const safe_VkRenderPassFragmentDensityMapCreateInfoEXT* src)
23963{
23964 sType = src->sType;
23965 pNext = src->pNext;
23966 fragmentDensityMapAttachment = src->fragmentDensityMapAttachment;
23967}
23968
23969safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT::safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT(const VkPhysicalDeviceScalarBlockLayoutFeaturesEXT* in_struct) :
23970 sType(in_struct->sType),
23971 pNext(in_struct->pNext),
23972 scalarBlockLayout(in_struct->scalarBlockLayout)
23973{
23974}
23975
23976safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT::safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT()
23977{}
23978
23979safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT::safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT(const safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT& src)
23980{
23981 sType = src.sType;
23982 pNext = src.pNext;
23983 scalarBlockLayout = src.scalarBlockLayout;
23984}
23985
23986safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT& safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT::operator=(const safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT& src)
23987{
23988 if (&src == this) return *this;
23989
23990
23991 sType = src.sType;
23992 pNext = src.pNext;
23993 scalarBlockLayout = src.scalarBlockLayout;
23994
23995 return *this;
23996}
23997
23998safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT::~safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT()
23999{
24000}
24001
24002void safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT::initialize(const VkPhysicalDeviceScalarBlockLayoutFeaturesEXT* in_struct)
24003{
24004 sType = in_struct->sType;
24005 pNext = in_struct->pNext;
24006 scalarBlockLayout = in_struct->scalarBlockLayout;
24007}
24008
24009void safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT::initialize(const safe_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT* src)
24010{
24011 sType = src->sType;
24012 pNext = src->pNext;
24013 scalarBlockLayout = src->scalarBlockLayout;
24014}
24015
24016safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT::safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT(const VkPhysicalDeviceMemoryBudgetPropertiesEXT* in_struct) :
24017 sType(in_struct->sType),
24018 pNext(in_struct->pNext)
24019{
24020 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
24021 heapBudget[i] = in_struct->heapBudget[i];
24022 }
24023 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
24024 heapUsage[i] = in_struct->heapUsage[i];
24025 }
24026}
24027
24028safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT::safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT()
24029{}
24030
24031safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT::safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT(const safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT& src)
24032{
24033 sType = src.sType;
24034 pNext = src.pNext;
24035 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
24036 heapBudget[i] = src.heapBudget[i];
24037 }
24038 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
24039 heapUsage[i] = src.heapUsage[i];
24040 }
24041}
24042
24043safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT& safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT::operator=(const safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT& src)
24044{
24045 if (&src == this) return *this;
24046
24047
24048 sType = src.sType;
24049 pNext = src.pNext;
24050 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
24051 heapBudget[i] = src.heapBudget[i];
24052 }
24053 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
24054 heapUsage[i] = src.heapUsage[i];
24055 }
24056
24057 return *this;
24058}
24059
24060safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT::~safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT()
24061{
24062}
24063
24064void safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT::initialize(const VkPhysicalDeviceMemoryBudgetPropertiesEXT* in_struct)
24065{
24066 sType = in_struct->sType;
24067 pNext = in_struct->pNext;
24068 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
24069 heapBudget[i] = in_struct->heapBudget[i];
24070 }
24071 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
24072 heapUsage[i] = in_struct->heapUsage[i];
24073 }
24074}
24075
24076void safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT::initialize(const safe_VkPhysicalDeviceMemoryBudgetPropertiesEXT* src)
24077{
24078 sType = src->sType;
24079 pNext = src->pNext;
24080 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
24081 heapBudget[i] = src->heapBudget[i];
24082 }
24083 for (uint32_t i=0; i<VK_MAX_MEMORY_HEAPS; ++i) {
24084 heapUsage[i] = src->heapUsage[i];
24085 }
24086}
24087
24088safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT::safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT(const VkPhysicalDeviceMemoryPriorityFeaturesEXT* in_struct) :
24089 sType(in_struct->sType),
24090 pNext(in_struct->pNext),
24091 memoryPriority(in_struct->memoryPriority)
24092{
24093}
24094
24095safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT::safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT()
24096{}
24097
24098safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT::safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT(const safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT& src)
24099{
24100 sType = src.sType;
24101 pNext = src.pNext;
24102 memoryPriority = src.memoryPriority;
24103}
24104
24105safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT& safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT::operator=(const safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT& src)
24106{
24107 if (&src == this) return *this;
24108
24109
24110 sType = src.sType;
24111 pNext = src.pNext;
24112 memoryPriority = src.memoryPriority;
24113
24114 return *this;
24115}
24116
24117safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT::~safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT()
24118{
24119}
24120
24121void safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT::initialize(const VkPhysicalDeviceMemoryPriorityFeaturesEXT* in_struct)
24122{
24123 sType = in_struct->sType;
24124 pNext = in_struct->pNext;
24125 memoryPriority = in_struct->memoryPriority;
24126}
24127
24128void safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT::initialize(const safe_VkPhysicalDeviceMemoryPriorityFeaturesEXT* src)
24129{
24130 sType = src->sType;
24131 pNext = src->pNext;
24132 memoryPriority = src->memoryPriority;
24133}
24134
24135safe_VkMemoryPriorityAllocateInfoEXT::safe_VkMemoryPriorityAllocateInfoEXT(const VkMemoryPriorityAllocateInfoEXT* in_struct) :
24136 sType(in_struct->sType),
24137 pNext(in_struct->pNext),
24138 priority(in_struct->priority)
24139{
24140}
24141
24142safe_VkMemoryPriorityAllocateInfoEXT::safe_VkMemoryPriorityAllocateInfoEXT()
24143{}
24144
24145safe_VkMemoryPriorityAllocateInfoEXT::safe_VkMemoryPriorityAllocateInfoEXT(const safe_VkMemoryPriorityAllocateInfoEXT& src)
24146{
24147 sType = src.sType;
24148 pNext = src.pNext;
24149 priority = src.priority;
24150}
24151
24152safe_VkMemoryPriorityAllocateInfoEXT& safe_VkMemoryPriorityAllocateInfoEXT::operator=(const safe_VkMemoryPriorityAllocateInfoEXT& src)
24153{
24154 if (&src == this) return *this;
24155
24156
24157 sType = src.sType;
24158 pNext = src.pNext;
24159 priority = src.priority;
24160
24161 return *this;
24162}
24163
24164safe_VkMemoryPriorityAllocateInfoEXT::~safe_VkMemoryPriorityAllocateInfoEXT()
24165{
24166}
24167
24168void safe_VkMemoryPriorityAllocateInfoEXT::initialize(const VkMemoryPriorityAllocateInfoEXT* in_struct)
24169{
24170 sType = in_struct->sType;
24171 pNext = in_struct->pNext;
24172 priority = in_struct->priority;
24173}
24174
24175void safe_VkMemoryPriorityAllocateInfoEXT::initialize(const safe_VkMemoryPriorityAllocateInfoEXT* src)
24176{
24177 sType = src->sType;
24178 pNext = src->pNext;
24179 priority = src->priority;
24180}
24181
24182safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV(const VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV* in_struct) :
24183 sType(in_struct->sType),
24184 pNext(in_struct->pNext),
24185 dedicatedAllocationImageAliasing(in_struct->dedicatedAllocationImageAliasing)
24186{
24187}
24188
24189safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV()
24190{}
24191
24192safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV(const safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV& src)
24193{
24194 sType = src.sType;
24195 pNext = src.pNext;
24196 dedicatedAllocationImageAliasing = src.dedicatedAllocationImageAliasing;
24197}
24198
24199safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV& safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::operator=(const safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV& src)
24200{
24201 if (&src == this) return *this;
24202
24203
24204 sType = src.sType;
24205 pNext = src.pNext;
24206 dedicatedAllocationImageAliasing = src.dedicatedAllocationImageAliasing;
24207
24208 return *this;
24209}
24210
24211safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::~safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV()
24212{
24213}
24214
24215void safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::initialize(const VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV* in_struct)
24216{
24217 sType = in_struct->sType;
24218 pNext = in_struct->pNext;
24219 dedicatedAllocationImageAliasing = in_struct->dedicatedAllocationImageAliasing;
24220}
24221
24222void safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::initialize(const safe_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV* src)
24223{
24224 sType = src->sType;
24225 pNext = src->pNext;
24226 dedicatedAllocationImageAliasing = src->dedicatedAllocationImageAliasing;
24227}
24228
24229safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT(const VkPhysicalDeviceBufferDeviceAddressFeaturesEXT* in_struct) :
24230 sType(in_struct->sType),
24231 pNext(in_struct->pNext),
24232 bufferDeviceAddress(in_struct->bufferDeviceAddress),
24233 bufferDeviceAddressCaptureReplay(in_struct->bufferDeviceAddressCaptureReplay),
24234 bufferDeviceAddressMultiDevice(in_struct->bufferDeviceAddressMultiDevice)
24235{
24236}
24237
24238safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT()
24239{}
24240
24241safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT(const safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT& src)
24242{
24243 sType = src.sType;
24244 pNext = src.pNext;
24245 bufferDeviceAddress = src.bufferDeviceAddress;
24246 bufferDeviceAddressCaptureReplay = src.bufferDeviceAddressCaptureReplay;
24247 bufferDeviceAddressMultiDevice = src.bufferDeviceAddressMultiDevice;
24248}
24249
24250safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT& safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::operator=(const safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT& src)
24251{
24252 if (&src == this) return *this;
24253
24254
24255 sType = src.sType;
24256 pNext = src.pNext;
24257 bufferDeviceAddress = src.bufferDeviceAddress;
24258 bufferDeviceAddressCaptureReplay = src.bufferDeviceAddressCaptureReplay;
24259 bufferDeviceAddressMultiDevice = src.bufferDeviceAddressMultiDevice;
24260
24261 return *this;
24262}
24263
24264safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::~safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT()
24265{
24266}
24267
24268void safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::initialize(const VkPhysicalDeviceBufferDeviceAddressFeaturesEXT* in_struct)
24269{
24270 sType = in_struct->sType;
24271 pNext = in_struct->pNext;
24272 bufferDeviceAddress = in_struct->bufferDeviceAddress;
24273 bufferDeviceAddressCaptureReplay = in_struct->bufferDeviceAddressCaptureReplay;
24274 bufferDeviceAddressMultiDevice = in_struct->bufferDeviceAddressMultiDevice;
24275}
24276
24277void safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::initialize(const safe_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT* src)
24278{
24279 sType = src->sType;
24280 pNext = src->pNext;
24281 bufferDeviceAddress = src->bufferDeviceAddress;
24282 bufferDeviceAddressCaptureReplay = src->bufferDeviceAddressCaptureReplay;
24283 bufferDeviceAddressMultiDevice = src->bufferDeviceAddressMultiDevice;
24284}
24285
24286safe_VkBufferDeviceAddressInfoEXT::safe_VkBufferDeviceAddressInfoEXT(const VkBufferDeviceAddressInfoEXT* in_struct) :
24287 sType(in_struct->sType),
24288 pNext(in_struct->pNext),
24289 buffer(in_struct->buffer)
24290{
24291}
24292
24293safe_VkBufferDeviceAddressInfoEXT::safe_VkBufferDeviceAddressInfoEXT()
24294{}
24295
24296safe_VkBufferDeviceAddressInfoEXT::safe_VkBufferDeviceAddressInfoEXT(const safe_VkBufferDeviceAddressInfoEXT& src)
24297{
24298 sType = src.sType;
24299 pNext = src.pNext;
24300 buffer = src.buffer;
24301}
24302
24303safe_VkBufferDeviceAddressInfoEXT& safe_VkBufferDeviceAddressInfoEXT::operator=(const safe_VkBufferDeviceAddressInfoEXT& src)
24304{
24305 if (&src == this) return *this;
24306
24307
24308 sType = src.sType;
24309 pNext = src.pNext;
24310 buffer = src.buffer;
24311
24312 return *this;
24313}
24314
24315safe_VkBufferDeviceAddressInfoEXT::~safe_VkBufferDeviceAddressInfoEXT()
24316{
24317}
24318
24319void safe_VkBufferDeviceAddressInfoEXT::initialize(const VkBufferDeviceAddressInfoEXT* in_struct)
24320{
24321 sType = in_struct->sType;
24322 pNext = in_struct->pNext;
24323 buffer = in_struct->buffer;
24324}
24325
24326void safe_VkBufferDeviceAddressInfoEXT::initialize(const safe_VkBufferDeviceAddressInfoEXT* src)
24327{
24328 sType = src->sType;
24329 pNext = src->pNext;
24330 buffer = src->buffer;
24331}
24332
24333safe_VkBufferDeviceAddressCreateInfoEXT::safe_VkBufferDeviceAddressCreateInfoEXT(const VkBufferDeviceAddressCreateInfoEXT* in_struct) :
24334 sType(in_struct->sType),
24335 pNext(in_struct->pNext),
24336 deviceAddress(in_struct->deviceAddress)
24337{
24338}
24339
24340safe_VkBufferDeviceAddressCreateInfoEXT::safe_VkBufferDeviceAddressCreateInfoEXT()
24341{}
24342
24343safe_VkBufferDeviceAddressCreateInfoEXT::safe_VkBufferDeviceAddressCreateInfoEXT(const safe_VkBufferDeviceAddressCreateInfoEXT& src)
24344{
24345 sType = src.sType;
24346 pNext = src.pNext;
24347 deviceAddress = src.deviceAddress;
24348}
24349
24350safe_VkBufferDeviceAddressCreateInfoEXT& safe_VkBufferDeviceAddressCreateInfoEXT::operator=(const safe_VkBufferDeviceAddressCreateInfoEXT& src)
24351{
24352 if (&src == this) return *this;
24353
24354
24355 sType = src.sType;
24356 pNext = src.pNext;
24357 deviceAddress = src.deviceAddress;
24358
24359 return *this;
24360}
24361
24362safe_VkBufferDeviceAddressCreateInfoEXT::~safe_VkBufferDeviceAddressCreateInfoEXT()
24363{
24364}
24365
24366void safe_VkBufferDeviceAddressCreateInfoEXT::initialize(const VkBufferDeviceAddressCreateInfoEXT* in_struct)
24367{
24368 sType = in_struct->sType;
24369 pNext = in_struct->pNext;
24370 deviceAddress = in_struct->deviceAddress;
24371}
24372
24373void safe_VkBufferDeviceAddressCreateInfoEXT::initialize(const safe_VkBufferDeviceAddressCreateInfoEXT* src)
24374{
24375 sType = src->sType;
24376 pNext = src->pNext;
24377 deviceAddress = src->deviceAddress;
24378}
24379
24380safe_VkImageStencilUsageCreateInfoEXT::safe_VkImageStencilUsageCreateInfoEXT(const VkImageStencilUsageCreateInfoEXT* in_struct) :
24381 sType(in_struct->sType),
24382 pNext(in_struct->pNext),
24383 stencilUsage(in_struct->stencilUsage)
24384{
24385}
24386
24387safe_VkImageStencilUsageCreateInfoEXT::safe_VkImageStencilUsageCreateInfoEXT()
24388{}
24389
24390safe_VkImageStencilUsageCreateInfoEXT::safe_VkImageStencilUsageCreateInfoEXT(const safe_VkImageStencilUsageCreateInfoEXT& src)
24391{
24392 sType = src.sType;
24393 pNext = src.pNext;
24394 stencilUsage = src.stencilUsage;
24395}
24396
24397safe_VkImageStencilUsageCreateInfoEXT& safe_VkImageStencilUsageCreateInfoEXT::operator=(const safe_VkImageStencilUsageCreateInfoEXT& src)
24398{
24399 if (&src == this) return *this;
24400
24401
24402 sType = src.sType;
24403 pNext = src.pNext;
24404 stencilUsage = src.stencilUsage;
24405
24406 return *this;
24407}
24408
24409safe_VkImageStencilUsageCreateInfoEXT::~safe_VkImageStencilUsageCreateInfoEXT()
24410{
24411}
24412
24413void safe_VkImageStencilUsageCreateInfoEXT::initialize(const VkImageStencilUsageCreateInfoEXT* in_struct)
24414{
24415 sType = in_struct->sType;
24416 pNext = in_struct->pNext;
24417 stencilUsage = in_struct->stencilUsage;
24418}
24419
24420void safe_VkImageStencilUsageCreateInfoEXT::initialize(const safe_VkImageStencilUsageCreateInfoEXT* src)
24421{
24422 sType = src->sType;
24423 pNext = src->pNext;
24424 stencilUsage = src->stencilUsage;
24425}
24426
24427safe_VkValidationFeaturesEXT::safe_VkValidationFeaturesEXT(const VkValidationFeaturesEXT* in_struct) :
24428 sType(in_struct->sType),
24429 pNext(in_struct->pNext),
24430 enabledValidationFeatureCount(in_struct->enabledValidationFeatureCount),
24431 pEnabledValidationFeatures(nullptr),
24432 disabledValidationFeatureCount(in_struct->disabledValidationFeatureCount),
24433 pDisabledValidationFeatures(nullptr)
24434{
24435 if (in_struct->pEnabledValidationFeatures) {
24436 pEnabledValidationFeatures = new VkValidationFeatureEnableEXT[in_struct->enabledValidationFeatureCount];
24437 memcpy ((void *)pEnabledValidationFeatures, (void *)in_struct->pEnabledValidationFeatures, sizeof(VkValidationFeatureEnableEXT)*in_struct->enabledValidationFeatureCount);
24438 }
24439 if (in_struct->pDisabledValidationFeatures) {
24440 pDisabledValidationFeatures = new VkValidationFeatureDisableEXT[in_struct->disabledValidationFeatureCount];
24441 memcpy ((void *)pDisabledValidationFeatures, (void *)in_struct->pDisabledValidationFeatures, sizeof(VkValidationFeatureDisableEXT)*in_struct->disabledValidationFeatureCount);
24442 }
24443}
24444
24445safe_VkValidationFeaturesEXT::safe_VkValidationFeaturesEXT() :
24446 pEnabledValidationFeatures(nullptr),
24447 pDisabledValidationFeatures(nullptr)
24448{}
24449
24450safe_VkValidationFeaturesEXT::safe_VkValidationFeaturesEXT(const safe_VkValidationFeaturesEXT& src)
24451{
24452 sType = src.sType;
24453 pNext = src.pNext;
24454 enabledValidationFeatureCount = src.enabledValidationFeatureCount;
24455 pEnabledValidationFeatures = nullptr;
24456 disabledValidationFeatureCount = src.disabledValidationFeatureCount;
24457 pDisabledValidationFeatures = nullptr;
24458 if (src.pEnabledValidationFeatures) {
24459 pEnabledValidationFeatures = new VkValidationFeatureEnableEXT[src.enabledValidationFeatureCount];
24460 memcpy ((void *)pEnabledValidationFeatures, (void *)src.pEnabledValidationFeatures, sizeof(VkValidationFeatureEnableEXT)*src.enabledValidationFeatureCount);
24461 }
24462 if (src.pDisabledValidationFeatures) {
24463 pDisabledValidationFeatures = new VkValidationFeatureDisableEXT[src.disabledValidationFeatureCount];
24464 memcpy ((void *)pDisabledValidationFeatures, (void *)src.pDisabledValidationFeatures, sizeof(VkValidationFeatureDisableEXT)*src.disabledValidationFeatureCount);
24465 }
24466}
24467
24468safe_VkValidationFeaturesEXT& safe_VkValidationFeaturesEXT::operator=(const safe_VkValidationFeaturesEXT& src)
24469{
24470 if (&src == this) return *this;
24471
24472 if (pEnabledValidationFeatures)
24473 delete[] pEnabledValidationFeatures;
24474 if (pDisabledValidationFeatures)
24475 delete[] pDisabledValidationFeatures;
24476
24477 sType = src.sType;
24478 pNext = src.pNext;
24479 enabledValidationFeatureCount = src.enabledValidationFeatureCount;
24480 pEnabledValidationFeatures = nullptr;
24481 disabledValidationFeatureCount = src.disabledValidationFeatureCount;
24482 pDisabledValidationFeatures = nullptr;
24483 if (src.pEnabledValidationFeatures) {
24484 pEnabledValidationFeatures = new VkValidationFeatureEnableEXT[src.enabledValidationFeatureCount];
24485 memcpy ((void *)pEnabledValidationFeatures, (void *)src.pEnabledValidationFeatures, sizeof(VkValidationFeatureEnableEXT)*src.enabledValidationFeatureCount);
24486 }
24487 if (src.pDisabledValidationFeatures) {
24488 pDisabledValidationFeatures = new VkValidationFeatureDisableEXT[src.disabledValidationFeatureCount];
24489 memcpy ((void *)pDisabledValidationFeatures, (void *)src.pDisabledValidationFeatures, sizeof(VkValidationFeatureDisableEXT)*src.disabledValidationFeatureCount);
24490 }
24491
24492 return *this;
24493}
24494
24495safe_VkValidationFeaturesEXT::~safe_VkValidationFeaturesEXT()
24496{
24497 if (pEnabledValidationFeatures)
24498 delete[] pEnabledValidationFeatures;
24499 if (pDisabledValidationFeatures)
24500 delete[] pDisabledValidationFeatures;
24501}
24502
24503void safe_VkValidationFeaturesEXT::initialize(const VkValidationFeaturesEXT* in_struct)
24504{
24505 sType = in_struct->sType;
24506 pNext = in_struct->pNext;
24507 enabledValidationFeatureCount = in_struct->enabledValidationFeatureCount;
24508 pEnabledValidationFeatures = nullptr;
24509 disabledValidationFeatureCount = in_struct->disabledValidationFeatureCount;
24510 pDisabledValidationFeatures = nullptr;
24511 if (in_struct->pEnabledValidationFeatures) {
24512 pEnabledValidationFeatures = new VkValidationFeatureEnableEXT[in_struct->enabledValidationFeatureCount];
24513 memcpy ((void *)pEnabledValidationFeatures, (void *)in_struct->pEnabledValidationFeatures, sizeof(VkValidationFeatureEnableEXT)*in_struct->enabledValidationFeatureCount);
24514 }
24515 if (in_struct->pDisabledValidationFeatures) {
24516 pDisabledValidationFeatures = new VkValidationFeatureDisableEXT[in_struct->disabledValidationFeatureCount];
24517 memcpy ((void *)pDisabledValidationFeatures, (void *)in_struct->pDisabledValidationFeatures, sizeof(VkValidationFeatureDisableEXT)*in_struct->disabledValidationFeatureCount);
24518 }
24519}
24520
24521void safe_VkValidationFeaturesEXT::initialize(const safe_VkValidationFeaturesEXT* src)
24522{
24523 sType = src->sType;
24524 pNext = src->pNext;
24525 enabledValidationFeatureCount = src->enabledValidationFeatureCount;
24526 pEnabledValidationFeatures = nullptr;
24527 disabledValidationFeatureCount = src->disabledValidationFeatureCount;
24528 pDisabledValidationFeatures = nullptr;
24529 if (src->pEnabledValidationFeatures) {
24530 pEnabledValidationFeatures = new VkValidationFeatureEnableEXT[src->enabledValidationFeatureCount];
24531 memcpy ((void *)pEnabledValidationFeatures, (void *)src->pEnabledValidationFeatures, sizeof(VkValidationFeatureEnableEXT)*src->enabledValidationFeatureCount);
24532 }
24533 if (src->pDisabledValidationFeatures) {
24534 pDisabledValidationFeatures = new VkValidationFeatureDisableEXT[src->disabledValidationFeatureCount];
24535 memcpy ((void *)pDisabledValidationFeatures, (void *)src->pDisabledValidationFeatures, sizeof(VkValidationFeatureDisableEXT)*src->disabledValidationFeatureCount);
24536 }
24537}
24538
24539safe_VkCooperativeMatrixPropertiesNV::safe_VkCooperativeMatrixPropertiesNV(const VkCooperativeMatrixPropertiesNV* in_struct) :
24540 sType(in_struct->sType),
24541 pNext(in_struct->pNext),
24542 MSize(in_struct->MSize),
24543 NSize(in_struct->NSize),
24544 KSize(in_struct->KSize),
24545 AType(in_struct->AType),
24546 BType(in_struct->BType),
24547 CType(in_struct->CType),
24548 DType(in_struct->DType),
24549 scope(in_struct->scope)
24550{
24551}
24552
24553safe_VkCooperativeMatrixPropertiesNV::safe_VkCooperativeMatrixPropertiesNV()
24554{}
24555
24556safe_VkCooperativeMatrixPropertiesNV::safe_VkCooperativeMatrixPropertiesNV(const safe_VkCooperativeMatrixPropertiesNV& src)
24557{
24558 sType = src.sType;
24559 pNext = src.pNext;
24560 MSize = src.MSize;
24561 NSize = src.NSize;
24562 KSize = src.KSize;
24563 AType = src.AType;
24564 BType = src.BType;
24565 CType = src.CType;
24566 DType = src.DType;
24567 scope = src.scope;
24568}
24569
24570safe_VkCooperativeMatrixPropertiesNV& safe_VkCooperativeMatrixPropertiesNV::operator=(const safe_VkCooperativeMatrixPropertiesNV& src)
24571{
24572 if (&src == this) return *this;
24573
24574
24575 sType = src.sType;
24576 pNext = src.pNext;
24577 MSize = src.MSize;
24578 NSize = src.NSize;
24579 KSize = src.KSize;
24580 AType = src.AType;
24581 BType = src.BType;
24582 CType = src.CType;
24583 DType = src.DType;
24584 scope = src.scope;
24585
24586 return *this;
24587}
24588
24589safe_VkCooperativeMatrixPropertiesNV::~safe_VkCooperativeMatrixPropertiesNV()
24590{
24591}
24592
24593void safe_VkCooperativeMatrixPropertiesNV::initialize(const VkCooperativeMatrixPropertiesNV* in_struct)
24594{
24595 sType = in_struct->sType;
24596 pNext = in_struct->pNext;
24597 MSize = in_struct->MSize;
24598 NSize = in_struct->NSize;
24599 KSize = in_struct->KSize;
24600 AType = in_struct->AType;
24601 BType = in_struct->BType;
24602 CType = in_struct->CType;
24603 DType = in_struct->DType;
24604 scope = in_struct->scope;
24605}
24606
24607void safe_VkCooperativeMatrixPropertiesNV::initialize(const safe_VkCooperativeMatrixPropertiesNV* src)
24608{
24609 sType = src->sType;
24610 pNext = src->pNext;
24611 MSize = src->MSize;
24612 NSize = src->NSize;
24613 KSize = src->KSize;
24614 AType = src->AType;
24615 BType = src->BType;
24616 CType = src->CType;
24617 DType = src->DType;
24618 scope = src->scope;
24619}
24620
24621safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV::safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV(const VkPhysicalDeviceCooperativeMatrixFeaturesNV* in_struct) :
24622 sType(in_struct->sType),
24623 pNext(in_struct->pNext),
24624 cooperativeMatrix(in_struct->cooperativeMatrix),
24625 cooperativeMatrixRobustBufferAccess(in_struct->cooperativeMatrixRobustBufferAccess)
24626{
24627}
24628
24629safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV::safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV()
24630{}
24631
24632safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV::safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV(const safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV& src)
24633{
24634 sType = src.sType;
24635 pNext = src.pNext;
24636 cooperativeMatrix = src.cooperativeMatrix;
24637 cooperativeMatrixRobustBufferAccess = src.cooperativeMatrixRobustBufferAccess;
24638}
24639
24640safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV& safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV::operator=(const safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV& src)
24641{
24642 if (&src == this) return *this;
24643
24644
24645 sType = src.sType;
24646 pNext = src.pNext;
24647 cooperativeMatrix = src.cooperativeMatrix;
24648 cooperativeMatrixRobustBufferAccess = src.cooperativeMatrixRobustBufferAccess;
24649
24650 return *this;
24651}
24652
24653safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV::~safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV()
24654{
24655}
24656
24657void safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV::initialize(const VkPhysicalDeviceCooperativeMatrixFeaturesNV* in_struct)
24658{
24659 sType = in_struct->sType;
24660 pNext = in_struct->pNext;
24661 cooperativeMatrix = in_struct->cooperativeMatrix;
24662 cooperativeMatrixRobustBufferAccess = in_struct->cooperativeMatrixRobustBufferAccess;
24663}
24664
24665void safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV::initialize(const safe_VkPhysicalDeviceCooperativeMatrixFeaturesNV* src)
24666{
24667 sType = src->sType;
24668 pNext = src->pNext;
24669 cooperativeMatrix = src->cooperativeMatrix;
24670 cooperativeMatrixRobustBufferAccess = src->cooperativeMatrixRobustBufferAccess;
24671}
24672
24673safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV::safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV(const VkPhysicalDeviceCooperativeMatrixPropertiesNV* in_struct) :
24674 sType(in_struct->sType),
24675 pNext(in_struct->pNext),
24676 cooperativeMatrixSupportedStages(in_struct->cooperativeMatrixSupportedStages)
24677{
24678}
24679
24680safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV::safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV()
24681{}
24682
24683safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV::safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV(const safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV& src)
24684{
24685 sType = src.sType;
24686 pNext = src.pNext;
24687 cooperativeMatrixSupportedStages = src.cooperativeMatrixSupportedStages;
24688}
24689
24690safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV& safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV::operator=(const safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV& src)
24691{
24692 if (&src == this) return *this;
24693
24694
24695 sType = src.sType;
24696 pNext = src.pNext;
24697 cooperativeMatrixSupportedStages = src.cooperativeMatrixSupportedStages;
24698
24699 return *this;
24700}
24701
24702safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV::~safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV()
24703{
24704}
24705
24706void safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV::initialize(const VkPhysicalDeviceCooperativeMatrixPropertiesNV* in_struct)
24707{
24708 sType = in_struct->sType;
24709 pNext = in_struct->pNext;
24710 cooperativeMatrixSupportedStages = in_struct->cooperativeMatrixSupportedStages;
24711}
24712
24713void safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV::initialize(const safe_VkPhysicalDeviceCooperativeMatrixPropertiesNV* src)
24714{
24715 sType = src->sType;
24716 pNext = src->pNext;
24717 cooperativeMatrixSupportedStages = src->cooperativeMatrixSupportedStages;
24718}
24719
24720safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV::safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV(const VkPhysicalDeviceCoverageReductionModeFeaturesNV* in_struct) :
24721 sType(in_struct->sType),
24722 pNext(in_struct->pNext),
24723 coverageReductionMode(in_struct->coverageReductionMode)
24724{
24725}
24726
24727safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV::safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV()
24728{}
24729
24730safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV::safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV(const safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV& src)
24731{
24732 sType = src.sType;
24733 pNext = src.pNext;
24734 coverageReductionMode = src.coverageReductionMode;
24735}
24736
24737safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV& safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV::operator=(const safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV& src)
24738{
24739 if (&src == this) return *this;
24740
24741
24742 sType = src.sType;
24743 pNext = src.pNext;
24744 coverageReductionMode = src.coverageReductionMode;
24745
24746 return *this;
24747}
24748
24749safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV::~safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV()
24750{
24751}
24752
24753void safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV::initialize(const VkPhysicalDeviceCoverageReductionModeFeaturesNV* in_struct)
24754{
24755 sType = in_struct->sType;
24756 pNext = in_struct->pNext;
24757 coverageReductionMode = in_struct->coverageReductionMode;
24758}
24759
24760void safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV::initialize(const safe_VkPhysicalDeviceCoverageReductionModeFeaturesNV* src)
24761{
24762 sType = src->sType;
24763 pNext = src->pNext;
24764 coverageReductionMode = src->coverageReductionMode;
24765}
24766
24767safe_VkPipelineCoverageReductionStateCreateInfoNV::safe_VkPipelineCoverageReductionStateCreateInfoNV(const VkPipelineCoverageReductionStateCreateInfoNV* in_struct) :
24768 sType(in_struct->sType),
24769 pNext(in_struct->pNext),
24770 flags(in_struct->flags),
24771 coverageReductionMode(in_struct->coverageReductionMode)
24772{
24773}
24774
24775safe_VkPipelineCoverageReductionStateCreateInfoNV::safe_VkPipelineCoverageReductionStateCreateInfoNV()
24776{}
24777
24778safe_VkPipelineCoverageReductionStateCreateInfoNV::safe_VkPipelineCoverageReductionStateCreateInfoNV(const safe_VkPipelineCoverageReductionStateCreateInfoNV& src)
24779{
24780 sType = src.sType;
24781 pNext = src.pNext;
24782 flags = src.flags;
24783 coverageReductionMode = src.coverageReductionMode;
24784}
24785
24786safe_VkPipelineCoverageReductionStateCreateInfoNV& safe_VkPipelineCoverageReductionStateCreateInfoNV::operator=(const safe_VkPipelineCoverageReductionStateCreateInfoNV& src)
24787{
24788 if (&src == this) return *this;
24789
24790
24791 sType = src.sType;
24792 pNext = src.pNext;
24793 flags = src.flags;
24794 coverageReductionMode = src.coverageReductionMode;
24795
24796 return *this;
24797}
24798
24799safe_VkPipelineCoverageReductionStateCreateInfoNV::~safe_VkPipelineCoverageReductionStateCreateInfoNV()
24800{
24801}
24802
24803void safe_VkPipelineCoverageReductionStateCreateInfoNV::initialize(const VkPipelineCoverageReductionStateCreateInfoNV* in_struct)
24804{
24805 sType = in_struct->sType;
24806 pNext = in_struct->pNext;
24807 flags = in_struct->flags;
24808 coverageReductionMode = in_struct->coverageReductionMode;
24809}
24810
24811void safe_VkPipelineCoverageReductionStateCreateInfoNV::initialize(const safe_VkPipelineCoverageReductionStateCreateInfoNV* src)
24812{
24813 sType = src->sType;
24814 pNext = src->pNext;
24815 flags = src->flags;
24816 coverageReductionMode = src->coverageReductionMode;
24817}
24818
24819safe_VkFramebufferMixedSamplesCombinationNV::safe_VkFramebufferMixedSamplesCombinationNV(const VkFramebufferMixedSamplesCombinationNV* in_struct) :
24820 sType(in_struct->sType),
24821 pNext(in_struct->pNext),
24822 coverageReductionMode(in_struct->coverageReductionMode),
24823 rasterizationSamples(in_struct->rasterizationSamples),
24824 depthStencilSamples(in_struct->depthStencilSamples),
24825 colorSamples(in_struct->colorSamples)
24826{
24827}
24828
24829safe_VkFramebufferMixedSamplesCombinationNV::safe_VkFramebufferMixedSamplesCombinationNV()
24830{}
24831
24832safe_VkFramebufferMixedSamplesCombinationNV::safe_VkFramebufferMixedSamplesCombinationNV(const safe_VkFramebufferMixedSamplesCombinationNV& src)
24833{
24834 sType = src.sType;
24835 pNext = src.pNext;
24836 coverageReductionMode = src.coverageReductionMode;
24837 rasterizationSamples = src.rasterizationSamples;
24838 depthStencilSamples = src.depthStencilSamples;
24839 colorSamples = src.colorSamples;
24840}
24841
24842safe_VkFramebufferMixedSamplesCombinationNV& safe_VkFramebufferMixedSamplesCombinationNV::operator=(const safe_VkFramebufferMixedSamplesCombinationNV& src)
24843{
24844 if (&src == this) return *this;
24845
24846
24847 sType = src.sType;
24848 pNext = src.pNext;
24849 coverageReductionMode = src.coverageReductionMode;
24850 rasterizationSamples = src.rasterizationSamples;
24851 depthStencilSamples = src.depthStencilSamples;
24852 colorSamples = src.colorSamples;
24853
24854 return *this;
24855}
24856
24857safe_VkFramebufferMixedSamplesCombinationNV::~safe_VkFramebufferMixedSamplesCombinationNV()
24858{
24859}
24860
24861void safe_VkFramebufferMixedSamplesCombinationNV::initialize(const VkFramebufferMixedSamplesCombinationNV* in_struct)
24862{
24863 sType = in_struct->sType;
24864 pNext = in_struct->pNext;
24865 coverageReductionMode = in_struct->coverageReductionMode;
24866 rasterizationSamples = in_struct->rasterizationSamples;
24867 depthStencilSamples = in_struct->depthStencilSamples;
24868 colorSamples = in_struct->colorSamples;
24869}
24870
24871void safe_VkFramebufferMixedSamplesCombinationNV::initialize(const safe_VkFramebufferMixedSamplesCombinationNV* src)
24872{
24873 sType = src->sType;
24874 pNext = src->pNext;
24875 coverageReductionMode = src->coverageReductionMode;
24876 rasterizationSamples = src->rasterizationSamples;
24877 depthStencilSamples = src->depthStencilSamples;
24878 colorSamples = src->colorSamples;
24879}
24880
24881safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT(const VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT* in_struct) :
24882 sType(in_struct->sType),
24883 pNext(in_struct->pNext),
24884 fragmentShaderSampleInterlock(in_struct->fragmentShaderSampleInterlock),
24885 fragmentShaderPixelInterlock(in_struct->fragmentShaderPixelInterlock),
24886 fragmentShaderShadingRateInterlock(in_struct->fragmentShaderShadingRateInterlock)
24887{
24888}
24889
24890safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT()
24891{}
24892
24893safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT(const safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT& src)
24894{
24895 sType = src.sType;
24896 pNext = src.pNext;
24897 fragmentShaderSampleInterlock = src.fragmentShaderSampleInterlock;
24898 fragmentShaderPixelInterlock = src.fragmentShaderPixelInterlock;
24899 fragmentShaderShadingRateInterlock = src.fragmentShaderShadingRateInterlock;
24900}
24901
24902safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT& safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::operator=(const safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT& src)
24903{
24904 if (&src == this) return *this;
24905
24906
24907 sType = src.sType;
24908 pNext = src.pNext;
24909 fragmentShaderSampleInterlock = src.fragmentShaderSampleInterlock;
24910 fragmentShaderPixelInterlock = src.fragmentShaderPixelInterlock;
24911 fragmentShaderShadingRateInterlock = src.fragmentShaderShadingRateInterlock;
24912
24913 return *this;
24914}
24915
24916safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::~safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT()
24917{
24918}
24919
24920void safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::initialize(const VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT* in_struct)
24921{
24922 sType = in_struct->sType;
24923 pNext = in_struct->pNext;
24924 fragmentShaderSampleInterlock = in_struct->fragmentShaderSampleInterlock;
24925 fragmentShaderPixelInterlock = in_struct->fragmentShaderPixelInterlock;
24926 fragmentShaderShadingRateInterlock = in_struct->fragmentShaderShadingRateInterlock;
24927}
24928
24929void safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::initialize(const safe_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT* src)
24930{
24931 sType = src->sType;
24932 pNext = src->pNext;
24933 fragmentShaderSampleInterlock = src->fragmentShaderSampleInterlock;
24934 fragmentShaderPixelInterlock = src->fragmentShaderPixelInterlock;
24935 fragmentShaderShadingRateInterlock = src->fragmentShaderShadingRateInterlock;
24936}
24937
24938safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT(const VkPhysicalDeviceYcbcrImageArraysFeaturesEXT* in_struct) :
24939 sType(in_struct->sType),
24940 pNext(in_struct->pNext),
24941 ycbcrImageArrays(in_struct->ycbcrImageArrays)
24942{
24943}
24944
24945safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT()
24946{}
24947
24948safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT(const safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT& src)
24949{
24950 sType = src.sType;
24951 pNext = src.pNext;
24952 ycbcrImageArrays = src.ycbcrImageArrays;
24953}
24954
24955safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT& safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::operator=(const safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT& src)
24956{
24957 if (&src == this) return *this;
24958
24959
24960 sType = src.sType;
24961 pNext = src.pNext;
24962 ycbcrImageArrays = src.ycbcrImageArrays;
24963
24964 return *this;
24965}
24966
24967safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::~safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT()
24968{
24969}
24970
24971void safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::initialize(const VkPhysicalDeviceYcbcrImageArraysFeaturesEXT* in_struct)
24972{
24973 sType = in_struct->sType;
24974 pNext = in_struct->pNext;
24975 ycbcrImageArrays = in_struct->ycbcrImageArrays;
24976}
24977
24978void safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::initialize(const safe_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT* src)
24979{
24980 sType = src->sType;
24981 pNext = src->pNext;
24982 ycbcrImageArrays = src->ycbcrImageArrays;
24983}
24984#ifdef VK_USE_PLATFORM_WIN32_KHR
24985
24986
24987safe_VkSurfaceFullScreenExclusiveInfoEXT::safe_VkSurfaceFullScreenExclusiveInfoEXT(const VkSurfaceFullScreenExclusiveInfoEXT* in_struct) :
24988 sType(in_struct->sType),
24989 pNext(in_struct->pNext),
24990 fullScreenExclusive(in_struct->fullScreenExclusive)
24991{
24992}
24993
24994safe_VkSurfaceFullScreenExclusiveInfoEXT::safe_VkSurfaceFullScreenExclusiveInfoEXT()
24995{}
24996
24997safe_VkSurfaceFullScreenExclusiveInfoEXT::safe_VkSurfaceFullScreenExclusiveInfoEXT(const safe_VkSurfaceFullScreenExclusiveInfoEXT& src)
24998{
24999 sType = src.sType;
25000 pNext = src.pNext;
25001 fullScreenExclusive = src.fullScreenExclusive;
25002}
25003
25004safe_VkSurfaceFullScreenExclusiveInfoEXT& safe_VkSurfaceFullScreenExclusiveInfoEXT::operator=(const safe_VkSurfaceFullScreenExclusiveInfoEXT& src)
25005{
25006 if (&src == this) return *this;
25007
25008
25009 sType = src.sType;
25010 pNext = src.pNext;
25011 fullScreenExclusive = src.fullScreenExclusive;
25012
25013 return *this;
25014}
25015
25016safe_VkSurfaceFullScreenExclusiveInfoEXT::~safe_VkSurfaceFullScreenExclusiveInfoEXT()
25017{
25018}
25019
25020void safe_VkSurfaceFullScreenExclusiveInfoEXT::initialize(const VkSurfaceFullScreenExclusiveInfoEXT* in_struct)
25021{
25022 sType = in_struct->sType;
25023 pNext = in_struct->pNext;
25024 fullScreenExclusive = in_struct->fullScreenExclusive;
25025}
25026
25027void safe_VkSurfaceFullScreenExclusiveInfoEXT::initialize(const safe_VkSurfaceFullScreenExclusiveInfoEXT* src)
25028{
25029 sType = src->sType;
25030 pNext = src->pNext;
25031 fullScreenExclusive = src->fullScreenExclusive;
25032}
25033#endif // VK_USE_PLATFORM_WIN32_KHR
25034
25035#ifdef VK_USE_PLATFORM_WIN32_KHR
25036
25037
25038safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT::safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT(const VkSurfaceCapabilitiesFullScreenExclusiveEXT* in_struct) :
25039 sType(in_struct->sType),
25040 pNext(in_struct->pNext),
25041 fullScreenExclusiveSupported(in_struct->fullScreenExclusiveSupported)
25042{
25043}
25044
25045safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT::safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT()
25046{}
25047
25048safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT::safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT(const safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT& src)
25049{
25050 sType = src.sType;
25051 pNext = src.pNext;
25052 fullScreenExclusiveSupported = src.fullScreenExclusiveSupported;
25053}
25054
25055safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT& safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT::operator=(const safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT& src)
25056{
25057 if (&src == this) return *this;
25058
25059
25060 sType = src.sType;
25061 pNext = src.pNext;
25062 fullScreenExclusiveSupported = src.fullScreenExclusiveSupported;
25063
25064 return *this;
25065}
25066
25067safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT::~safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT()
25068{
25069}
25070
25071void safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT::initialize(const VkSurfaceCapabilitiesFullScreenExclusiveEXT* in_struct)
25072{
25073 sType = in_struct->sType;
25074 pNext = in_struct->pNext;
25075 fullScreenExclusiveSupported = in_struct->fullScreenExclusiveSupported;
25076}
25077
25078void safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT::initialize(const safe_VkSurfaceCapabilitiesFullScreenExclusiveEXT* src)
25079{
25080 sType = src->sType;
25081 pNext = src->pNext;
25082 fullScreenExclusiveSupported = src->fullScreenExclusiveSupported;
25083}
25084#endif // VK_USE_PLATFORM_WIN32_KHR
25085
25086#ifdef VK_USE_PLATFORM_WIN32_KHR
25087
25088
25089safe_VkSurfaceFullScreenExclusiveWin32InfoEXT::safe_VkSurfaceFullScreenExclusiveWin32InfoEXT(const VkSurfaceFullScreenExclusiveWin32InfoEXT* in_struct) :
25090 sType(in_struct->sType),
25091 pNext(in_struct->pNext),
25092 hmonitor(in_struct->hmonitor)
25093{
25094}
25095
25096safe_VkSurfaceFullScreenExclusiveWin32InfoEXT::safe_VkSurfaceFullScreenExclusiveWin32InfoEXT()
25097{}
25098
25099safe_VkSurfaceFullScreenExclusiveWin32InfoEXT::safe_VkSurfaceFullScreenExclusiveWin32InfoEXT(const safe_VkSurfaceFullScreenExclusiveWin32InfoEXT& src)
25100{
25101 sType = src.sType;
25102 pNext = src.pNext;
25103 hmonitor = src.hmonitor;
25104}
25105
25106safe_VkSurfaceFullScreenExclusiveWin32InfoEXT& safe_VkSurfaceFullScreenExclusiveWin32InfoEXT::operator=(const safe_VkSurfaceFullScreenExclusiveWin32InfoEXT& src)
25107{
25108 if (&src == this) return *this;
25109
25110
25111 sType = src.sType;
25112 pNext = src.pNext;
25113 hmonitor = src.hmonitor;
25114
25115 return *this;
25116}
25117
25118safe_VkSurfaceFullScreenExclusiveWin32InfoEXT::~safe_VkSurfaceFullScreenExclusiveWin32InfoEXT()
25119{
25120}
25121
25122void safe_VkSurfaceFullScreenExclusiveWin32InfoEXT::initialize(const VkSurfaceFullScreenExclusiveWin32InfoEXT* in_struct)
25123{
25124 sType = in_struct->sType;
25125 pNext = in_struct->pNext;
25126 hmonitor = in_struct->hmonitor;
25127}
25128
25129void safe_VkSurfaceFullScreenExclusiveWin32InfoEXT::initialize(const safe_VkSurfaceFullScreenExclusiveWin32InfoEXT* src)
25130{
25131 sType = src->sType;
25132 pNext = src->pNext;
25133 hmonitor = src->hmonitor;
25134}
25135#endif // VK_USE_PLATFORM_WIN32_KHR
25136
25137
25138safe_VkHeadlessSurfaceCreateInfoEXT::safe_VkHeadlessSurfaceCreateInfoEXT(const VkHeadlessSurfaceCreateInfoEXT* in_struct) :
25139 sType(in_struct->sType),
25140 pNext(in_struct->pNext),
25141 flags(in_struct->flags)
25142{
25143}
25144
25145safe_VkHeadlessSurfaceCreateInfoEXT::safe_VkHeadlessSurfaceCreateInfoEXT()
25146{}
25147
25148safe_VkHeadlessSurfaceCreateInfoEXT::safe_VkHeadlessSurfaceCreateInfoEXT(const safe_VkHeadlessSurfaceCreateInfoEXT& src)
25149{
25150 sType = src.sType;
25151 pNext = src.pNext;
25152 flags = src.flags;
25153}
25154
25155safe_VkHeadlessSurfaceCreateInfoEXT& safe_VkHeadlessSurfaceCreateInfoEXT::operator=(const safe_VkHeadlessSurfaceCreateInfoEXT& src)
25156{
25157 if (&src == this) return *this;
25158
25159
25160 sType = src.sType;
25161 pNext = src.pNext;
25162 flags = src.flags;
25163
25164 return *this;
25165}
25166
25167safe_VkHeadlessSurfaceCreateInfoEXT::~safe_VkHeadlessSurfaceCreateInfoEXT()
25168{
25169}
25170
25171void safe_VkHeadlessSurfaceCreateInfoEXT::initialize(const VkHeadlessSurfaceCreateInfoEXT* in_struct)
25172{
25173 sType = in_struct->sType;
25174 pNext = in_struct->pNext;
25175 flags = in_struct->flags;
25176}
25177
25178void safe_VkHeadlessSurfaceCreateInfoEXT::initialize(const safe_VkHeadlessSurfaceCreateInfoEXT* src)
25179{
25180 sType = src->sType;
25181 pNext = src->pNext;
25182 flags = src->flags;
25183}
25184
25185safe_VkPhysicalDeviceHostQueryResetFeaturesEXT::safe_VkPhysicalDeviceHostQueryResetFeaturesEXT(const VkPhysicalDeviceHostQueryResetFeaturesEXT* in_struct) :
25186 sType(in_struct->sType),
25187 pNext(in_struct->pNext),
25188 hostQueryReset(in_struct->hostQueryReset)
25189{
25190}
25191
25192safe_VkPhysicalDeviceHostQueryResetFeaturesEXT::safe_VkPhysicalDeviceHostQueryResetFeaturesEXT()
25193{}
25194
25195safe_VkPhysicalDeviceHostQueryResetFeaturesEXT::safe_VkPhysicalDeviceHostQueryResetFeaturesEXT(const safe_VkPhysicalDeviceHostQueryResetFeaturesEXT& src)
25196{
25197 sType = src.sType;
25198 pNext = src.pNext;
25199 hostQueryReset = src.hostQueryReset;
25200}
25201
25202safe_VkPhysicalDeviceHostQueryResetFeaturesEXT& safe_VkPhysicalDeviceHostQueryResetFeaturesEXT::operator=(const safe_VkPhysicalDeviceHostQueryResetFeaturesEXT& src)
25203{
25204 if (&src == this) return *this;
25205
25206
25207 sType = src.sType;
25208 pNext = src.pNext;
25209 hostQueryReset = src.hostQueryReset;
25210
25211 return *this;
25212}
25213
25214safe_VkPhysicalDeviceHostQueryResetFeaturesEXT::~safe_VkPhysicalDeviceHostQueryResetFeaturesEXT()
25215{
25216}
25217
25218void safe_VkPhysicalDeviceHostQueryResetFeaturesEXT::initialize(const VkPhysicalDeviceHostQueryResetFeaturesEXT* in_struct)
25219{
25220 sType = in_struct->sType;
25221 pNext = in_struct->pNext;
25222 hostQueryReset = in_struct->hostQueryReset;
25223}
25224
25225void safe_VkPhysicalDeviceHostQueryResetFeaturesEXT::initialize(const safe_VkPhysicalDeviceHostQueryResetFeaturesEXT* src)
25226{
25227 sType = src->sType;
25228 pNext = src->pNext;
25229 hostQueryReset = src->hostQueryReset;
25230}
Shannon McPherson0e65e192019-07-17 16:52:21 -060025231
25232safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT::safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT(const VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT* in_struct) :
25233 sType(in_struct->sType),
25234 pNext(in_struct->pNext),
25235 shaderDemoteToHelperInvocation(in_struct->shaderDemoteToHelperInvocation)
25236{
25237}
25238
25239safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT::safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT()
25240{}
25241
25242safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT::safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT(const safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT& src)
25243{
25244 sType = src.sType;
25245 pNext = src.pNext;
25246 shaderDemoteToHelperInvocation = src.shaderDemoteToHelperInvocation;
25247}
25248
25249safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT& safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT::operator=(const safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT& src)
25250{
25251 if (&src == this) return *this;
25252
25253
25254 sType = src.sType;
25255 pNext = src.pNext;
25256 shaderDemoteToHelperInvocation = src.shaderDemoteToHelperInvocation;
25257
25258 return *this;
25259}
25260
25261safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT::~safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT()
25262{
25263}
25264
25265void safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT::initialize(const VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT* in_struct)
25266{
25267 sType = in_struct->sType;
25268 pNext = in_struct->pNext;
25269 shaderDemoteToHelperInvocation = in_struct->shaderDemoteToHelperInvocation;
25270}
25271
25272void safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT::initialize(const safe_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT* src)
25273{
25274 sType = src->sType;
25275 pNext = src->pNext;
25276 shaderDemoteToHelperInvocation = src->shaderDemoteToHelperInvocation;
25277}
25278
25279safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT::safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT(const VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT* in_struct) :
25280 sType(in_struct->sType),
25281 pNext(in_struct->pNext),
25282 texelBufferAlignment(in_struct->texelBufferAlignment)
25283{
25284}
25285
25286safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT::safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT()
25287{}
25288
25289safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT::safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT(const safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT& src)
25290{
25291 sType = src.sType;
25292 pNext = src.pNext;
25293 texelBufferAlignment = src.texelBufferAlignment;
25294}
25295
25296safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT& safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT::operator=(const safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT& src)
25297{
25298 if (&src == this) return *this;
25299
25300
25301 sType = src.sType;
25302 pNext = src.pNext;
25303 texelBufferAlignment = src.texelBufferAlignment;
25304
25305 return *this;
25306}
25307
25308safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT::~safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT()
25309{
25310}
25311
25312void safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT::initialize(const VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT* in_struct)
25313{
25314 sType = in_struct->sType;
25315 pNext = in_struct->pNext;
25316 texelBufferAlignment = in_struct->texelBufferAlignment;
25317}
25318
25319void safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT::initialize(const safe_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT* src)
25320{
25321 sType = src->sType;
25322 pNext = src->pNext;
25323 texelBufferAlignment = src->texelBufferAlignment;
25324}
25325
25326safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT::safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT(const VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT* in_struct) :
25327 sType(in_struct->sType),
25328 pNext(in_struct->pNext),
25329 storageTexelBufferOffsetAlignmentBytes(in_struct->storageTexelBufferOffsetAlignmentBytes),
25330 storageTexelBufferOffsetSingleTexelAlignment(in_struct->storageTexelBufferOffsetSingleTexelAlignment),
25331 uniformTexelBufferOffsetAlignmentBytes(in_struct->uniformTexelBufferOffsetAlignmentBytes),
25332 uniformTexelBufferOffsetSingleTexelAlignment(in_struct->uniformTexelBufferOffsetSingleTexelAlignment)
25333{
25334}
25335
25336safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT::safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT()
25337{}
25338
25339safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT::safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT(const safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT& src)
25340{
25341 sType = src.sType;
25342 pNext = src.pNext;
25343 storageTexelBufferOffsetAlignmentBytes = src.storageTexelBufferOffsetAlignmentBytes;
25344 storageTexelBufferOffsetSingleTexelAlignment = src.storageTexelBufferOffsetSingleTexelAlignment;
25345 uniformTexelBufferOffsetAlignmentBytes = src.uniformTexelBufferOffsetAlignmentBytes;
25346 uniformTexelBufferOffsetSingleTexelAlignment = src.uniformTexelBufferOffsetSingleTexelAlignment;
25347}
25348
25349safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT& safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT::operator=(const safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT& src)
25350{
25351 if (&src == this) return *this;
25352
25353
25354 sType = src.sType;
25355 pNext = src.pNext;
25356 storageTexelBufferOffsetAlignmentBytes = src.storageTexelBufferOffsetAlignmentBytes;
25357 storageTexelBufferOffsetSingleTexelAlignment = src.storageTexelBufferOffsetSingleTexelAlignment;
25358 uniformTexelBufferOffsetAlignmentBytes = src.uniformTexelBufferOffsetAlignmentBytes;
25359 uniformTexelBufferOffsetSingleTexelAlignment = src.uniformTexelBufferOffsetSingleTexelAlignment;
25360
25361 return *this;
25362}
25363
25364safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT::~safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT()
25365{
25366}
25367
25368void safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT::initialize(const VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT* in_struct)
25369{
25370 sType = in_struct->sType;
25371 pNext = in_struct->pNext;
25372 storageTexelBufferOffsetAlignmentBytes = in_struct->storageTexelBufferOffsetAlignmentBytes;
25373 storageTexelBufferOffsetSingleTexelAlignment = in_struct->storageTexelBufferOffsetSingleTexelAlignment;
25374 uniformTexelBufferOffsetAlignmentBytes = in_struct->uniformTexelBufferOffsetAlignmentBytes;
25375 uniformTexelBufferOffsetSingleTexelAlignment = in_struct->uniformTexelBufferOffsetSingleTexelAlignment;
25376}
25377
25378void safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT::initialize(const safe_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT* src)
25379{
25380 sType = src->sType;
25381 pNext = src->pNext;
25382 storageTexelBufferOffsetAlignmentBytes = src->storageTexelBufferOffsetAlignmentBytes;
25383 storageTexelBufferOffsetSingleTexelAlignment = src->storageTexelBufferOffsetSingleTexelAlignment;
25384 uniformTexelBufferOffsetAlignmentBytes = src->uniformTexelBufferOffsetAlignmentBytes;
25385 uniformTexelBufferOffsetSingleTexelAlignment = src->uniformTexelBufferOffsetSingleTexelAlignment;
25386}