blob: ac4bffe3d8f85fb64176877fa0b9854581078140 [file] [log] [blame]
// Copyright (C) 2018 The Android Open Source Project
// Copyright (C) 2018 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Autogenerated module goldfish_vk_transform_guest
//
// (impl) generated by registry/vulkan/scripts/genvk.py -registry registry/vulkan/xml/vk.xml cereal
// -o ../vulkan-cereal/stream-servers/vulkan/cereal
//
// Please do not modify directly;
// re-run gfxstream-protocols/scripts/generate-vulkan-sources.sh,
// or directly from Python by defining:
// VULKAN_REGISTRY_XML_DIR : Directory containing vk.xml
// VULKAN_REGISTRY_SCRIPTS_DIR : Directory containing genvk.py
// CEREAL_OUTPUT_DIR: Where to put the generated sources.
//
// python3 $VULKAN_REGISTRY_SCRIPTS_DIR/genvk.py -registry $VULKAN_REGISTRY_XML_DIR/vk.xml cereal -o
// $CEREAL_OUTPUT_DIR
//
#include "goldfish_vk_transform_guest.h"
#include <cstring>
#include "ResourceTracker.h"
#include "goldfish_vk_extension_structs_guest.h"
#include "goldfish_vk_private_defs.h"
namespace gfxstream {
namespace vk {
void transform_tohost_extension_struct(ResourceTracker* resourceTracker, void* structExtension_out);
void transform_fromhost_extension_struct(ResourceTracker* resourceTracker,
void* structExtension_out);
#ifdef VK_VERSION_1_0
void transform_tohost_VkExtent2D(ResourceTracker* resourceTracker, VkExtent2D* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkExtent2D(ResourceTracker* resourceTracker, VkExtent2D* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkExtent3D(ResourceTracker* resourceTracker, VkExtent3D* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkExtent3D(ResourceTracker* resourceTracker, VkExtent3D* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkOffset2D(ResourceTracker* resourceTracker, VkOffset2D* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkOffset2D(ResourceTracker* resourceTracker, VkOffset2D* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkOffset3D(ResourceTracker* resourceTracker, VkOffset3D* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkOffset3D(ResourceTracker* resourceTracker, VkOffset3D* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkRect2D(ResourceTracker* resourceTracker, VkRect2D* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_tohost_VkOffset2D(resourceTracker, (VkOffset2D*)(&toTransform->offset));
transform_tohost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->extent));
}
void transform_fromhost_VkRect2D(ResourceTracker* resourceTracker, VkRect2D* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_fromhost_VkOffset2D(resourceTracker, (VkOffset2D*)(&toTransform->offset));
transform_fromhost_VkExtent2D(resourceTracker, (VkExtent2D*)(&toTransform->extent));
}
void transform_tohost_VkBaseInStructure(ResourceTracker* resourceTracker,
VkBaseInStructure* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkBaseInStructure(ResourceTracker* resourceTracker,
VkBaseInStructure* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkBaseOutStructure(ResourceTracker* resourceTracker,
VkBaseOutStructure* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkBaseOutStructure(ResourceTracker* resourceTracker,
VkBaseOutStructure* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkBufferMemoryBarrier(ResourceTracker* resourceTracker,
VkBufferMemoryBarrier* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkBufferMemoryBarrier(ResourceTracker* resourceTracker,
VkBufferMemoryBarrier* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkDispatchIndirectCommand(ResourceTracker* resourceTracker,
VkDispatchIndirectCommand* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkDispatchIndirectCommand(ResourceTracker* resourceTracker,
VkDispatchIndirectCommand* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkDrawIndexedIndirectCommand(ResourceTracker* resourceTracker,
VkDrawIndexedIndirectCommand* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkDrawIndexedIndirectCommand(ResourceTracker* resourceTracker,
VkDrawIndexedIndirectCommand* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkDrawIndirectCommand(ResourceTracker* resourceTracker,
VkDrawIndirectCommand* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkDrawIndirectCommand(ResourceTracker* resourceTracker,
VkDrawIndirectCommand* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkImageSubresourceRange(ResourceTracker* resourceTracker,
VkImageSubresourceRange* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkImageSubresourceRange(ResourceTracker* resourceTracker,
VkImageSubresourceRange* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkImageMemoryBarrier(ResourceTracker* resourceTracker,
VkImageMemoryBarrier* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
transform_tohost_VkImageSubresourceRange(
resourceTracker, (VkImageSubresourceRange*)(&toTransform->subresourceRange));
}
void transform_fromhost_VkImageMemoryBarrier(ResourceTracker* resourceTracker,
VkImageMemoryBarrier* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
transform_fromhost_VkImageSubresourceRange(
resourceTracker, (VkImageSubresourceRange*)(&toTransform->subresourceRange));
}
void transform_tohost_VkMemoryBarrier(ResourceTracker* resourceTracker,
VkMemoryBarrier* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkMemoryBarrier(ResourceTracker* resourceTracker,
VkMemoryBarrier* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkPipelineCacheHeaderVersionOne(
ResourceTracker* resourceTracker, VkPipelineCacheHeaderVersionOne* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkPipelineCacheHeaderVersionOne(
ResourceTracker* resourceTracker, VkPipelineCacheHeaderVersionOne* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkAllocationCallbacks(ResourceTracker* resourceTracker,
VkAllocationCallbacks* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkAllocationCallbacks(ResourceTracker* resourceTracker,
VkAllocationCallbacks* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkApplicationInfo(ResourceTracker* resourceTracker,
VkApplicationInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkApplicationInfo(ResourceTracker* resourceTracker,
VkApplicationInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkFormatProperties(ResourceTracker* resourceTracker,
VkFormatProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkFormatProperties(ResourceTracker* resourceTracker,
VkFormatProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkImageFormatProperties(ResourceTracker* resourceTracker,
VkImageFormatProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->maxExtent));
}
void transform_fromhost_VkImageFormatProperties(ResourceTracker* resourceTracker,
VkImageFormatProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->maxExtent));
}
void transform_tohost_VkInstanceCreateInfo(ResourceTracker* resourceTracker,
VkInstanceCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform->pApplicationInfo) {
transform_tohost_VkApplicationInfo(resourceTracker,
(VkApplicationInfo*)(toTransform->pApplicationInfo));
}
}
void transform_fromhost_VkInstanceCreateInfo(ResourceTracker* resourceTracker,
VkInstanceCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform->pApplicationInfo) {
transform_fromhost_VkApplicationInfo(resourceTracker,
(VkApplicationInfo*)(toTransform->pApplicationInfo));
}
}
void transform_tohost_VkMemoryHeap(ResourceTracker* resourceTracker, VkMemoryHeap* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkMemoryHeap(ResourceTracker* resourceTracker, VkMemoryHeap* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkMemoryType(ResourceTracker* resourceTracker, VkMemoryType* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkMemoryType(ResourceTracker* resourceTracker, VkMemoryType* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkPhysicalDeviceFeatures(ResourceTracker* resourceTracker,
VkPhysicalDeviceFeatures* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkPhysicalDeviceFeatures(ResourceTracker* resourceTracker,
VkPhysicalDeviceFeatures* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkPhysicalDeviceLimits(ResourceTracker* resourceTracker,
VkPhysicalDeviceLimits* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkPhysicalDeviceLimits(ResourceTracker* resourceTracker,
VkPhysicalDeviceLimits* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkPhysicalDeviceMemoryProperties(
ResourceTracker* resourceTracker, VkPhysicalDeviceMemoryProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
for (uint32_t i = 0; i < (uint32_t)VK_MAX_MEMORY_TYPES; ++i) {
transform_tohost_VkMemoryType(resourceTracker,
(VkMemoryType*)(toTransform->memoryTypes + i));
}
for (uint32_t i = 0; i < (uint32_t)VK_MAX_MEMORY_HEAPS; ++i) {
transform_tohost_VkMemoryHeap(resourceTracker,
(VkMemoryHeap*)(toTransform->memoryHeaps + i));
}
}
void transform_fromhost_VkPhysicalDeviceMemoryProperties(
ResourceTracker* resourceTracker, VkPhysicalDeviceMemoryProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
for (uint32_t i = 0; i < (uint32_t)VK_MAX_MEMORY_TYPES; ++i) {
transform_fromhost_VkMemoryType(resourceTracker,
(VkMemoryType*)(toTransform->memoryTypes + i));
}
for (uint32_t i = 0; i < (uint32_t)VK_MAX_MEMORY_HEAPS; ++i) {
transform_fromhost_VkMemoryHeap(resourceTracker,
(VkMemoryHeap*)(toTransform->memoryHeaps + i));
}
}
void transform_tohost_VkPhysicalDeviceSparseProperties(
ResourceTracker* resourceTracker, VkPhysicalDeviceSparseProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkPhysicalDeviceSparseProperties(
ResourceTracker* resourceTracker, VkPhysicalDeviceSparseProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkPhysicalDeviceProperties(ResourceTracker* resourceTracker,
VkPhysicalDeviceProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_tohost_VkPhysicalDeviceLimits(resourceTracker,
(VkPhysicalDeviceLimits*)(&toTransform->limits));
transform_tohost_VkPhysicalDeviceSparseProperties(
resourceTracker, (VkPhysicalDeviceSparseProperties*)(&toTransform->sparseProperties));
}
void transform_fromhost_VkPhysicalDeviceProperties(ResourceTracker* resourceTracker,
VkPhysicalDeviceProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_fromhost_VkPhysicalDeviceLimits(resourceTracker,
(VkPhysicalDeviceLimits*)(&toTransform->limits));
transform_fromhost_VkPhysicalDeviceSparseProperties(
resourceTracker, (VkPhysicalDeviceSparseProperties*)(&toTransform->sparseProperties));
}
void transform_tohost_VkQueueFamilyProperties(ResourceTracker* resourceTracker,
VkQueueFamilyProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_tohost_VkExtent3D(resourceTracker,
(VkExtent3D*)(&toTransform->minImageTransferGranularity));
}
void transform_fromhost_VkQueueFamilyProperties(ResourceTracker* resourceTracker,
VkQueueFamilyProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_fromhost_VkExtent3D(resourceTracker,
(VkExtent3D*)(&toTransform->minImageTransferGranularity));
}
void transform_tohost_VkDeviceQueueCreateInfo(ResourceTracker* resourceTracker,
VkDeviceQueueCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkDeviceQueueCreateInfo(ResourceTracker* resourceTracker,
VkDeviceQueueCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkDeviceCreateInfo(ResourceTracker* resourceTracker,
VkDeviceCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pQueueCreateInfos) {
for (uint32_t i = 0; i < (uint32_t)toTransform->queueCreateInfoCount; ++i) {
transform_tohost_VkDeviceQueueCreateInfo(
resourceTracker,
(VkDeviceQueueCreateInfo*)(toTransform->pQueueCreateInfos + i));
}
}
}
if (toTransform->pEnabledFeatures) {
transform_tohost_VkPhysicalDeviceFeatures(
resourceTracker, (VkPhysicalDeviceFeatures*)(toTransform->pEnabledFeatures));
}
}
void transform_fromhost_VkDeviceCreateInfo(ResourceTracker* resourceTracker,
VkDeviceCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pQueueCreateInfos) {
for (uint32_t i = 0; i < (uint32_t)toTransform->queueCreateInfoCount; ++i) {
transform_fromhost_VkDeviceQueueCreateInfo(
resourceTracker,
(VkDeviceQueueCreateInfo*)(toTransform->pQueueCreateInfos + i));
}
}
}
if (toTransform->pEnabledFeatures) {
transform_fromhost_VkPhysicalDeviceFeatures(
resourceTracker, (VkPhysicalDeviceFeatures*)(toTransform->pEnabledFeatures));
}
}
void transform_tohost_VkExtensionProperties(ResourceTracker* resourceTracker,
VkExtensionProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkExtensionProperties(ResourceTracker* resourceTracker,
VkExtensionProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkLayerProperties(ResourceTracker* resourceTracker,
VkLayerProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkLayerProperties(ResourceTracker* resourceTracker,
VkLayerProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkSubmitInfo(ResourceTracker* resourceTracker, VkSubmitInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkSubmitInfo(ResourceTracker* resourceTracker, VkSubmitInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkMappedMemoryRange(ResourceTracker* resourceTracker,
VkMappedMemoryRange* toTransform) {
(void)resourceTracker;
(void)toTransform;
resourceTracker->deviceMemoryTransform_tohost(
(VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->offset, 1,
(VkDeviceSize*)&toTransform->size, 1, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkMappedMemoryRange(ResourceTracker* resourceTracker,
VkMappedMemoryRange* toTransform) {
(void)resourceTracker;
(void)toTransform;
resourceTracker->deviceMemoryTransform_fromhost(
(VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->offset, 1,
(VkDeviceSize*)&toTransform->size, 1, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkMemoryAllocateInfo(ResourceTracker* resourceTracker,
VkMemoryAllocateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
resourceTracker->deviceMemoryTransform_tohost(
(VkDeviceMemory*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0,
(uint32_t*)&toTransform->memoryTypeIndex, 1, (uint32_t*)nullptr, 0);
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkMemoryAllocateInfo(ResourceTracker* resourceTracker,
VkMemoryAllocateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
resourceTracker->deviceMemoryTransform_fromhost(
(VkDeviceMemory*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0,
(uint32_t*)&toTransform->memoryTypeIndex, 1, (uint32_t*)nullptr, 0);
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkMemoryRequirements(ResourceTracker* resourceTracker,
VkMemoryRequirements* toTransform) {
(void)resourceTracker;
(void)toTransform;
resourceTracker->deviceMemoryTransform_tohost(
(VkDeviceMemory*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0,
(uint32_t*)nullptr, 0, (uint32_t*)&toTransform->memoryTypeBits, 1);
}
void transform_fromhost_VkMemoryRequirements(ResourceTracker* resourceTracker,
VkMemoryRequirements* toTransform) {
(void)resourceTracker;
(void)toTransform;
resourceTracker->deviceMemoryTransform_fromhost(
(VkDeviceMemory*)nullptr, 0, (VkDeviceSize*)nullptr, 0, (VkDeviceSize*)nullptr, 0,
(uint32_t*)nullptr, 0, (uint32_t*)&toTransform->memoryTypeBits, 1);
}
void transform_tohost_VkSparseMemoryBind(ResourceTracker* resourceTracker,
VkSparseMemoryBind* toTransform) {
(void)resourceTracker;
(void)toTransform;
resourceTracker->deviceMemoryTransform_tohost(
(VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1,
(VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
}
void transform_fromhost_VkSparseMemoryBind(ResourceTracker* resourceTracker,
VkSparseMemoryBind* toTransform) {
(void)resourceTracker;
(void)toTransform;
resourceTracker->deviceMemoryTransform_fromhost(
(VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1,
(VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
}
void transform_tohost_VkSparseBufferMemoryBindInfo(ResourceTracker* resourceTracker,
VkSparseBufferMemoryBindInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform) {
if (toTransform->pBinds) {
for (uint32_t i = 0; i < (uint32_t)toTransform->bindCount; ++i) {
transform_tohost_VkSparseMemoryBind(resourceTracker,
(VkSparseMemoryBind*)(toTransform->pBinds + i));
}
}
}
}
void transform_fromhost_VkSparseBufferMemoryBindInfo(ResourceTracker* resourceTracker,
VkSparseBufferMemoryBindInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform) {
if (toTransform->pBinds) {
for (uint32_t i = 0; i < (uint32_t)toTransform->bindCount; ++i) {
transform_fromhost_VkSparseMemoryBind(
resourceTracker, (VkSparseMemoryBind*)(toTransform->pBinds + i));
}
}
}
}
void transform_tohost_VkSparseImageOpaqueMemoryBindInfo(
ResourceTracker* resourceTracker, VkSparseImageOpaqueMemoryBindInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform) {
if (toTransform->pBinds) {
for (uint32_t i = 0; i < (uint32_t)toTransform->bindCount; ++i) {
transform_tohost_VkSparseMemoryBind(resourceTracker,
(VkSparseMemoryBind*)(toTransform->pBinds + i));
}
}
}
}
void transform_fromhost_VkSparseImageOpaqueMemoryBindInfo(
ResourceTracker* resourceTracker, VkSparseImageOpaqueMemoryBindInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform) {
if (toTransform->pBinds) {
for (uint32_t i = 0; i < (uint32_t)toTransform->bindCount; ++i) {
transform_fromhost_VkSparseMemoryBind(
resourceTracker, (VkSparseMemoryBind*)(toTransform->pBinds + i));
}
}
}
}
void transform_tohost_VkImageSubresource(ResourceTracker* resourceTracker,
VkImageSubresource* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkImageSubresource(ResourceTracker* resourceTracker,
VkImageSubresource* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkSparseImageMemoryBind(ResourceTracker* resourceTracker,
VkSparseImageMemoryBind* toTransform) {
(void)resourceTracker;
(void)toTransform;
resourceTracker->deviceMemoryTransform_tohost(
(VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1,
(VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
transform_tohost_VkImageSubresource(resourceTracker,
(VkImageSubresource*)(&toTransform->subresource));
transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->offset));
transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
}
void transform_fromhost_VkSparseImageMemoryBind(ResourceTracker* resourceTracker,
VkSparseImageMemoryBind* toTransform) {
(void)resourceTracker;
(void)toTransform;
resourceTracker->deviceMemoryTransform_fromhost(
(VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1,
(VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
transform_fromhost_VkImageSubresource(resourceTracker,
(VkImageSubresource*)(&toTransform->subresource));
transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->offset));
transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
}
void transform_tohost_VkSparseImageMemoryBindInfo(ResourceTracker* resourceTracker,
VkSparseImageMemoryBindInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform) {
if (toTransform->pBinds) {
for (uint32_t i = 0; i < (uint32_t)toTransform->bindCount; ++i) {
transform_tohost_VkSparseImageMemoryBind(
resourceTracker, (VkSparseImageMemoryBind*)(toTransform->pBinds + i));
}
}
}
}
void transform_fromhost_VkSparseImageMemoryBindInfo(ResourceTracker* resourceTracker,
VkSparseImageMemoryBindInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform) {
if (toTransform->pBinds) {
for (uint32_t i = 0; i < (uint32_t)toTransform->bindCount; ++i) {
transform_fromhost_VkSparseImageMemoryBind(
resourceTracker, (VkSparseImageMemoryBind*)(toTransform->pBinds + i));
}
}
}
}
void transform_tohost_VkBindSparseInfo(ResourceTracker* resourceTracker,
VkBindSparseInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pBufferBinds) {
for (uint32_t i = 0; i < (uint32_t)toTransform->bufferBindCount; ++i) {
transform_tohost_VkSparseBufferMemoryBindInfo(
resourceTracker,
(VkSparseBufferMemoryBindInfo*)(toTransform->pBufferBinds + i));
}
}
}
if (toTransform) {
if (toTransform->pImageOpaqueBinds) {
for (uint32_t i = 0; i < (uint32_t)toTransform->imageOpaqueBindCount; ++i) {
transform_tohost_VkSparseImageOpaqueMemoryBindInfo(
resourceTracker,
(VkSparseImageOpaqueMemoryBindInfo*)(toTransform->pImageOpaqueBinds + i));
}
}
}
if (toTransform) {
if (toTransform->pImageBinds) {
for (uint32_t i = 0; i < (uint32_t)toTransform->imageBindCount; ++i) {
transform_tohost_VkSparseImageMemoryBindInfo(
resourceTracker, (VkSparseImageMemoryBindInfo*)(toTransform->pImageBinds + i));
}
}
}
}
void transform_fromhost_VkBindSparseInfo(ResourceTracker* resourceTracker,
VkBindSparseInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pBufferBinds) {
for (uint32_t i = 0; i < (uint32_t)toTransform->bufferBindCount; ++i) {
transform_fromhost_VkSparseBufferMemoryBindInfo(
resourceTracker,
(VkSparseBufferMemoryBindInfo*)(toTransform->pBufferBinds + i));
}
}
}
if (toTransform) {
if (toTransform->pImageOpaqueBinds) {
for (uint32_t i = 0; i < (uint32_t)toTransform->imageOpaqueBindCount; ++i) {
transform_fromhost_VkSparseImageOpaqueMemoryBindInfo(
resourceTracker,
(VkSparseImageOpaqueMemoryBindInfo*)(toTransform->pImageOpaqueBinds + i));
}
}
}
if (toTransform) {
if (toTransform->pImageBinds) {
for (uint32_t i = 0; i < (uint32_t)toTransform->imageBindCount; ++i) {
transform_fromhost_VkSparseImageMemoryBindInfo(
resourceTracker, (VkSparseImageMemoryBindInfo*)(toTransform->pImageBinds + i));
}
}
}
}
void transform_tohost_VkSparseImageFormatProperties(ResourceTracker* resourceTracker,
VkSparseImageFormatProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->imageGranularity));
}
void transform_fromhost_VkSparseImageFormatProperties(ResourceTracker* resourceTracker,
VkSparseImageFormatProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->imageGranularity));
}
void transform_tohost_VkSparseImageMemoryRequirements(
ResourceTracker* resourceTracker, VkSparseImageMemoryRequirements* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_tohost_VkSparseImageFormatProperties(
resourceTracker, (VkSparseImageFormatProperties*)(&toTransform->formatProperties));
}
void transform_fromhost_VkSparseImageMemoryRequirements(
ResourceTracker* resourceTracker, VkSparseImageMemoryRequirements* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_fromhost_VkSparseImageFormatProperties(
resourceTracker, (VkSparseImageFormatProperties*)(&toTransform->formatProperties));
}
void transform_tohost_VkFenceCreateInfo(ResourceTracker* resourceTracker,
VkFenceCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkFenceCreateInfo(ResourceTracker* resourceTracker,
VkFenceCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkSemaphoreCreateInfo(ResourceTracker* resourceTracker,
VkSemaphoreCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkSemaphoreCreateInfo(ResourceTracker* resourceTracker,
VkSemaphoreCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkEventCreateInfo(ResourceTracker* resourceTracker,
VkEventCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkEventCreateInfo(ResourceTracker* resourceTracker,
VkEventCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkQueryPoolCreateInfo(ResourceTracker* resourceTracker,
VkQueryPoolCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkQueryPoolCreateInfo(ResourceTracker* resourceTracker,
VkQueryPoolCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkBufferCreateInfo(ResourceTracker* resourceTracker,
VkBufferCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkBufferCreateInfo(ResourceTracker* resourceTracker,
VkBufferCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkBufferViewCreateInfo(ResourceTracker* resourceTracker,
VkBufferViewCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkBufferViewCreateInfo(ResourceTracker* resourceTracker,
VkBufferViewCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkImageCreateInfo(ResourceTracker* resourceTracker,
VkImageCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
}
void transform_fromhost_VkImageCreateInfo(ResourceTracker* resourceTracker,
VkImageCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
}
void transform_tohost_VkSubresourceLayout(ResourceTracker* resourceTracker,
VkSubresourceLayout* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkSubresourceLayout(ResourceTracker* resourceTracker,
VkSubresourceLayout* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkComponentMapping(ResourceTracker* resourceTracker,
VkComponentMapping* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkComponentMapping(ResourceTracker* resourceTracker,
VkComponentMapping* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkImageViewCreateInfo(ResourceTracker* resourceTracker,
VkImageViewCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
transform_tohost_VkComponentMapping(resourceTracker,
(VkComponentMapping*)(&toTransform->components));
transform_tohost_VkImageSubresourceRange(
resourceTracker, (VkImageSubresourceRange*)(&toTransform->subresourceRange));
}
void transform_fromhost_VkImageViewCreateInfo(ResourceTracker* resourceTracker,
VkImageViewCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
transform_fromhost_VkComponentMapping(resourceTracker,
(VkComponentMapping*)(&toTransform->components));
transform_fromhost_VkImageSubresourceRange(
resourceTracker, (VkImageSubresourceRange*)(&toTransform->subresourceRange));
}
void transform_tohost_VkShaderModuleCreateInfo(ResourceTracker* resourceTracker,
VkShaderModuleCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkShaderModuleCreateInfo(ResourceTracker* resourceTracker,
VkShaderModuleCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkPipelineCacheCreateInfo(ResourceTracker* resourceTracker,
VkPipelineCacheCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkPipelineCacheCreateInfo(ResourceTracker* resourceTracker,
VkPipelineCacheCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkSpecializationMapEntry(ResourceTracker* resourceTracker,
VkSpecializationMapEntry* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkSpecializationMapEntry(ResourceTracker* resourceTracker,
VkSpecializationMapEntry* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkSpecializationInfo(ResourceTracker* resourceTracker,
VkSpecializationInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform) {
if (toTransform->pMapEntries) {
for (uint32_t i = 0; i < (uint32_t)toTransform->mapEntryCount; ++i) {
transform_tohost_VkSpecializationMapEntry(
resourceTracker, (VkSpecializationMapEntry*)(toTransform->pMapEntries + i));
}
}
}
}
void transform_fromhost_VkSpecializationInfo(ResourceTracker* resourceTracker,
VkSpecializationInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform) {
if (toTransform->pMapEntries) {
for (uint32_t i = 0; i < (uint32_t)toTransform->mapEntryCount; ++i) {
transform_fromhost_VkSpecializationMapEntry(
resourceTracker, (VkSpecializationMapEntry*)(toTransform->pMapEntries + i));
}
}
}
}
void transform_tohost_VkPipelineShaderStageCreateInfo(
ResourceTracker* resourceTracker, VkPipelineShaderStageCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform->pSpecializationInfo) {
transform_tohost_VkSpecializationInfo(
resourceTracker, (VkSpecializationInfo*)(toTransform->pSpecializationInfo));
}
}
void transform_fromhost_VkPipelineShaderStageCreateInfo(
ResourceTracker* resourceTracker, VkPipelineShaderStageCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform->pSpecializationInfo) {
transform_fromhost_VkSpecializationInfo(
resourceTracker, (VkSpecializationInfo*)(toTransform->pSpecializationInfo));
}
}
void transform_tohost_VkComputePipelineCreateInfo(ResourceTracker* resourceTracker,
VkComputePipelineCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
transform_tohost_VkPipelineShaderStageCreateInfo(
resourceTracker, (VkPipelineShaderStageCreateInfo*)(&toTransform->stage));
}
void transform_fromhost_VkComputePipelineCreateInfo(ResourceTracker* resourceTracker,
VkComputePipelineCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
transform_fromhost_VkPipelineShaderStageCreateInfo(
resourceTracker, (VkPipelineShaderStageCreateInfo*)(&toTransform->stage));
}
void transform_tohost_VkVertexInputBindingDescription(
ResourceTracker* resourceTracker, VkVertexInputBindingDescription* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkVertexInputBindingDescription(
ResourceTracker* resourceTracker, VkVertexInputBindingDescription* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkVertexInputAttributeDescription(
ResourceTracker* resourceTracker, VkVertexInputAttributeDescription* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkVertexInputAttributeDescription(
ResourceTracker* resourceTracker, VkVertexInputAttributeDescription* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkPipelineVertexInputStateCreateInfo(
ResourceTracker* resourceTracker, VkPipelineVertexInputStateCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pVertexBindingDescriptions) {
for (uint32_t i = 0; i < (uint32_t)toTransform->vertexBindingDescriptionCount; ++i) {
transform_tohost_VkVertexInputBindingDescription(
resourceTracker,
(VkVertexInputBindingDescription*)(toTransform->pVertexBindingDescriptions +
i));
}
}
}
if (toTransform) {
if (toTransform->pVertexAttributeDescriptions) {
for (uint32_t i = 0; i < (uint32_t)toTransform->vertexAttributeDescriptionCount; ++i) {
transform_tohost_VkVertexInputAttributeDescription(
resourceTracker,
(VkVertexInputAttributeDescription*)(toTransform->pVertexAttributeDescriptions +
i));
}
}
}
}
void transform_fromhost_VkPipelineVertexInputStateCreateInfo(
ResourceTracker* resourceTracker, VkPipelineVertexInputStateCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pVertexBindingDescriptions) {
for (uint32_t i = 0; i < (uint32_t)toTransform->vertexBindingDescriptionCount; ++i) {
transform_fromhost_VkVertexInputBindingDescription(
resourceTracker,
(VkVertexInputBindingDescription*)(toTransform->pVertexBindingDescriptions +
i));
}
}
}
if (toTransform) {
if (toTransform->pVertexAttributeDescriptions) {
for (uint32_t i = 0; i < (uint32_t)toTransform->vertexAttributeDescriptionCount; ++i) {
transform_fromhost_VkVertexInputAttributeDescription(
resourceTracker,
(VkVertexInputAttributeDescription*)(toTransform->pVertexAttributeDescriptions +
i));
}
}
}
}
void transform_tohost_VkPipelineInputAssemblyStateCreateInfo(
ResourceTracker* resourceTracker, VkPipelineInputAssemblyStateCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkPipelineInputAssemblyStateCreateInfo(
ResourceTracker* resourceTracker, VkPipelineInputAssemblyStateCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkPipelineTessellationStateCreateInfo(
ResourceTracker* resourceTracker, VkPipelineTessellationStateCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkPipelineTessellationStateCreateInfo(
ResourceTracker* resourceTracker, VkPipelineTessellationStateCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkViewport(ResourceTracker* resourceTracker, VkViewport* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkViewport(ResourceTracker* resourceTracker, VkViewport* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkPipelineViewportStateCreateInfo(
ResourceTracker* resourceTracker, VkPipelineViewportStateCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pViewports) {
for (uint32_t i = 0; i < (uint32_t)toTransform->viewportCount; ++i) {
transform_tohost_VkViewport(resourceTracker,
(VkViewport*)(toTransform->pViewports + i));
}
}
}
if (toTransform) {
if (toTransform->pScissors) {
for (uint32_t i = 0; i < (uint32_t)toTransform->scissorCount; ++i) {
transform_tohost_VkRect2D(resourceTracker, (VkRect2D*)(toTransform->pScissors + i));
}
}
}
}
void transform_fromhost_VkPipelineViewportStateCreateInfo(
ResourceTracker* resourceTracker, VkPipelineViewportStateCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pViewports) {
for (uint32_t i = 0; i < (uint32_t)toTransform->viewportCount; ++i) {
transform_fromhost_VkViewport(resourceTracker,
(VkViewport*)(toTransform->pViewports + i));
}
}
}
if (toTransform) {
if (toTransform->pScissors) {
for (uint32_t i = 0; i < (uint32_t)toTransform->scissorCount; ++i) {
transform_fromhost_VkRect2D(resourceTracker,
(VkRect2D*)(toTransform->pScissors + i));
}
}
}
}
void transform_tohost_VkPipelineRasterizationStateCreateInfo(
ResourceTracker* resourceTracker, VkPipelineRasterizationStateCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkPipelineRasterizationStateCreateInfo(
ResourceTracker* resourceTracker, VkPipelineRasterizationStateCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkPipelineMultisampleStateCreateInfo(
ResourceTracker* resourceTracker, VkPipelineMultisampleStateCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkPipelineMultisampleStateCreateInfo(
ResourceTracker* resourceTracker, VkPipelineMultisampleStateCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkStencilOpState(ResourceTracker* resourceTracker,
VkStencilOpState* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkStencilOpState(ResourceTracker* resourceTracker,
VkStencilOpState* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkPipelineDepthStencilStateCreateInfo(
ResourceTracker* resourceTracker, VkPipelineDepthStencilStateCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
transform_tohost_VkStencilOpState(resourceTracker, (VkStencilOpState*)(&toTransform->front));
transform_tohost_VkStencilOpState(resourceTracker, (VkStencilOpState*)(&toTransform->back));
}
void transform_fromhost_VkPipelineDepthStencilStateCreateInfo(
ResourceTracker* resourceTracker, VkPipelineDepthStencilStateCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
transform_fromhost_VkStencilOpState(resourceTracker, (VkStencilOpState*)(&toTransform->front));
transform_fromhost_VkStencilOpState(resourceTracker, (VkStencilOpState*)(&toTransform->back));
}
void transform_tohost_VkPipelineColorBlendAttachmentState(
ResourceTracker* resourceTracker, VkPipelineColorBlendAttachmentState* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkPipelineColorBlendAttachmentState(
ResourceTracker* resourceTracker, VkPipelineColorBlendAttachmentState* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkPipelineColorBlendStateCreateInfo(
ResourceTracker* resourceTracker, VkPipelineColorBlendStateCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pAttachments) {
for (uint32_t i = 0; i < (uint32_t)toTransform->attachmentCount; ++i) {
transform_tohost_VkPipelineColorBlendAttachmentState(
resourceTracker,
(VkPipelineColorBlendAttachmentState*)(toTransform->pAttachments + i));
}
}
}
}
void transform_fromhost_VkPipelineColorBlendStateCreateInfo(
ResourceTracker* resourceTracker, VkPipelineColorBlendStateCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pAttachments) {
for (uint32_t i = 0; i < (uint32_t)toTransform->attachmentCount; ++i) {
transform_fromhost_VkPipelineColorBlendAttachmentState(
resourceTracker,
(VkPipelineColorBlendAttachmentState*)(toTransform->pAttachments + i));
}
}
}
}
void transform_tohost_VkPipelineDynamicStateCreateInfo(
ResourceTracker* resourceTracker, VkPipelineDynamicStateCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkPipelineDynamicStateCreateInfo(
ResourceTracker* resourceTracker, VkPipelineDynamicStateCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkGraphicsPipelineCreateInfo(ResourceTracker* resourceTracker,
VkGraphicsPipelineCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pStages) {
for (uint32_t i = 0; i < (uint32_t)toTransform->stageCount; ++i) {
transform_tohost_VkPipelineShaderStageCreateInfo(
resourceTracker, (VkPipelineShaderStageCreateInfo*)(toTransform->pStages + i));
}
}
}
if (toTransform->pVertexInputState) {
transform_tohost_VkPipelineVertexInputStateCreateInfo(
resourceTracker,
(VkPipelineVertexInputStateCreateInfo*)(toTransform->pVertexInputState));
}
if (toTransform->pInputAssemblyState) {
transform_tohost_VkPipelineInputAssemblyStateCreateInfo(
resourceTracker,
(VkPipelineInputAssemblyStateCreateInfo*)(toTransform->pInputAssemblyState));
}
if (toTransform->pTessellationState) {
transform_tohost_VkPipelineTessellationStateCreateInfo(
resourceTracker,
(VkPipelineTessellationStateCreateInfo*)(toTransform->pTessellationState));
}
if (toTransform->pViewportState) {
transform_tohost_VkPipelineViewportStateCreateInfo(
resourceTracker, (VkPipelineViewportStateCreateInfo*)(toTransform->pViewportState));
}
if (toTransform->pRasterizationState) {
transform_tohost_VkPipelineRasterizationStateCreateInfo(
resourceTracker,
(VkPipelineRasterizationStateCreateInfo*)(toTransform->pRasterizationState));
}
if (toTransform->pMultisampleState) {
transform_tohost_VkPipelineMultisampleStateCreateInfo(
resourceTracker,
(VkPipelineMultisampleStateCreateInfo*)(toTransform->pMultisampleState));
}
if (toTransform->pDepthStencilState) {
transform_tohost_VkPipelineDepthStencilStateCreateInfo(
resourceTracker,
(VkPipelineDepthStencilStateCreateInfo*)(toTransform->pDepthStencilState));
}
if (toTransform->pColorBlendState) {
transform_tohost_VkPipelineColorBlendStateCreateInfo(
resourceTracker, (VkPipelineColorBlendStateCreateInfo*)(toTransform->pColorBlendState));
}
if (toTransform->pDynamicState) {
transform_tohost_VkPipelineDynamicStateCreateInfo(
resourceTracker, (VkPipelineDynamicStateCreateInfo*)(toTransform->pDynamicState));
}
}
void transform_fromhost_VkGraphicsPipelineCreateInfo(ResourceTracker* resourceTracker,
VkGraphicsPipelineCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pStages) {
for (uint32_t i = 0; i < (uint32_t)toTransform->stageCount; ++i) {
transform_fromhost_VkPipelineShaderStageCreateInfo(
resourceTracker, (VkPipelineShaderStageCreateInfo*)(toTransform->pStages + i));
}
}
}
if (toTransform->pVertexInputState) {
transform_fromhost_VkPipelineVertexInputStateCreateInfo(
resourceTracker,
(VkPipelineVertexInputStateCreateInfo*)(toTransform->pVertexInputState));
}
if (toTransform->pInputAssemblyState) {
transform_fromhost_VkPipelineInputAssemblyStateCreateInfo(
resourceTracker,
(VkPipelineInputAssemblyStateCreateInfo*)(toTransform->pInputAssemblyState));
}
if (toTransform->pTessellationState) {
transform_fromhost_VkPipelineTessellationStateCreateInfo(
resourceTracker,
(VkPipelineTessellationStateCreateInfo*)(toTransform->pTessellationState));
}
if (toTransform->pViewportState) {
transform_fromhost_VkPipelineViewportStateCreateInfo(
resourceTracker, (VkPipelineViewportStateCreateInfo*)(toTransform->pViewportState));
}
if (toTransform->pRasterizationState) {
transform_fromhost_VkPipelineRasterizationStateCreateInfo(
resourceTracker,
(VkPipelineRasterizationStateCreateInfo*)(toTransform->pRasterizationState));
}
if (toTransform->pMultisampleState) {
transform_fromhost_VkPipelineMultisampleStateCreateInfo(
resourceTracker,
(VkPipelineMultisampleStateCreateInfo*)(toTransform->pMultisampleState));
}
if (toTransform->pDepthStencilState) {
transform_fromhost_VkPipelineDepthStencilStateCreateInfo(
resourceTracker,
(VkPipelineDepthStencilStateCreateInfo*)(toTransform->pDepthStencilState));
}
if (toTransform->pColorBlendState) {
transform_fromhost_VkPipelineColorBlendStateCreateInfo(
resourceTracker, (VkPipelineColorBlendStateCreateInfo*)(toTransform->pColorBlendState));
}
if (toTransform->pDynamicState) {
transform_fromhost_VkPipelineDynamicStateCreateInfo(
resourceTracker, (VkPipelineDynamicStateCreateInfo*)(toTransform->pDynamicState));
}
}
void transform_tohost_VkPushConstantRange(ResourceTracker* resourceTracker,
VkPushConstantRange* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkPushConstantRange(ResourceTracker* resourceTracker,
VkPushConstantRange* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkPipelineLayoutCreateInfo(ResourceTracker* resourceTracker,
VkPipelineLayoutCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pPushConstantRanges) {
for (uint32_t i = 0; i < (uint32_t)toTransform->pushConstantRangeCount; ++i) {
transform_tohost_VkPushConstantRange(
resourceTracker, (VkPushConstantRange*)(toTransform->pPushConstantRanges + i));
}
}
}
}
void transform_fromhost_VkPipelineLayoutCreateInfo(ResourceTracker* resourceTracker,
VkPipelineLayoutCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pPushConstantRanges) {
for (uint32_t i = 0; i < (uint32_t)toTransform->pushConstantRangeCount; ++i) {
transform_fromhost_VkPushConstantRange(
resourceTracker, (VkPushConstantRange*)(toTransform->pPushConstantRanges + i));
}
}
}
}
void transform_tohost_VkSamplerCreateInfo(ResourceTracker* resourceTracker,
VkSamplerCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkSamplerCreateInfo(ResourceTracker* resourceTracker,
VkSamplerCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkCopyDescriptorSet(ResourceTracker* resourceTracker,
VkCopyDescriptorSet* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkCopyDescriptorSet(ResourceTracker* resourceTracker,
VkCopyDescriptorSet* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkDescriptorBufferInfo(ResourceTracker* resourceTracker,
VkDescriptorBufferInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkDescriptorBufferInfo(ResourceTracker* resourceTracker,
VkDescriptorBufferInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkDescriptorImageInfo(ResourceTracker* resourceTracker,
VkDescriptorImageInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkDescriptorImageInfo(ResourceTracker* resourceTracker,
VkDescriptorImageInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkDescriptorPoolSize(ResourceTracker* resourceTracker,
VkDescriptorPoolSize* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkDescriptorPoolSize(ResourceTracker* resourceTracker,
VkDescriptorPoolSize* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkDescriptorPoolCreateInfo(ResourceTracker* resourceTracker,
VkDescriptorPoolCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pPoolSizes) {
for (uint32_t i = 0; i < (uint32_t)toTransform->poolSizeCount; ++i) {
transform_tohost_VkDescriptorPoolSize(
resourceTracker, (VkDescriptorPoolSize*)(toTransform->pPoolSizes + i));
}
}
}
}
void transform_fromhost_VkDescriptorPoolCreateInfo(ResourceTracker* resourceTracker,
VkDescriptorPoolCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pPoolSizes) {
for (uint32_t i = 0; i < (uint32_t)toTransform->poolSizeCount; ++i) {
transform_fromhost_VkDescriptorPoolSize(
resourceTracker, (VkDescriptorPoolSize*)(toTransform->pPoolSizes + i));
}
}
}
}
void transform_tohost_VkDescriptorSetAllocateInfo(ResourceTracker* resourceTracker,
VkDescriptorSetAllocateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkDescriptorSetAllocateInfo(ResourceTracker* resourceTracker,
VkDescriptorSetAllocateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkDescriptorSetLayoutBinding(ResourceTracker* resourceTracker,
VkDescriptorSetLayoutBinding* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkDescriptorSetLayoutBinding(ResourceTracker* resourceTracker,
VkDescriptorSetLayoutBinding* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkDescriptorSetLayoutCreateInfo(
ResourceTracker* resourceTracker, VkDescriptorSetLayoutCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pBindings) {
for (uint32_t i = 0; i < (uint32_t)toTransform->bindingCount; ++i) {
transform_tohost_VkDescriptorSetLayoutBinding(
resourceTracker, (VkDescriptorSetLayoutBinding*)(toTransform->pBindings + i));
}
}
}
}
void transform_fromhost_VkDescriptorSetLayoutCreateInfo(
ResourceTracker* resourceTracker, VkDescriptorSetLayoutCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pBindings) {
for (uint32_t i = 0; i < (uint32_t)toTransform->bindingCount; ++i) {
transform_fromhost_VkDescriptorSetLayoutBinding(
resourceTracker, (VkDescriptorSetLayoutBinding*)(toTransform->pBindings + i));
}
}
}
}
void transform_tohost_VkWriteDescriptorSet(ResourceTracker* resourceTracker,
VkWriteDescriptorSet* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pImageInfo) {
for (uint32_t i = 0; i < (uint32_t)toTransform->descriptorCount; ++i) {
transform_tohost_VkDescriptorImageInfo(
resourceTracker, (VkDescriptorImageInfo*)(toTransform->pImageInfo + i));
}
}
}
if (toTransform) {
if (toTransform->pBufferInfo) {
for (uint32_t i = 0; i < (uint32_t)toTransform->descriptorCount; ++i) {
transform_tohost_VkDescriptorBufferInfo(
resourceTracker, (VkDescriptorBufferInfo*)(toTransform->pBufferInfo + i));
}
}
}
}
void transform_fromhost_VkWriteDescriptorSet(ResourceTracker* resourceTracker,
VkWriteDescriptorSet* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pImageInfo) {
for (uint32_t i = 0; i < (uint32_t)toTransform->descriptorCount; ++i) {
transform_fromhost_VkDescriptorImageInfo(
resourceTracker, (VkDescriptorImageInfo*)(toTransform->pImageInfo + i));
}
}
}
if (toTransform) {
if (toTransform->pBufferInfo) {
for (uint32_t i = 0; i < (uint32_t)toTransform->descriptorCount; ++i) {
transform_fromhost_VkDescriptorBufferInfo(
resourceTracker, (VkDescriptorBufferInfo*)(toTransform->pBufferInfo + i));
}
}
}
}
void transform_tohost_VkAttachmentDescription(ResourceTracker* resourceTracker,
VkAttachmentDescription* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkAttachmentDescription(ResourceTracker* resourceTracker,
VkAttachmentDescription* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkAttachmentReference(ResourceTracker* resourceTracker,
VkAttachmentReference* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkAttachmentReference(ResourceTracker* resourceTracker,
VkAttachmentReference* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkFramebufferCreateInfo(ResourceTracker* resourceTracker,
VkFramebufferCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkFramebufferCreateInfo(ResourceTracker* resourceTracker,
VkFramebufferCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkSubpassDescription(ResourceTracker* resourceTracker,
VkSubpassDescription* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform) {
if (toTransform->pInputAttachments) {
for (uint32_t i = 0; i < (uint32_t)toTransform->inputAttachmentCount; ++i) {
transform_tohost_VkAttachmentReference(
resourceTracker, (VkAttachmentReference*)(toTransform->pInputAttachments + i));
}
}
}
if (toTransform) {
if (toTransform->pColorAttachments) {
for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i) {
transform_tohost_VkAttachmentReference(
resourceTracker, (VkAttachmentReference*)(toTransform->pColorAttachments + i));
}
}
}
if (toTransform) {
if (toTransform->pResolveAttachments) {
for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i) {
transform_tohost_VkAttachmentReference(
resourceTracker,
(VkAttachmentReference*)(toTransform->pResolveAttachments + i));
}
}
}
if (toTransform->pDepthStencilAttachment) {
transform_tohost_VkAttachmentReference(
resourceTracker, (VkAttachmentReference*)(toTransform->pDepthStencilAttachment));
}
}
void transform_fromhost_VkSubpassDescription(ResourceTracker* resourceTracker,
VkSubpassDescription* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform) {
if (toTransform->pInputAttachments) {
for (uint32_t i = 0; i < (uint32_t)toTransform->inputAttachmentCount; ++i) {
transform_fromhost_VkAttachmentReference(
resourceTracker, (VkAttachmentReference*)(toTransform->pInputAttachments + i));
}
}
}
if (toTransform) {
if (toTransform->pColorAttachments) {
for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i) {
transform_fromhost_VkAttachmentReference(
resourceTracker, (VkAttachmentReference*)(toTransform->pColorAttachments + i));
}
}
}
if (toTransform) {
if (toTransform->pResolveAttachments) {
for (uint32_t i = 0; i < (uint32_t)toTransform->colorAttachmentCount; ++i) {
transform_fromhost_VkAttachmentReference(
resourceTracker,
(VkAttachmentReference*)(toTransform->pResolveAttachments + i));
}
}
}
if (toTransform->pDepthStencilAttachment) {
transform_fromhost_VkAttachmentReference(
resourceTracker, (VkAttachmentReference*)(toTransform->pDepthStencilAttachment));
}
}
void transform_tohost_VkSubpassDependency(ResourceTracker* resourceTracker,
VkSubpassDependency* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkSubpassDependency(ResourceTracker* resourceTracker,
VkSubpassDependency* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkRenderPassCreateInfo(ResourceTracker* resourceTracker,
VkRenderPassCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pAttachments) {
for (uint32_t i = 0; i < (uint32_t)toTransform->attachmentCount; ++i) {
transform_tohost_VkAttachmentDescription(
resourceTracker, (VkAttachmentDescription*)(toTransform->pAttachments + i));
}
}
}
if (toTransform) {
if (toTransform->pSubpasses) {
for (uint32_t i = 0; i < (uint32_t)toTransform->subpassCount; ++i) {
transform_tohost_VkSubpassDescription(
resourceTracker, (VkSubpassDescription*)(toTransform->pSubpasses + i));
}
}
}
if (toTransform) {
if (toTransform->pDependencies) {
for (uint32_t i = 0; i < (uint32_t)toTransform->dependencyCount; ++i) {
transform_tohost_VkSubpassDependency(
resourceTracker, (VkSubpassDependency*)(toTransform->pDependencies + i));
}
}
}
}
void transform_fromhost_VkRenderPassCreateInfo(ResourceTracker* resourceTracker,
VkRenderPassCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pAttachments) {
for (uint32_t i = 0; i < (uint32_t)toTransform->attachmentCount; ++i) {
transform_fromhost_VkAttachmentDescription(
resourceTracker, (VkAttachmentDescription*)(toTransform->pAttachments + i));
}
}
}
if (toTransform) {
if (toTransform->pSubpasses) {
for (uint32_t i = 0; i < (uint32_t)toTransform->subpassCount; ++i) {
transform_fromhost_VkSubpassDescription(
resourceTracker, (VkSubpassDescription*)(toTransform->pSubpasses + i));
}
}
}
if (toTransform) {
if (toTransform->pDependencies) {
for (uint32_t i = 0; i < (uint32_t)toTransform->dependencyCount; ++i) {
transform_fromhost_VkSubpassDependency(
resourceTracker, (VkSubpassDependency*)(toTransform->pDependencies + i));
}
}
}
}
void transform_tohost_VkCommandPoolCreateInfo(ResourceTracker* resourceTracker,
VkCommandPoolCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkCommandPoolCreateInfo(ResourceTracker* resourceTracker,
VkCommandPoolCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkCommandBufferAllocateInfo(ResourceTracker* resourceTracker,
VkCommandBufferAllocateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkCommandBufferAllocateInfo(ResourceTracker* resourceTracker,
VkCommandBufferAllocateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkCommandBufferInheritanceInfo(ResourceTracker* resourceTracker,
VkCommandBufferInheritanceInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkCommandBufferInheritanceInfo(
ResourceTracker* resourceTracker, VkCommandBufferInheritanceInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkCommandBufferBeginInfo(ResourceTracker* resourceTracker,
VkCommandBufferBeginInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform->pInheritanceInfo) {
transform_tohost_VkCommandBufferInheritanceInfo(
resourceTracker, (VkCommandBufferInheritanceInfo*)(toTransform->pInheritanceInfo));
}
}
void transform_fromhost_VkCommandBufferBeginInfo(ResourceTracker* resourceTracker,
VkCommandBufferBeginInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform->pInheritanceInfo) {
transform_fromhost_VkCommandBufferInheritanceInfo(
resourceTracker, (VkCommandBufferInheritanceInfo*)(toTransform->pInheritanceInfo));
}
}
void transform_tohost_VkBufferCopy(ResourceTracker* resourceTracker, VkBufferCopy* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkBufferCopy(ResourceTracker* resourceTracker, VkBufferCopy* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkImageSubresourceLayers(ResourceTracker* resourceTracker,
VkImageSubresourceLayers* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkImageSubresourceLayers(ResourceTracker* resourceTracker,
VkImageSubresourceLayers* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkBufferImageCopy(ResourceTracker* resourceTracker,
VkBufferImageCopy* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_tohost_VkImageSubresourceLayers(
resourceTracker, (VkImageSubresourceLayers*)(&toTransform->imageSubresource));
transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->imageOffset));
transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->imageExtent));
}
void transform_fromhost_VkBufferImageCopy(ResourceTracker* resourceTracker,
VkBufferImageCopy* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_fromhost_VkImageSubresourceLayers(
resourceTracker, (VkImageSubresourceLayers*)(&toTransform->imageSubresource));
transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->imageOffset));
transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->imageExtent));
}
void transform_tohost_VkClearColorValue(ResourceTracker* resourceTracker,
VkClearColorValue* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkClearColorValue(ResourceTracker* resourceTracker,
VkClearColorValue* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkClearDepthStencilValue(ResourceTracker* resourceTracker,
VkClearDepthStencilValue* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_fromhost_VkClearDepthStencilValue(ResourceTracker* resourceTracker,
VkClearDepthStencilValue* toTransform) {
(void)resourceTracker;
(void)toTransform;
}
void transform_tohost_VkClearValue(ResourceTracker* resourceTracker, VkClearValue* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_tohost_VkClearColorValue(resourceTracker, (VkClearColorValue*)(&toTransform->color));
transform_tohost_VkClearDepthStencilValue(
resourceTracker, (VkClearDepthStencilValue*)(&toTransform->depthStencil));
}
void transform_fromhost_VkClearValue(ResourceTracker* resourceTracker, VkClearValue* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_fromhost_VkClearColorValue(resourceTracker,
(VkClearColorValue*)(&toTransform->color));
transform_fromhost_VkClearDepthStencilValue(
resourceTracker, (VkClearDepthStencilValue*)(&toTransform->depthStencil));
}
void transform_tohost_VkClearAttachment(ResourceTracker* resourceTracker,
VkClearAttachment* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_tohost_VkClearValue(resourceTracker, (VkClearValue*)(&toTransform->clearValue));
}
void transform_fromhost_VkClearAttachment(ResourceTracker* resourceTracker,
VkClearAttachment* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_fromhost_VkClearValue(resourceTracker, (VkClearValue*)(&toTransform->clearValue));
}
void transform_tohost_VkClearRect(ResourceTracker* resourceTracker, VkClearRect* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_tohost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->rect));
}
void transform_fromhost_VkClearRect(ResourceTracker* resourceTracker, VkClearRect* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_fromhost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->rect));
}
void transform_tohost_VkImageBlit(ResourceTracker* resourceTracker, VkImageBlit* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_tohost_VkImageSubresourceLayers(
resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
for (uint32_t i = 0; i < (uint32_t)2; ++i) {
transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(toTransform->srcOffsets + i));
}
transform_tohost_VkImageSubresourceLayers(
resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
for (uint32_t i = 0; i < (uint32_t)2; ++i) {
transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(toTransform->dstOffsets + i));
}
}
void transform_fromhost_VkImageBlit(ResourceTracker* resourceTracker, VkImageBlit* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_fromhost_VkImageSubresourceLayers(
resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
for (uint32_t i = 0; i < (uint32_t)2; ++i) {
transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(toTransform->srcOffsets + i));
}
transform_fromhost_VkImageSubresourceLayers(
resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
for (uint32_t i = 0; i < (uint32_t)2; ++i) {
transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(toTransform->dstOffsets + i));
}
}
void transform_tohost_VkImageCopy(ResourceTracker* resourceTracker, VkImageCopy* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_tohost_VkImageSubresourceLayers(
resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->srcOffset));
transform_tohost_VkImageSubresourceLayers(
resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->dstOffset));
transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
}
void transform_fromhost_VkImageCopy(ResourceTracker* resourceTracker, VkImageCopy* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_fromhost_VkImageSubresourceLayers(
resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->srcOffset));
transform_fromhost_VkImageSubresourceLayers(
resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->dstOffset));
transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
}
void transform_tohost_VkImageResolve(ResourceTracker* resourceTracker,
VkImageResolve* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_tohost_VkImageSubresourceLayers(
resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->srcOffset));
transform_tohost_VkImageSubresourceLayers(
resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
transform_tohost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->dstOffset));
transform_tohost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
}
void transform_fromhost_VkImageResolve(ResourceTracker* resourceTracker,
VkImageResolve* toTransform) {
(void)resourceTracker;
(void)toTransform;
transform_fromhost_VkImageSubresourceLayers(
resourceTracker, (VkImageSubresourceLayers*)(&toTransform->srcSubresource));
transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->srcOffset));
transform_fromhost_VkImageSubresourceLayers(
resourceTracker, (VkImageSubresourceLayers*)(&toTransform->dstSubresource));
transform_fromhost_VkOffset3D(resourceTracker, (VkOffset3D*)(&toTransform->dstOffset));
transform_fromhost_VkExtent3D(resourceTracker, (VkExtent3D*)(&toTransform->extent));
}
void transform_tohost_VkRenderPassBeginInfo(ResourceTracker* resourceTracker,
VkRenderPassBeginInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
transform_tohost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->renderArea));
if (toTransform) {
if (toTransform->pClearValues) {
for (uint32_t i = 0; i < (uint32_t)toTransform->clearValueCount; ++i) {
transform_tohost_VkClearValue(resourceTracker,
(VkClearValue*)(toTransform->pClearValues + i));
}
}
}
}
void transform_fromhost_VkRenderPassBeginInfo(ResourceTracker* resourceTracker,
VkRenderPassBeginInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
transform_fromhost_VkRect2D(resourceTracker, (VkRect2D*)(&toTransform->renderArea));
if (toTransform) {
if (toTransform->pClearValues) {
for (uint32_t i = 0; i < (uint32_t)toTransform->clearValueCount; ++i) {
transform_fromhost_VkClearValue(resourceTracker,
(VkClearValue*)(toTransform->pClearValues + i));
}
}
}
}
#endif
#ifdef VK_VERSION_1_1
void transform_tohost_VkPhysicalDeviceSubgroupProperties(
ResourceTracker* resourceTracker, VkPhysicalDeviceSubgroupProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkPhysicalDeviceSubgroupProperties(
ResourceTracker* resourceTracker, VkPhysicalDeviceSubgroupProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkBindBufferMemoryInfo(ResourceTracker* resourceTracker,
VkBindBufferMemoryInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
resourceTracker->deviceMemoryTransform_tohost(
(VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1,
(VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkBindBufferMemoryInfo(ResourceTracker* resourceTracker,
VkBindBufferMemoryInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
resourceTracker->deviceMemoryTransform_fromhost(
(VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1,
(VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkBindImageMemoryInfo(ResourceTracker* resourceTracker,
VkBindImageMemoryInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
resourceTracker->deviceMemoryTransform_tohost(
(VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1,
(VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkBindImageMemoryInfo(ResourceTracker* resourceTracker,
VkBindImageMemoryInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
resourceTracker->deviceMemoryTransform_fromhost(
(VkDeviceMemory*)&toTransform->memory, 1, (VkDeviceSize*)&toTransform->memoryOffset, 1,
(VkDeviceSize*)nullptr, 0, (uint32_t*)nullptr, 0, (uint32_t*)nullptr, 0);
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkPhysicalDevice16BitStorageFeatures(
ResourceTracker* resourceTracker, VkPhysicalDevice16BitStorageFeatures* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkPhysicalDevice16BitStorageFeatures(
ResourceTracker* resourceTracker, VkPhysicalDevice16BitStorageFeatures* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkMemoryDedicatedRequirements(ResourceTracker* resourceTracker,
VkMemoryDedicatedRequirements* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkMemoryDedicatedRequirements(ResourceTracker* resourceTracker,
VkMemoryDedicatedRequirements* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkMemoryDedicatedAllocateInfo(ResourceTracker* resourceTracker,
VkMemoryDedicatedAllocateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkMemoryDedicatedAllocateInfo(ResourceTracker* resourceTracker,
VkMemoryDedicatedAllocateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkMemoryAllocateFlagsInfo(ResourceTracker* resourceTracker,
VkMemoryAllocateFlagsInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkMemoryAllocateFlagsInfo(ResourceTracker* resourceTracker,
VkMemoryAllocateFlagsInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkDeviceGroupRenderPassBeginInfo(
ResourceTracker* resourceTracker, VkDeviceGroupRenderPassBeginInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pDeviceRenderAreas) {
for (uint32_t i = 0; i < (uint32_t)toTransform->deviceRenderAreaCount; ++i) {
transform_tohost_VkRect2D(resourceTracker,
(VkRect2D*)(toTransform->pDeviceRenderAreas + i));
}
}
}
}
void transform_fromhost_VkDeviceGroupRenderPassBeginInfo(
ResourceTracker* resourceTracker, VkDeviceGroupRenderPassBeginInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pDeviceRenderAreas) {
for (uint32_t i = 0; i < (uint32_t)toTransform->deviceRenderAreaCount; ++i) {
transform_fromhost_VkRect2D(resourceTracker,
(VkRect2D*)(toTransform->pDeviceRenderAreas + i));
}
}
}
}
void transform_tohost_VkDeviceGroupCommandBufferBeginInfo(
ResourceTracker* resourceTracker, VkDeviceGroupCommandBufferBeginInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkDeviceGroupCommandBufferBeginInfo(
ResourceTracker* resourceTracker, VkDeviceGroupCommandBufferBeginInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkDeviceGroupSubmitInfo(ResourceTracker* resourceTracker,
VkDeviceGroupSubmitInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkDeviceGroupSubmitInfo(ResourceTracker* resourceTracker,
VkDeviceGroupSubmitInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkDeviceGroupBindSparseInfo(ResourceTracker* resourceTracker,
VkDeviceGroupBindSparseInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkDeviceGroupBindSparseInfo(ResourceTracker* resourceTracker,
VkDeviceGroupBindSparseInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkBindBufferMemoryDeviceGroupInfo(
ResourceTracker* resourceTracker, VkBindBufferMemoryDeviceGroupInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkBindBufferMemoryDeviceGroupInfo(
ResourceTracker* resourceTracker, VkBindBufferMemoryDeviceGroupInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkBindImageMemoryDeviceGroupInfo(
ResourceTracker* resourceTracker, VkBindImageMemoryDeviceGroupInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pSplitInstanceBindRegions) {
for (uint32_t i = 0; i < (uint32_t)toTransform->splitInstanceBindRegionCount; ++i) {
transform_tohost_VkRect2D(resourceTracker,
(VkRect2D*)(toTransform->pSplitInstanceBindRegions + i));
}
}
}
}
void transform_fromhost_VkBindImageMemoryDeviceGroupInfo(
ResourceTracker* resourceTracker, VkBindImageMemoryDeviceGroupInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
if (toTransform) {
if (toTransform->pSplitInstanceBindRegions) {
for (uint32_t i = 0; i < (uint32_t)toTransform->splitInstanceBindRegionCount; ++i) {
transform_fromhost_VkRect2D(
resourceTracker, (VkRect2D*)(toTransform->pSplitInstanceBindRegions + i));
}
}
}
}
void transform_tohost_VkPhysicalDeviceGroupProperties(
ResourceTracker* resourceTracker, VkPhysicalDeviceGroupProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkPhysicalDeviceGroupProperties(
ResourceTracker* resourceTracker, VkPhysicalDeviceGroupProperties* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkDeviceGroupDeviceCreateInfo(ResourceTracker* resourceTracker,
VkDeviceGroupDeviceCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkDeviceGroupDeviceCreateInfo(ResourceTracker* resourceTracker,
VkDeviceGroupDeviceCreateInfo* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkBufferMemoryRequirementsInfo2(
ResourceTracker* resourceTracker, VkBufferMemoryRequirementsInfo2* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkBufferMemoryRequirementsInfo2(
ResourceTracker* resourceTracker, VkBufferMemoryRequirementsInfo2* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkImageMemoryRequirementsInfo2(ResourceTracker* resourceTracker,
VkImageMemoryRequirementsInfo2* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkImageMemoryRequirementsInfo2(
ResourceTracker* resourceTracker, VkImageMemoryRequirementsInfo2* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkImageSparseMemoryRequirementsInfo2(
ResourceTracker* resourceTracker, VkImageSparseMemoryRequirementsInfo2* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_fromhost_VkImageSparseMemoryRequirementsInfo2(
ResourceTracker* resourceTracker, VkImageSparseMemoryRequirementsInfo2* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
}
void transform_tohost_VkMemoryRequirements2(ResourceTracker* resourceTracker,
VkMemoryRequirements2* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_tohost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
transform_tohost_VkMemoryRequirements(
resourceTracker, (VkMemoryRequirements*)(&toTransform->memoryRequirements));
}
void transform_fromhost_VkMemoryRequirements2(ResourceTracker* resourceTracker,
VkMemoryRequirements2* toTransform) {
(void)resourceTracker;
(void)toTransform;
if (toTransform->pNext) {
transform_fromhost_extension_struct(resourceTracker, (void*)(toTransform->pNext));
}
transform_fromhost_VkMemoryRequirements(
resourceTracker, (VkMemoryRequirements*)(&toTransform->memoryRequirements));
}
void transform_tohost_VkSparseImageMemoryRequirements2(
ResourceTracker* resourceTracker, VkSparseImageMemoryRequirements2* toTransform) {
(void)resourceTracker;