537
537
vn_encode_VkDeviceMemoryOpaqueCaptureAddressInfo_self(enc, val);
540
/* struct VkMemoryResourceAllocationSizeProperties100000MESA chain */
540
/* struct VkMemoryResourceAllocationSizePropertiesMESA chain */
542
542
static inline size_t
543
vn_sizeof_VkMemoryResourceAllocationSizeProperties100000MESA_pnext(const void *val)
543
vn_sizeof_VkMemoryResourceAllocationSizePropertiesMESA_pnext(const void *val)
545
545
/* no known/supported struct */
546
546
return vn_sizeof_simple_pointer(NULL);
549
549
static inline size_t
550
vn_sizeof_VkMemoryResourceAllocationSizeProperties100000MESA_self(const VkMemoryResourceAllocationSizeProperties100000MESA *val)
550
vn_sizeof_VkMemoryResourceAllocationSizePropertiesMESA_self(const VkMemoryResourceAllocationSizePropertiesMESA *val)
553
553
/* skip val->{sType,pNext} */
558
558
static inline size_t
559
vn_sizeof_VkMemoryResourceAllocationSizeProperties100000MESA(const VkMemoryResourceAllocationSizeProperties100000MESA *val)
559
vn_sizeof_VkMemoryResourceAllocationSizePropertiesMESA(const VkMemoryResourceAllocationSizePropertiesMESA *val)
563
563
size += vn_sizeof_VkStructureType(&val->sType);
564
size += vn_sizeof_VkMemoryResourceAllocationSizeProperties100000MESA_pnext(val->pNext);
565
size += vn_sizeof_VkMemoryResourceAllocationSizeProperties100000MESA_self(val);
564
size += vn_sizeof_VkMemoryResourceAllocationSizePropertiesMESA_pnext(val->pNext);
565
size += vn_sizeof_VkMemoryResourceAllocationSizePropertiesMESA_self(val);
570
570
static inline void
571
vn_decode_VkMemoryResourceAllocationSizeProperties100000MESA_pnext(struct vn_cs_decoder *dec, const void *val)
571
vn_decode_VkMemoryResourceAllocationSizePropertiesMESA_pnext(struct vn_cs_decoder *dec, const void *val)
573
573
/* no known/supported struct */
574
574
if (vn_decode_simple_pointer(dec))
578
578
static inline void
579
vn_decode_VkMemoryResourceAllocationSizeProperties100000MESA_self(struct vn_cs_decoder *dec, VkMemoryResourceAllocationSizeProperties100000MESA *val)
579
vn_decode_VkMemoryResourceAllocationSizePropertiesMESA_self(struct vn_cs_decoder *dec, VkMemoryResourceAllocationSizePropertiesMESA *val)
581
581
/* skip val->{sType,pNext} */
582
582
vn_decode_uint64_t(dec, &val->allocationSize);
585
585
static inline void
586
vn_decode_VkMemoryResourceAllocationSizeProperties100000MESA(struct vn_cs_decoder *dec, VkMemoryResourceAllocationSizeProperties100000MESA *val)
586
vn_decode_VkMemoryResourceAllocationSizePropertiesMESA(struct vn_cs_decoder *dec, VkMemoryResourceAllocationSizePropertiesMESA *val)
588
588
VkStructureType stype;
589
589
vn_decode_VkStructureType(dec, &stype);
590
assert(stype == VK_STRUCTURE_TYPE_MEMORY_RESOURCE_ALLOCATION_SIZE_PROPERTIES_100000_MESA);
590
assert(stype == VK_STRUCTURE_TYPE_MEMORY_RESOURCE_ALLOCATION_SIZE_PROPERTIES_MESA);
592
592
assert(val->sType == stype);
593
vn_decode_VkMemoryResourceAllocationSizeProperties100000MESA_pnext(dec, val->pNext);
594
vn_decode_VkMemoryResourceAllocationSizeProperties100000MESA_self(dec, val);
593
vn_decode_VkMemoryResourceAllocationSizePropertiesMESA_pnext(dec, val->pNext);
594
vn_decode_VkMemoryResourceAllocationSizePropertiesMESA_self(dec, val);
597
597
static inline size_t
598
vn_sizeof_VkMemoryResourceAllocationSizeProperties100000MESA_pnext_partial(const void *val)
598
vn_sizeof_VkMemoryResourceAllocationSizePropertiesMESA_pnext_partial(const void *val)
600
600
/* no known/supported struct */
601
601
return vn_sizeof_simple_pointer(NULL);
604
604
static inline size_t
605
vn_sizeof_VkMemoryResourceAllocationSizeProperties100000MESA_self_partial(const VkMemoryResourceAllocationSizeProperties100000MESA *val)
605
vn_sizeof_VkMemoryResourceAllocationSizePropertiesMESA_self_partial(const VkMemoryResourceAllocationSizePropertiesMESA *val)
608
608
/* skip val->{sType,pNext} */
613
613
static inline size_t
614
vn_sizeof_VkMemoryResourceAllocationSizeProperties100000MESA_partial(const VkMemoryResourceAllocationSizeProperties100000MESA *val)
614
vn_sizeof_VkMemoryResourceAllocationSizePropertiesMESA_partial(const VkMemoryResourceAllocationSizePropertiesMESA *val)
618
618
size += vn_sizeof_VkStructureType(&val->sType);
619
size += vn_sizeof_VkMemoryResourceAllocationSizeProperties100000MESA_pnext_partial(val->pNext);
620
size += vn_sizeof_VkMemoryResourceAllocationSizeProperties100000MESA_self_partial(val);
619
size += vn_sizeof_VkMemoryResourceAllocationSizePropertiesMESA_pnext_partial(val->pNext);
620
size += vn_sizeof_VkMemoryResourceAllocationSizePropertiesMESA_self_partial(val);
625
625
static inline void
626
vn_encode_VkMemoryResourceAllocationSizeProperties100000MESA_pnext_partial(struct vn_cs_encoder *enc, const void *val)
626
vn_encode_VkMemoryResourceAllocationSizePropertiesMESA_pnext_partial(struct vn_cs_encoder *enc, const void *val)
628
628
/* no known/supported struct */
629
629
vn_encode_simple_pointer(enc, NULL);
632
632
static inline void
633
vn_encode_VkMemoryResourceAllocationSizeProperties100000MESA_self_partial(struct vn_cs_encoder *enc, const VkMemoryResourceAllocationSizeProperties100000MESA *val)
633
vn_encode_VkMemoryResourceAllocationSizePropertiesMESA_self_partial(struct vn_cs_encoder *enc, const VkMemoryResourceAllocationSizePropertiesMESA *val)
635
635
/* skip val->{sType,pNext} */
636
636
/* skip val->allocationSize */
639
639
static inline void
640
vn_encode_VkMemoryResourceAllocationSizeProperties100000MESA_partial(struct vn_cs_encoder *enc, const VkMemoryResourceAllocationSizeProperties100000MESA *val)
640
vn_encode_VkMemoryResourceAllocationSizePropertiesMESA_partial(struct vn_cs_encoder *enc, const VkMemoryResourceAllocationSizePropertiesMESA *val)
642
assert(val->sType == VK_STRUCTURE_TYPE_MEMORY_RESOURCE_ALLOCATION_SIZE_PROPERTIES_100000_MESA);
643
vn_encode_VkStructureType(enc, &(VkStructureType){ VK_STRUCTURE_TYPE_MEMORY_RESOURCE_ALLOCATION_SIZE_PROPERTIES_100000_MESA });
644
vn_encode_VkMemoryResourceAllocationSizeProperties100000MESA_pnext_partial(enc, val->pNext);
645
vn_encode_VkMemoryResourceAllocationSizeProperties100000MESA_self_partial(enc, val);
642
assert(val->sType == VK_STRUCTURE_TYPE_MEMORY_RESOURCE_ALLOCATION_SIZE_PROPERTIES_MESA);
643
vn_encode_VkStructureType(enc, &(VkStructureType){ VK_STRUCTURE_TYPE_MEMORY_RESOURCE_ALLOCATION_SIZE_PROPERTIES_MESA });
644
vn_encode_VkMemoryResourceAllocationSizePropertiesMESA_pnext_partial(enc, val->pNext);
645
vn_encode_VkMemoryResourceAllocationSizePropertiesMESA_self_partial(enc, val);
648
648
/* struct VkMemoryResourcePropertiesMESA chain */
657
657
switch ((int32_t)pnext->sType) {
658
case VK_STRUCTURE_TYPE_MEMORY_RESOURCE_ALLOCATION_SIZE_PROPERTIES_100000_MESA:
658
case VK_STRUCTURE_TYPE_MEMORY_RESOURCE_ALLOCATION_SIZE_PROPERTIES_MESA:
659
659
size += vn_sizeof_simple_pointer(pnext);
660
660
size += vn_sizeof_VkStructureType(&pnext->sType);
661
661
size += vn_sizeof_VkMemoryResourcePropertiesMESA_pnext(pnext->pNext);
662
size += vn_sizeof_VkMemoryResourceAllocationSizeProperties100000MESA_self((const VkMemoryResourceAllocationSizeProperties100000MESA *)pnext);
662
size += vn_sizeof_VkMemoryResourceAllocationSizePropertiesMESA_self((const VkMemoryResourceAllocationSizePropertiesMESA *)pnext);
665
665
/* ignore unknown/unsupported struct */
713
713
switch ((int32_t)pnext->sType) {
714
case VK_STRUCTURE_TYPE_MEMORY_RESOURCE_ALLOCATION_SIZE_PROPERTIES_100000_MESA:
714
case VK_STRUCTURE_TYPE_MEMORY_RESOURCE_ALLOCATION_SIZE_PROPERTIES_MESA:
715
715
vn_decode_VkMemoryResourcePropertiesMESA_pnext(dec, pnext->pNext);
716
vn_decode_VkMemoryResourceAllocationSizeProperties100000MESA_self(dec, (VkMemoryResourceAllocationSizeProperties100000MESA *)pnext);
716
vn_decode_VkMemoryResourceAllocationSizePropertiesMESA_self(dec, (VkMemoryResourceAllocationSizePropertiesMESA *)pnext);
750
750
switch ((int32_t)pnext->sType) {
751
case VK_STRUCTURE_TYPE_MEMORY_RESOURCE_ALLOCATION_SIZE_PROPERTIES_100000_MESA:
751
case VK_STRUCTURE_TYPE_MEMORY_RESOURCE_ALLOCATION_SIZE_PROPERTIES_MESA:
752
752
size += vn_sizeof_simple_pointer(pnext);
753
753
size += vn_sizeof_VkStructureType(&pnext->sType);
754
754
size += vn_sizeof_VkMemoryResourcePropertiesMESA_pnext_partial(pnext->pNext);
755
size += vn_sizeof_VkMemoryResourceAllocationSizeProperties100000MESA_self_partial((const VkMemoryResourceAllocationSizeProperties100000MESA *)pnext);
755
size += vn_sizeof_VkMemoryResourceAllocationSizePropertiesMESA_self_partial((const VkMemoryResourceAllocationSizePropertiesMESA *)pnext);
758
758
/* ignore unknown/unsupported struct */
794
794
switch ((int32_t)pnext->sType) {
795
case VK_STRUCTURE_TYPE_MEMORY_RESOURCE_ALLOCATION_SIZE_PROPERTIES_100000_MESA:
795
case VK_STRUCTURE_TYPE_MEMORY_RESOURCE_ALLOCATION_SIZE_PROPERTIES_MESA:
796
796
vn_encode_simple_pointer(enc, pnext);
797
797
vn_encode_VkStructureType(enc, &pnext->sType);
798
798
vn_encode_VkMemoryResourcePropertiesMESA_pnext_partial(enc, pnext->pNext);
799
vn_encode_VkMemoryResourceAllocationSizeProperties100000MESA_self_partial(enc, (const VkMemoryResourceAllocationSizeProperties100000MESA *)pnext);
799
vn_encode_VkMemoryResourceAllocationSizePropertiesMESA_self_partial(enc, (const VkMemoryResourceAllocationSizePropertiesMESA *)pnext);
802
802
/* ignore unknown/unsupported struct */