[vulkan] Fix warnings, add Werror
bug: 111137294
bug: 118884723
Change-Id: I4267a9054681d2d97573c5406e58bf6377a4b41d
diff --git a/system/vulkan_enc/Android.mk b/system/vulkan_enc/Android.mk
index 88c0e45..2066db9 100644
--- a/system/vulkan_enc/Android.mk
+++ b/system/vulkan_enc/Android.mk
@@ -35,6 +35,7 @@
LOCAL_CFLAGS += \
-DLOG_TAG=\"goldfish_vulkan\" \
-Wno-missing-field-initializers \
+ -Werror \
-fstrict-aliasing \
-DVK_USE_PLATFORM_ANDROID_KHR \
-DVK_NO_PROTOTYPES \
diff --git a/system/vulkan_enc/CMakeLists.txt b/system/vulkan_enc/CMakeLists.txt
index 8b6564d..9a998e3 100644
--- a/system/vulkan_enc/CMakeLists.txt
+++ b/system/vulkan_enc/CMakeLists.txt
@@ -1,10 +1,10 @@
# This is an autogenerated file! Do not edit!
# instead run make from .../device/generic/goldfish-opengl
# which will re-generate this file.
-android_validate_sha256("${GOLDFISH_DEVICE_ROOT}/system/vulkan_enc/Android.mk" "3997f3df1efd292a9d4a763d3d028273153761e99f0c25683ab5af16a54f4a61")
+android_validate_sha256("${GOLDFISH_DEVICE_ROOT}/system/vulkan_enc/Android.mk" "fc19536a50e6b180df60d1a9d7321bd46da42efb746298a85372bf046a8e7227")
set(vulkan_enc_src Resources.cpp VulkanStream.cpp ResourceTracker.cpp VkEncoder.cpp goldfish_vk_marshaling_guest.cpp goldfish_vk_deepcopy_guest.cpp goldfish_vk_handlemap_guest.cpp)
android_add_shared_library(vulkan_enc)
target_include_directories(vulkan_enc PRIVATE ${GOLDFISH_DEVICE_ROOT}/android-emu ${GOLDFISH_DEVICE_ROOT}/shared/OpenglCodecCommon ${GOLDFISH_DEVICE_ROOT}/system/vulkan_enc ${GOLDFISH_DEVICE_ROOT}/./host/include/libOpenglRender ${GOLDFISH_DEVICE_ROOT}/./system/include ${GOLDFISH_DEVICE_ROOT}/./../../../external/qemu/android/android-emugl/guest ${GOLDFISH_DEVICE_ROOT}/./../../../external/qemu/android/android-emugl/host/include ${GOLDFISH_DEVICE_ROOT}/./../../../external/qemu/android/android-emugl/host/include/vulkan)
target_compile_definitions(vulkan_enc PRIVATE "-DWITH_GLES2" "-DPLATFORM_SDK_VERSION=29" "-DGOLDFISH_HIDL_GRALLOC" "-DEMULATOR_OPENGL_POST_O=1" "-DHOST_BUILD" "-DANDROID" "-DGL_GLEXT_PROTOTYPES" "-DPAGE_SIZE=4096" "-DGOLDFISH_VULKAN" "-DLOG_TAG=\"goldfish_vulkan\"" "-DVK_USE_PLATFORM_ANDROID_KHR" "-DVK_NO_PROTOTYPES")
-target_compile_options(vulkan_enc PRIVATE "-fvisibility=default" "-Wno-missing-field-initializers" "-fstrict-aliasing")
+target_compile_options(vulkan_enc PRIVATE "-fvisibility=default" "-Wno-missing-field-initializers" "-Werror" "-fstrict-aliasing")
target_link_libraries(vulkan_enc PRIVATE cutils utils log OpenglCodecCommon_host android-emu-shared)
\ No newline at end of file
diff --git a/system/vulkan_enc/VkEncoder.cpp b/system/vulkan_enc/VkEncoder.cpp
index b2d8946..eb21c25 100644
--- a/system/vulkan_enc/VkEncoder.cpp
+++ b/system/vulkan_enc/VkEncoder.cpp
@@ -14650,6 +14650,7 @@
uint32_t local_objectCount;
local_objectCount = objectCount;
VkObjectTableEntryNVX** local_ppObjectTableEntries;
+ (void)ppObjectTableEntries;
uint32_t* local_pObjectIndices;
local_pObjectIndices = nullptr;
if (pObjectIndices)
@@ -14661,6 +14662,7 @@
countingStream->write((VkDevice*)&local_device, sizeof(VkDevice));
countingStream->write((VkObjectTableNVX*)&local_objectTable, sizeof(VkObjectTableNVX));
countingStream->write((uint32_t*)&local_objectCount, sizeof(uint32_t));
+ (void)local_ppObjectTableEntries;
countingStream->write((uint32_t*)local_pObjectIndices, ((objectCount)) * sizeof(uint32_t));
}
uint32_t packetSize_vkRegisterObjectsNVX = 4 + 4 + (uint32_t)countingStream->bytesWritten();
@@ -14671,6 +14673,7 @@
stream->write((VkDevice*)&local_device, sizeof(VkDevice));
stream->write((VkObjectTableNVX*)&local_objectTable, sizeof(VkObjectTableNVX));
stream->write((uint32_t*)&local_objectCount, sizeof(uint32_t));
+ (void)local_ppObjectTableEntries;
stream->write((uint32_t*)local_pObjectIndices, ((objectCount)) * sizeof(uint32_t));
pool->freeAll();
VkResult vkRegisterObjectsNVX_VkResult_return = (VkResult)0;
diff --git a/system/vulkan_enc/VulkanStream.cpp b/system/vulkan_enc/VulkanStream.cpp
index 14c4cca..44764d1 100644
--- a/system/vulkan_enc/VulkanStream.cpp
+++ b/system/vulkan_enc/VulkanStream.cpp
@@ -148,12 +148,12 @@
VulkanCountingStream::VulkanCountingStream() : VulkanStream(nullptr) { }
VulkanCountingStream::~VulkanCountingStream() = default;
-ssize_t VulkanCountingStream::read(void *buffer, size_t size) {
+ssize_t VulkanCountingStream::read(void*, size_t size) {
m_read += size;
return size;
}
-ssize_t VulkanCountingStream::write(const void *buffer, size_t size) {
+ssize_t VulkanCountingStream::write(const void*, size_t size) {
m_written += size;
return size;
}
diff --git a/system/vulkan_enc/goldfish_vk_deepcopy_guest.cpp b/system/vulkan_enc/goldfish_vk_deepcopy_guest.cpp
index a5b6639..4a2beb3 100644
--- a/system/vulkan_enc/goldfish_vk_deepcopy_guest.cpp
+++ b/system/vulkan_enc/goldfish_vk_deepcopy_guest.cpp
@@ -34,6 +34,7 @@
const VkApplicationInfo* from,
VkApplicationInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pApplicationName = nullptr;
@@ -53,6 +54,7 @@
const VkInstanceCreateInfo* from,
VkInstanceCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pApplicationInfo = nullptr;
@@ -78,6 +80,7 @@
const VkAllocationCallbacks* from,
VkAllocationCallbacks* to)
{
+ (void)pool;
*to = *from;
to->pUserData = nullptr;
if (from->pUserData)
@@ -91,6 +94,7 @@
const VkPhysicalDeviceFeatures* from,
VkPhysicalDeviceFeatures* to)
{
+ (void)pool;
*to = *from;
}
@@ -99,6 +103,7 @@
const VkFormatProperties* from,
VkFormatProperties* to)
{
+ (void)pool;
*to = *from;
}
@@ -107,6 +112,7 @@
const VkExtent3D* from,
VkExtent3D* to)
{
+ (void)pool;
*to = *from;
}
@@ -115,6 +121,7 @@
const VkImageFormatProperties* from,
VkImageFormatProperties* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkExtent3D(pool, &from->maxExtent, (VkExtent3D*)(&to->maxExtent));
}
@@ -124,6 +131,7 @@
const VkPhysicalDeviceLimits* from,
VkPhysicalDeviceLimits* to)
{
+ (void)pool;
*to = *from;
memcpy(to->maxComputeWorkGroupCount, from->maxComputeWorkGroupCount, 3 * sizeof(uint32_t));
memcpy(to->maxComputeWorkGroupSize, from->maxComputeWorkGroupSize, 3 * sizeof(uint32_t));
@@ -138,6 +146,7 @@
const VkPhysicalDeviceSparseProperties* from,
VkPhysicalDeviceSparseProperties* to)
{
+ (void)pool;
*to = *from;
}
@@ -146,6 +155,7 @@
const VkPhysicalDeviceProperties* from,
VkPhysicalDeviceProperties* to)
{
+ (void)pool;
*to = *from;
memcpy(to->deviceName, from->deviceName, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE * sizeof(char));
memcpy(to->pipelineCacheUUID, from->pipelineCacheUUID, VK_UUID_SIZE * sizeof(uint8_t));
@@ -158,6 +168,7 @@
const VkQueueFamilyProperties* from,
VkQueueFamilyProperties* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkExtent3D(pool, &from->minImageTransferGranularity, (VkExtent3D*)(&to->minImageTransferGranularity));
}
@@ -167,6 +178,7 @@
const VkMemoryType* from,
VkMemoryType* to)
{
+ (void)pool;
*to = *from;
}
@@ -175,6 +187,7 @@
const VkMemoryHeap* from,
VkMemoryHeap* to)
{
+ (void)pool;
*to = *from;
}
@@ -183,6 +196,7 @@
const VkPhysicalDeviceMemoryProperties* from,
VkPhysicalDeviceMemoryProperties* to)
{
+ (void)pool;
*to = *from;
for (uint32_t i = 0; i < (uint32_t)VK_MAX_MEMORY_TYPES; ++i)
{
@@ -199,6 +213,7 @@
const VkDeviceQueueCreateInfo* from,
VkDeviceQueueCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pQueuePriorities = nullptr;
@@ -213,6 +228,7 @@
const VkDeviceCreateInfo* from,
VkDeviceCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pQueueCreateInfos = nullptr;
@@ -248,6 +264,7 @@
const VkExtensionProperties* from,
VkExtensionProperties* to)
{
+ (void)pool;
*to = *from;
memcpy(to->extensionName, from->extensionName, VK_MAX_EXTENSION_NAME_SIZE * sizeof(char));
}
@@ -257,6 +274,7 @@
const VkLayerProperties* from,
VkLayerProperties* to)
{
+ (void)pool;
*to = *from;
memcpy(to->layerName, from->layerName, VK_MAX_EXTENSION_NAME_SIZE * sizeof(char));
memcpy(to->description, from->description, VK_MAX_DESCRIPTION_SIZE * sizeof(char));
@@ -267,6 +285,7 @@
const VkSubmitInfo* from,
VkSubmitInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pWaitSemaphores = nullptr;
@@ -296,6 +315,7 @@
const VkMemoryAllocateInfo* from,
VkMemoryAllocateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -305,6 +325,7 @@
const VkMappedMemoryRange* from,
VkMappedMemoryRange* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -314,6 +335,7 @@
const VkMemoryRequirements* from,
VkMemoryRequirements* to)
{
+ (void)pool;
*to = *from;
}
@@ -322,6 +344,7 @@
const VkSparseImageFormatProperties* from,
VkSparseImageFormatProperties* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkExtent3D(pool, &from->imageGranularity, (VkExtent3D*)(&to->imageGranularity));
}
@@ -331,6 +354,7 @@
const VkSparseImageMemoryRequirements* from,
VkSparseImageMemoryRequirements* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkSparseImageFormatProperties(pool, &from->formatProperties, (VkSparseImageFormatProperties*)(&to->formatProperties));
}
@@ -340,6 +364,7 @@
const VkSparseMemoryBind* from,
VkSparseMemoryBind* to)
{
+ (void)pool;
*to = *from;
}
@@ -348,6 +373,7 @@
const VkSparseBufferMemoryBindInfo* from,
VkSparseBufferMemoryBindInfo* to)
{
+ (void)pool;
*to = *from;
to->pBinds = nullptr;
if (from->pBinds)
@@ -366,6 +392,7 @@
const VkSparseImageOpaqueMemoryBindInfo* from,
VkSparseImageOpaqueMemoryBindInfo* to)
{
+ (void)pool;
*to = *from;
to->pBinds = nullptr;
if (from->pBinds)
@@ -384,6 +411,7 @@
const VkImageSubresource* from,
VkImageSubresource* to)
{
+ (void)pool;
*to = *from;
}
@@ -392,6 +420,7 @@
const VkOffset3D* from,
VkOffset3D* to)
{
+ (void)pool;
*to = *from;
}
@@ -400,6 +429,7 @@
const VkSparseImageMemoryBind* from,
VkSparseImageMemoryBind* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkImageSubresource(pool, &from->subresource, (VkImageSubresource*)(&to->subresource));
deepcopy_VkOffset3D(pool, &from->offset, (VkOffset3D*)(&to->offset));
@@ -411,6 +441,7 @@
const VkSparseImageMemoryBindInfo* from,
VkSparseImageMemoryBindInfo* to)
{
+ (void)pool;
*to = *from;
to->pBinds = nullptr;
if (from->pBinds)
@@ -429,6 +460,7 @@
const VkBindSparseInfo* from,
VkBindSparseInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pWaitSemaphores = nullptr;
@@ -478,6 +510,7 @@
const VkFenceCreateInfo* from,
VkFenceCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -487,6 +520,7 @@
const VkSemaphoreCreateInfo* from,
VkSemaphoreCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -496,6 +530,7 @@
const VkEventCreateInfo* from,
VkEventCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -505,6 +540,7 @@
const VkQueryPoolCreateInfo* from,
VkQueryPoolCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -514,6 +550,7 @@
const VkBufferCreateInfo* from,
VkBufferCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pQueueFamilyIndices = nullptr;
@@ -528,6 +565,7 @@
const VkBufferViewCreateInfo* from,
VkBufferViewCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -537,6 +575,7 @@
const VkImageCreateInfo* from,
VkImageCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkExtent3D(pool, &from->extent, (VkExtent3D*)(&to->extent));
@@ -552,6 +591,7 @@
const VkSubresourceLayout* from,
VkSubresourceLayout* to)
{
+ (void)pool;
*to = *from;
}
@@ -560,6 +600,7 @@
const VkComponentMapping* from,
VkComponentMapping* to)
{
+ (void)pool;
*to = *from;
}
@@ -568,6 +609,7 @@
const VkImageSubresourceRange* from,
VkImageSubresourceRange* to)
{
+ (void)pool;
*to = *from;
}
@@ -576,6 +618,7 @@
const VkImageViewCreateInfo* from,
VkImageViewCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkComponentMapping(pool, &from->components, (VkComponentMapping*)(&to->components));
@@ -587,6 +630,7 @@
const VkShaderModuleCreateInfo* from,
VkShaderModuleCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pCode = nullptr;
@@ -601,6 +645,7 @@
const VkPipelineCacheCreateInfo* from,
VkPipelineCacheCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pInitialData = nullptr;
@@ -615,6 +660,7 @@
const VkSpecializationMapEntry* from,
VkSpecializationMapEntry* to)
{
+ (void)pool;
*to = *from;
}
@@ -623,6 +669,7 @@
const VkSpecializationInfo* from,
VkSpecializationInfo* to)
{
+ (void)pool;
*to = *from;
to->pMapEntries = nullptr;
if (from->pMapEntries)
@@ -646,6 +693,7 @@
const VkPipelineShaderStageCreateInfo* from,
VkPipelineShaderStageCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pName = nullptr;
@@ -666,6 +714,7 @@
const VkVertexInputBindingDescription* from,
VkVertexInputBindingDescription* to)
{
+ (void)pool;
*to = *from;
}
@@ -674,6 +723,7 @@
const VkVertexInputAttributeDescription* from,
VkVertexInputAttributeDescription* to)
{
+ (void)pool;
*to = *from;
}
@@ -682,6 +732,7 @@
const VkPipelineVertexInputStateCreateInfo* from,
VkPipelineVertexInputStateCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pVertexBindingDescriptions = nullptr;
@@ -711,6 +762,7 @@
const VkPipelineInputAssemblyStateCreateInfo* from,
VkPipelineInputAssemblyStateCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -720,6 +772,7 @@
const VkPipelineTessellationStateCreateInfo* from,
VkPipelineTessellationStateCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -729,6 +782,7 @@
const VkViewport* from,
VkViewport* to)
{
+ (void)pool;
*to = *from;
}
@@ -737,6 +791,7 @@
const VkOffset2D* from,
VkOffset2D* to)
{
+ (void)pool;
*to = *from;
}
@@ -745,6 +800,7 @@
const VkExtent2D* from,
VkExtent2D* to)
{
+ (void)pool;
*to = *from;
}
@@ -753,6 +809,7 @@
const VkRect2D* from,
VkRect2D* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkOffset2D(pool, &from->offset, (VkOffset2D*)(&to->offset));
deepcopy_VkExtent2D(pool, &from->extent, (VkExtent2D*)(&to->extent));
@@ -763,6 +820,7 @@
const VkPipelineViewportStateCreateInfo* from,
VkPipelineViewportStateCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pViewports = nullptr;
@@ -792,6 +850,7 @@
const VkPipelineRasterizationStateCreateInfo* from,
VkPipelineRasterizationStateCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -801,6 +860,7 @@
const VkPipelineMultisampleStateCreateInfo* from,
VkPipelineMultisampleStateCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pSampleMask = nullptr;
@@ -815,6 +875,7 @@
const VkStencilOpState* from,
VkStencilOpState* to)
{
+ (void)pool;
*to = *from;
}
@@ -823,6 +884,7 @@
const VkPipelineDepthStencilStateCreateInfo* from,
VkPipelineDepthStencilStateCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkStencilOpState(pool, &from->front, (VkStencilOpState*)(&to->front));
@@ -834,6 +896,7 @@
const VkPipelineColorBlendAttachmentState* from,
VkPipelineColorBlendAttachmentState* to)
{
+ (void)pool;
*to = *from;
}
@@ -842,6 +905,7 @@
const VkPipelineColorBlendStateCreateInfo* from,
VkPipelineColorBlendStateCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pAttachments = nullptr;
@@ -862,6 +926,7 @@
const VkPipelineDynamicStateCreateInfo* from,
VkPipelineDynamicStateCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pDynamicStates = nullptr;
@@ -876,6 +941,7 @@
const VkGraphicsPipelineCreateInfo* from,
VkGraphicsPipelineCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pStages = nullptr;
@@ -949,6 +1015,7 @@
const VkComputePipelineCreateInfo* from,
VkComputePipelineCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkPipelineShaderStageCreateInfo(pool, &from->stage, (VkPipelineShaderStageCreateInfo*)(&to->stage));
@@ -959,6 +1026,7 @@
const VkPushConstantRange* from,
VkPushConstantRange* to)
{
+ (void)pool;
*to = *from;
}
@@ -967,6 +1035,7 @@
const VkPipelineLayoutCreateInfo* from,
VkPipelineLayoutCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pSetLayouts = nullptr;
@@ -991,6 +1060,7 @@
const VkSamplerCreateInfo* from,
VkSamplerCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1000,6 +1070,7 @@
const VkDescriptorSetLayoutBinding* from,
VkDescriptorSetLayoutBinding* to)
{
+ (void)pool;
*to = *from;
to->pImmutableSamplers = nullptr;
if (from->pImmutableSamplers)
@@ -1013,6 +1084,7 @@
const VkDescriptorSetLayoutCreateInfo* from,
VkDescriptorSetLayoutCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pBindings = nullptr;
@@ -1032,6 +1104,7 @@
const VkDescriptorPoolSize* from,
VkDescriptorPoolSize* to)
{
+ (void)pool;
*to = *from;
}
@@ -1040,6 +1113,7 @@
const VkDescriptorPoolCreateInfo* from,
VkDescriptorPoolCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pPoolSizes = nullptr;
@@ -1059,6 +1133,7 @@
const VkDescriptorSetAllocateInfo* from,
VkDescriptorSetAllocateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pSetLayouts = nullptr;
@@ -1073,6 +1148,7 @@
const VkDescriptorImageInfo* from,
VkDescriptorImageInfo* to)
{
+ (void)pool;
*to = *from;
}
@@ -1081,6 +1157,7 @@
const VkDescriptorBufferInfo* from,
VkDescriptorBufferInfo* to)
{
+ (void)pool;
*to = *from;
}
@@ -1089,6 +1166,7 @@
const VkWriteDescriptorSet* from,
VkWriteDescriptorSet* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pImageInfo = nullptr;
@@ -1123,6 +1201,7 @@
const VkCopyDescriptorSet* from,
VkCopyDescriptorSet* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1132,6 +1211,7 @@
const VkFramebufferCreateInfo* from,
VkFramebufferCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pAttachments = nullptr;
@@ -1146,6 +1226,7 @@
const VkAttachmentDescription* from,
VkAttachmentDescription* to)
{
+ (void)pool;
*to = *from;
}
@@ -1154,6 +1235,7 @@
const VkAttachmentReference* from,
VkAttachmentReference* to)
{
+ (void)pool;
*to = *from;
}
@@ -1162,6 +1244,7 @@
const VkSubpassDescription* from,
VkSubpassDescription* to)
{
+ (void)pool;
*to = *from;
to->pInputAttachments = nullptr;
if (from->pInputAttachments)
@@ -1211,6 +1294,7 @@
const VkSubpassDependency* from,
VkSubpassDependency* to)
{
+ (void)pool;
*to = *from;
}
@@ -1219,6 +1303,7 @@
const VkRenderPassCreateInfo* from,
VkRenderPassCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pAttachments = nullptr;
@@ -1258,6 +1343,7 @@
const VkCommandPoolCreateInfo* from,
VkCommandPoolCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1267,6 +1353,7 @@
const VkCommandBufferAllocateInfo* from,
VkCommandBufferAllocateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1276,6 +1363,7 @@
const VkCommandBufferInheritanceInfo* from,
VkCommandBufferInheritanceInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1285,6 +1373,7 @@
const VkCommandBufferBeginInfo* from,
VkCommandBufferBeginInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pInheritanceInfo = nullptr;
@@ -1300,6 +1389,7 @@
const VkBufferCopy* from,
VkBufferCopy* to)
{
+ (void)pool;
*to = *from;
}
@@ -1308,6 +1398,7 @@
const VkImageSubresourceLayers* from,
VkImageSubresourceLayers* to)
{
+ (void)pool;
*to = *from;
}
@@ -1316,6 +1407,7 @@
const VkImageCopy* from,
VkImageCopy* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkImageSubresourceLayers(pool, &from->srcSubresource, (VkImageSubresourceLayers*)(&to->srcSubresource));
deepcopy_VkOffset3D(pool, &from->srcOffset, (VkOffset3D*)(&to->srcOffset));
@@ -1329,6 +1421,7 @@
const VkImageBlit* from,
VkImageBlit* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkImageSubresourceLayers(pool, &from->srcSubresource, (VkImageSubresourceLayers*)(&to->srcSubresource));
for (uint32_t i = 0; i < (uint32_t)2; ++i)
@@ -1347,6 +1440,7 @@
const VkBufferImageCopy* from,
VkBufferImageCopy* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkImageSubresourceLayers(pool, &from->imageSubresource, (VkImageSubresourceLayers*)(&to->imageSubresource));
deepcopy_VkOffset3D(pool, &from->imageOffset, (VkOffset3D*)(&to->imageOffset));
@@ -1358,6 +1452,7 @@
const VkClearColorValue* from,
VkClearColorValue* to)
{
+ (void)pool;
*to = *from;
memcpy(to->float32, from->float32, 4 * sizeof(float));
memcpy(to->int32, from->int32, 4 * sizeof(int32_t));
@@ -1369,6 +1464,7 @@
const VkClearDepthStencilValue* from,
VkClearDepthStencilValue* to)
{
+ (void)pool;
*to = *from;
}
@@ -1377,6 +1473,7 @@
const VkClearValue* from,
VkClearValue* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkClearColorValue(pool, &from->color, (VkClearColorValue*)(&to->color));
deepcopy_VkClearDepthStencilValue(pool, &from->depthStencil, (VkClearDepthStencilValue*)(&to->depthStencil));
@@ -1387,6 +1484,7 @@
const VkClearAttachment* from,
VkClearAttachment* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkClearValue(pool, &from->clearValue, (VkClearValue*)(&to->clearValue));
}
@@ -1396,6 +1494,7 @@
const VkClearRect* from,
VkClearRect* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkRect2D(pool, &from->rect, (VkRect2D*)(&to->rect));
}
@@ -1405,6 +1504,7 @@
const VkImageResolve* from,
VkImageResolve* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkImageSubresourceLayers(pool, &from->srcSubresource, (VkImageSubresourceLayers*)(&to->srcSubresource));
deepcopy_VkOffset3D(pool, &from->srcOffset, (VkOffset3D*)(&to->srcOffset));
@@ -1418,6 +1518,7 @@
const VkMemoryBarrier* from,
VkMemoryBarrier* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1427,6 +1528,7 @@
const VkBufferMemoryBarrier* from,
VkBufferMemoryBarrier* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1436,6 +1538,7 @@
const VkImageMemoryBarrier* from,
VkImageMemoryBarrier* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkImageSubresourceRange(pool, &from->subresourceRange, (VkImageSubresourceRange*)(&to->subresourceRange));
@@ -1446,6 +1549,7 @@
const VkRenderPassBeginInfo* from,
VkRenderPassBeginInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkRect2D(pool, &from->renderArea, (VkRect2D*)(&to->renderArea));
@@ -1466,6 +1570,7 @@
const VkDispatchIndirectCommand* from,
VkDispatchIndirectCommand* to)
{
+ (void)pool;
*to = *from;
}
@@ -1474,6 +1579,7 @@
const VkDrawIndexedIndirectCommand* from,
VkDrawIndexedIndirectCommand* to)
{
+ (void)pool;
*to = *from;
}
@@ -1482,6 +1588,7 @@
const VkDrawIndirectCommand* from,
VkDrawIndirectCommand* to)
{
+ (void)pool;
*to = *from;
}
@@ -1490,6 +1597,7 @@
const VkBaseOutStructure* from,
VkBaseOutStructure* to)
{
+ (void)pool;
*to = *from;
// TODO: Unsupported : VkBaseOutStructure* pNext
}
@@ -1499,6 +1607,7 @@
const VkBaseInStructure* from,
VkBaseInStructure* to)
{
+ (void)pool;
*to = *from;
// TODO: Unsupported : const VkBaseInStructure* pNext
}
@@ -1510,6 +1619,7 @@
const VkPhysicalDeviceSubgroupProperties* from,
VkPhysicalDeviceSubgroupProperties* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1519,6 +1629,7 @@
const VkBindBufferMemoryInfo* from,
VkBindBufferMemoryInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1528,6 +1639,7 @@
const VkBindImageMemoryInfo* from,
VkBindImageMemoryInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1537,6 +1649,7 @@
const VkPhysicalDevice16BitStorageFeatures* from,
VkPhysicalDevice16BitStorageFeatures* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1546,6 +1659,7 @@
const VkMemoryDedicatedRequirements* from,
VkMemoryDedicatedRequirements* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1555,6 +1669,7 @@
const VkMemoryDedicatedAllocateInfo* from,
VkMemoryDedicatedAllocateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1564,6 +1679,7 @@
const VkMemoryAllocateFlagsInfo* from,
VkMemoryAllocateFlagsInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1573,6 +1689,7 @@
const VkDeviceGroupRenderPassBeginInfo* from,
VkDeviceGroupRenderPassBeginInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pDeviceRenderAreas = nullptr;
@@ -1592,6 +1709,7 @@
const VkDeviceGroupCommandBufferBeginInfo* from,
VkDeviceGroupCommandBufferBeginInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1601,6 +1719,7 @@
const VkDeviceGroupSubmitInfo* from,
VkDeviceGroupSubmitInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pWaitSemaphoreDeviceIndices = nullptr;
@@ -1625,6 +1744,7 @@
const VkDeviceGroupBindSparseInfo* from,
VkDeviceGroupBindSparseInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1634,6 +1754,7 @@
const VkBindBufferMemoryDeviceGroupInfo* from,
VkBindBufferMemoryDeviceGroupInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pDeviceIndices = nullptr;
@@ -1648,6 +1769,7 @@
const VkBindImageMemoryDeviceGroupInfo* from,
VkBindImageMemoryDeviceGroupInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pDeviceIndices = nullptr;
@@ -1672,6 +1794,7 @@
const VkPhysicalDeviceGroupProperties* from,
VkPhysicalDeviceGroupProperties* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
memcpy(to->physicalDevices, from->physicalDevices, VK_MAX_DEVICE_GROUP_SIZE * sizeof(VkPhysicalDevice));
@@ -1682,6 +1805,7 @@
const VkDeviceGroupDeviceCreateInfo* from,
VkDeviceGroupDeviceCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pPhysicalDevices = nullptr;
@@ -1696,6 +1820,7 @@
const VkBufferMemoryRequirementsInfo2* from,
VkBufferMemoryRequirementsInfo2* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1705,6 +1830,7 @@
const VkImageMemoryRequirementsInfo2* from,
VkImageMemoryRequirementsInfo2* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1714,6 +1840,7 @@
const VkImageSparseMemoryRequirementsInfo2* from,
VkImageSparseMemoryRequirementsInfo2* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1723,6 +1850,7 @@
const VkMemoryRequirements2* from,
VkMemoryRequirements2* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkMemoryRequirements(pool, &from->memoryRequirements, (VkMemoryRequirements*)(&to->memoryRequirements));
@@ -1733,6 +1861,7 @@
const VkSparseImageMemoryRequirements2* from,
VkSparseImageMemoryRequirements2* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkSparseImageMemoryRequirements(pool, &from->memoryRequirements, (VkSparseImageMemoryRequirements*)(&to->memoryRequirements));
@@ -1743,6 +1872,7 @@
const VkPhysicalDeviceFeatures2* from,
VkPhysicalDeviceFeatures2* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkPhysicalDeviceFeatures(pool, &from->features, (VkPhysicalDeviceFeatures*)(&to->features));
@@ -1753,6 +1883,7 @@
const VkPhysicalDeviceProperties2* from,
VkPhysicalDeviceProperties2* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkPhysicalDeviceProperties(pool, &from->properties, (VkPhysicalDeviceProperties*)(&to->properties));
@@ -1763,6 +1894,7 @@
const VkFormatProperties2* from,
VkFormatProperties2* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkFormatProperties(pool, &from->formatProperties, (VkFormatProperties*)(&to->formatProperties));
@@ -1773,6 +1905,7 @@
const VkImageFormatProperties2* from,
VkImageFormatProperties2* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkImageFormatProperties(pool, &from->imageFormatProperties, (VkImageFormatProperties*)(&to->imageFormatProperties));
@@ -1783,6 +1916,7 @@
const VkPhysicalDeviceImageFormatInfo2* from,
VkPhysicalDeviceImageFormatInfo2* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1792,6 +1926,7 @@
const VkQueueFamilyProperties2* from,
VkQueueFamilyProperties2* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkQueueFamilyProperties(pool, &from->queueFamilyProperties, (VkQueueFamilyProperties*)(&to->queueFamilyProperties));
@@ -1802,6 +1937,7 @@
const VkPhysicalDeviceMemoryProperties2* from,
VkPhysicalDeviceMemoryProperties2* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkPhysicalDeviceMemoryProperties(pool, &from->memoryProperties, (VkPhysicalDeviceMemoryProperties*)(&to->memoryProperties));
@@ -1812,6 +1948,7 @@
const VkSparseImageFormatProperties2* from,
VkSparseImageFormatProperties2* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkSparseImageFormatProperties(pool, &from->properties, (VkSparseImageFormatProperties*)(&to->properties));
@@ -1822,6 +1959,7 @@
const VkPhysicalDeviceSparseImageFormatInfo2* from,
VkPhysicalDeviceSparseImageFormatInfo2* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1831,6 +1969,7 @@
const VkPhysicalDevicePointClippingProperties* from,
VkPhysicalDevicePointClippingProperties* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1840,6 +1979,7 @@
const VkInputAttachmentAspectReference* from,
VkInputAttachmentAspectReference* to)
{
+ (void)pool;
*to = *from;
}
@@ -1848,6 +1988,7 @@
const VkRenderPassInputAttachmentAspectCreateInfo* from,
VkRenderPassInputAttachmentAspectCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pAspectReferences = nullptr;
@@ -1867,6 +2008,7 @@
const VkImageViewUsageCreateInfo* from,
VkImageViewUsageCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1876,6 +2018,7 @@
const VkPipelineTessellationDomainOriginStateCreateInfo* from,
VkPipelineTessellationDomainOriginStateCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1885,6 +2028,7 @@
const VkRenderPassMultiviewCreateInfo* from,
VkRenderPassMultiviewCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pViewMasks = nullptr;
@@ -1909,6 +2053,7 @@
const VkPhysicalDeviceMultiviewFeatures* from,
VkPhysicalDeviceMultiviewFeatures* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1918,6 +2063,7 @@
const VkPhysicalDeviceMultiviewProperties* from,
VkPhysicalDeviceMultiviewProperties* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1927,6 +2073,7 @@
const VkPhysicalDeviceVariablePointerFeatures* from,
VkPhysicalDeviceVariablePointerFeatures* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1936,6 +2083,7 @@
const VkPhysicalDeviceProtectedMemoryFeatures* from,
VkPhysicalDeviceProtectedMemoryFeatures* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1945,6 +2093,7 @@
const VkPhysicalDeviceProtectedMemoryProperties* from,
VkPhysicalDeviceProtectedMemoryProperties* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1954,6 +2103,7 @@
const VkDeviceQueueInfo2* from,
VkDeviceQueueInfo2* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1963,6 +2113,7 @@
const VkProtectedSubmitInfo* from,
VkProtectedSubmitInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1972,6 +2123,7 @@
const VkSamplerYcbcrConversionCreateInfo* from,
VkSamplerYcbcrConversionCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkComponentMapping(pool, &from->components, (VkComponentMapping*)(&to->components));
@@ -1982,6 +2134,7 @@
const VkSamplerYcbcrConversionInfo* from,
VkSamplerYcbcrConversionInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -1991,6 +2144,7 @@
const VkBindImagePlaneMemoryInfo* from,
VkBindImagePlaneMemoryInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2000,6 +2154,7 @@
const VkImagePlaneMemoryRequirementsInfo* from,
VkImagePlaneMemoryRequirementsInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2009,6 +2164,7 @@
const VkPhysicalDeviceSamplerYcbcrConversionFeatures* from,
VkPhysicalDeviceSamplerYcbcrConversionFeatures* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2018,6 +2174,7 @@
const VkSamplerYcbcrConversionImageFormatProperties* from,
VkSamplerYcbcrConversionImageFormatProperties* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2027,6 +2184,7 @@
const VkDescriptorUpdateTemplateEntry* from,
VkDescriptorUpdateTemplateEntry* to)
{
+ (void)pool;
*to = *from;
}
@@ -2035,6 +2193,7 @@
const VkDescriptorUpdateTemplateCreateInfo* from,
VkDescriptorUpdateTemplateCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pDescriptorUpdateEntries = nullptr;
@@ -2054,6 +2213,7 @@
const VkExternalMemoryProperties* from,
VkExternalMemoryProperties* to)
{
+ (void)pool;
*to = *from;
}
@@ -2062,6 +2222,7 @@
const VkPhysicalDeviceExternalImageFormatInfo* from,
VkPhysicalDeviceExternalImageFormatInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2071,6 +2232,7 @@
const VkExternalImageFormatProperties* from,
VkExternalImageFormatProperties* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkExternalMemoryProperties(pool, &from->externalMemoryProperties, (VkExternalMemoryProperties*)(&to->externalMemoryProperties));
@@ -2081,6 +2243,7 @@
const VkPhysicalDeviceExternalBufferInfo* from,
VkPhysicalDeviceExternalBufferInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2090,6 +2253,7 @@
const VkExternalBufferProperties* from,
VkExternalBufferProperties* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkExternalMemoryProperties(pool, &from->externalMemoryProperties, (VkExternalMemoryProperties*)(&to->externalMemoryProperties));
@@ -2100,6 +2264,7 @@
const VkPhysicalDeviceIDProperties* from,
VkPhysicalDeviceIDProperties* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
memcpy(to->deviceUUID, from->deviceUUID, VK_UUID_SIZE * sizeof(uint8_t));
@@ -2112,6 +2277,7 @@
const VkExternalMemoryImageCreateInfo* from,
VkExternalMemoryImageCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2121,6 +2287,7 @@
const VkExternalMemoryBufferCreateInfo* from,
VkExternalMemoryBufferCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2130,6 +2297,7 @@
const VkExportMemoryAllocateInfo* from,
VkExportMemoryAllocateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2139,6 +2307,7 @@
const VkPhysicalDeviceExternalFenceInfo* from,
VkPhysicalDeviceExternalFenceInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2148,6 +2317,7 @@
const VkExternalFenceProperties* from,
VkExternalFenceProperties* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2157,6 +2327,7 @@
const VkExportFenceCreateInfo* from,
VkExportFenceCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2166,6 +2337,7 @@
const VkExportSemaphoreCreateInfo* from,
VkExportSemaphoreCreateInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2175,6 +2347,7 @@
const VkPhysicalDeviceExternalSemaphoreInfo* from,
VkPhysicalDeviceExternalSemaphoreInfo* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2184,6 +2357,7 @@
const VkExternalSemaphoreProperties* from,
VkExternalSemaphoreProperties* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2193,6 +2367,7 @@
const VkPhysicalDeviceMaintenance3Properties* from,
VkPhysicalDeviceMaintenance3Properties* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2202,6 +2377,7 @@
const VkDescriptorSetLayoutSupport* from,
VkDescriptorSetLayoutSupport* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2211,6 +2387,7 @@
const VkPhysicalDeviceShaderDrawParameterFeatures* from,
VkPhysicalDeviceShaderDrawParameterFeatures* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2222,6 +2399,7 @@
const VkSurfaceCapabilitiesKHR* from,
VkSurfaceCapabilitiesKHR* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkExtent2D(pool, &from->currentExtent, (VkExtent2D*)(&to->currentExtent));
deepcopy_VkExtent2D(pool, &from->minImageExtent, (VkExtent2D*)(&to->minImageExtent));
@@ -2233,6 +2411,7 @@
const VkSurfaceFormatKHR* from,
VkSurfaceFormatKHR* to)
{
+ (void)pool;
*to = *from;
}
@@ -2243,6 +2422,7 @@
const VkSwapchainCreateInfoKHR* from,
VkSwapchainCreateInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkExtent2D(pool, &from->imageExtent, (VkExtent2D*)(&to->imageExtent));
@@ -2258,6 +2438,7 @@
const VkPresentInfoKHR* from,
VkPresentInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pWaitSemaphores = nullptr;
@@ -2287,6 +2468,7 @@
const VkImageSwapchainCreateInfoKHR* from,
VkImageSwapchainCreateInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2296,6 +2478,7 @@
const VkBindImageMemorySwapchainInfoKHR* from,
VkBindImageMemorySwapchainInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2305,6 +2488,7 @@
const VkAcquireNextImageInfoKHR* from,
VkAcquireNextImageInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2314,6 +2498,7 @@
const VkDeviceGroupPresentCapabilitiesKHR* from,
VkDeviceGroupPresentCapabilitiesKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
memcpy(to->presentMask, from->presentMask, VK_MAX_DEVICE_GROUP_SIZE * sizeof(uint32_t));
@@ -2324,6 +2509,7 @@
const VkDeviceGroupPresentInfoKHR* from,
VkDeviceGroupPresentInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pDeviceMasks = nullptr;
@@ -2338,6 +2524,7 @@
const VkDeviceGroupSwapchainCreateInfoKHR* from,
VkDeviceGroupSwapchainCreateInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2349,6 +2536,7 @@
const VkDisplayPropertiesKHR* from,
VkDisplayPropertiesKHR* to)
{
+ (void)pool;
*to = *from;
to->displayName = nullptr;
if (from->displayName)
@@ -2364,6 +2552,7 @@
const VkDisplayModeParametersKHR* from,
VkDisplayModeParametersKHR* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkExtent2D(pool, &from->visibleRegion, (VkExtent2D*)(&to->visibleRegion));
}
@@ -2373,6 +2562,7 @@
const VkDisplayModePropertiesKHR* from,
VkDisplayModePropertiesKHR* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkDisplayModeParametersKHR(pool, &from->parameters, (VkDisplayModeParametersKHR*)(&to->parameters));
}
@@ -2382,6 +2572,7 @@
const VkDisplayModeCreateInfoKHR* from,
VkDisplayModeCreateInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkDisplayModeParametersKHR(pool, &from->parameters, (VkDisplayModeParametersKHR*)(&to->parameters));
@@ -2392,6 +2583,7 @@
const VkDisplayPlaneCapabilitiesKHR* from,
VkDisplayPlaneCapabilitiesKHR* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkOffset2D(pool, &from->minSrcPosition, (VkOffset2D*)(&to->minSrcPosition));
deepcopy_VkOffset2D(pool, &from->maxSrcPosition, (VkOffset2D*)(&to->maxSrcPosition));
@@ -2408,6 +2600,7 @@
const VkDisplayPlanePropertiesKHR* from,
VkDisplayPlanePropertiesKHR* to)
{
+ (void)pool;
*to = *from;
}
@@ -2416,6 +2609,7 @@
const VkDisplaySurfaceCreateInfoKHR* from,
VkDisplaySurfaceCreateInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkExtent2D(pool, &from->imageExtent, (VkExtent2D*)(&to->imageExtent));
@@ -2428,6 +2622,7 @@
const VkDisplayPresentInfoKHR* from,
VkDisplayPresentInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkRect2D(pool, &from->srcRect, (VkRect2D*)(&to->srcRect));
@@ -2441,6 +2636,7 @@
const VkXlibSurfaceCreateInfoKHR* from,
VkXlibSurfaceCreateInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->dpy = nullptr;
@@ -2457,6 +2653,7 @@
const VkXcbSurfaceCreateInfoKHR* from,
VkXcbSurfaceCreateInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->connection = nullptr;
@@ -2473,6 +2670,7 @@
const VkWaylandSurfaceCreateInfoKHR* from,
VkWaylandSurfaceCreateInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->display = nullptr;
@@ -2494,6 +2692,7 @@
const VkMirSurfaceCreateInfoKHR* from,
VkMirSurfaceCreateInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->connection = nullptr;
@@ -2515,6 +2714,7 @@
const VkAndroidSurfaceCreateInfoKHR* from,
VkAndroidSurfaceCreateInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->window = nullptr;
@@ -2531,6 +2731,7 @@
const VkWin32SurfaceCreateInfoKHR* from,
VkWin32SurfaceCreateInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2560,6 +2761,7 @@
const VkImportMemoryWin32HandleInfoKHR* from,
VkImportMemoryWin32HandleInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2569,6 +2771,7 @@
const VkExportMemoryWin32HandleInfoKHR* from,
VkExportMemoryWin32HandleInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pAttributes = nullptr;
@@ -2583,6 +2786,7 @@
const VkMemoryWin32HandlePropertiesKHR* from,
VkMemoryWin32HandlePropertiesKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2592,6 +2796,7 @@
const VkMemoryGetWin32HandleInfoKHR* from,
VkMemoryGetWin32HandleInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2603,6 +2808,7 @@
const VkImportMemoryFdInfoKHR* from,
VkImportMemoryFdInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2612,6 +2818,7 @@
const VkMemoryFdPropertiesKHR* from,
VkMemoryFdPropertiesKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2621,6 +2828,7 @@
const VkMemoryGetFdInfoKHR* from,
VkMemoryGetFdInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2632,6 +2840,7 @@
const VkWin32KeyedMutexAcquireReleaseInfoKHR* from,
VkWin32KeyedMutexAcquireReleaseInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pAcquireSyncs = nullptr;
@@ -2672,6 +2881,7 @@
const VkImportSemaphoreWin32HandleInfoKHR* from,
VkImportSemaphoreWin32HandleInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2681,6 +2891,7 @@
const VkExportSemaphoreWin32HandleInfoKHR* from,
VkExportSemaphoreWin32HandleInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pAttributes = nullptr;
@@ -2695,6 +2906,7 @@
const VkD3D12FenceSubmitInfoKHR* from,
VkD3D12FenceSubmitInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pWaitSemaphoreValues = nullptr;
@@ -2714,6 +2926,7 @@
const VkSemaphoreGetWin32HandleInfoKHR* from,
VkSemaphoreGetWin32HandleInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2725,6 +2938,7 @@
const VkImportSemaphoreFdInfoKHR* from,
VkImportSemaphoreFdInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2734,6 +2948,7 @@
const VkSemaphoreGetFdInfoKHR* from,
VkSemaphoreGetFdInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2745,6 +2960,7 @@
const VkPhysicalDevicePushDescriptorPropertiesKHR* from,
VkPhysicalDevicePushDescriptorPropertiesKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2758,6 +2974,7 @@
const VkRectLayerKHR* from,
VkRectLayerKHR* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkOffset2D(pool, &from->offset, (VkOffset2D*)(&to->offset));
deepcopy_VkExtent2D(pool, &from->extent, (VkExtent2D*)(&to->extent));
@@ -2768,6 +2985,7 @@
const VkPresentRegionKHR* from,
VkPresentRegionKHR* to)
{
+ (void)pool;
*to = *from;
to->pRectangles = nullptr;
if (from->pRectangles)
@@ -2786,6 +3004,7 @@
const VkPresentRegionsKHR* from,
VkPresentRegionsKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pRegions = nullptr;
@@ -2809,6 +3028,7 @@
const VkAttachmentDescription2KHR* from,
VkAttachmentDescription2KHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2818,6 +3038,7 @@
const VkAttachmentReference2KHR* from,
VkAttachmentReference2KHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2827,6 +3048,7 @@
const VkSubpassDescription2KHR* from,
VkSubpassDescription2KHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pInputAttachments = nullptr;
@@ -2877,6 +3099,7 @@
const VkSubpassDependency2KHR* from,
VkSubpassDependency2KHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2886,6 +3109,7 @@
const VkRenderPassCreateInfo2KHR* from,
VkRenderPassCreateInfo2KHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pAttachments = nullptr;
@@ -2930,6 +3154,7 @@
const VkSubpassBeginInfoKHR* from,
VkSubpassBeginInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2939,6 +3164,7 @@
const VkSubpassEndInfoKHR* from,
VkSubpassEndInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2950,6 +3176,7 @@
const VkSharedPresentSurfaceCapabilitiesKHR* from,
VkSharedPresentSurfaceCapabilitiesKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2965,6 +3192,7 @@
const VkImportFenceWin32HandleInfoKHR* from,
VkImportFenceWin32HandleInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2974,6 +3202,7 @@
const VkExportFenceWin32HandleInfoKHR* from,
VkExportFenceWin32HandleInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pAttributes = nullptr;
@@ -2988,6 +3217,7 @@
const VkFenceGetWin32HandleInfoKHR* from,
VkFenceGetWin32HandleInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -2999,6 +3229,7 @@
const VkImportFenceFdInfoKHR* from,
VkImportFenceFdInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3008,6 +3239,7 @@
const VkFenceGetFdInfoKHR* from,
VkFenceGetFdInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3021,6 +3253,7 @@
const VkPhysicalDeviceSurfaceInfo2KHR* from,
VkPhysicalDeviceSurfaceInfo2KHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3030,6 +3263,7 @@
const VkSurfaceCapabilities2KHR* from,
VkSurfaceCapabilities2KHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkSurfaceCapabilitiesKHR(pool, &from->surfaceCapabilities, (VkSurfaceCapabilitiesKHR*)(&to->surfaceCapabilities));
@@ -3040,6 +3274,7 @@
const VkSurfaceFormat2KHR* from,
VkSurfaceFormat2KHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkSurfaceFormatKHR(pool, &from->surfaceFormat, (VkSurfaceFormatKHR*)(&to->surfaceFormat));
@@ -3054,6 +3289,7 @@
const VkDisplayProperties2KHR* from,
VkDisplayProperties2KHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkDisplayPropertiesKHR(pool, &from->displayProperties, (VkDisplayPropertiesKHR*)(&to->displayProperties));
@@ -3064,6 +3300,7 @@
const VkDisplayPlaneProperties2KHR* from,
VkDisplayPlaneProperties2KHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkDisplayPlanePropertiesKHR(pool, &from->displayPlaneProperties, (VkDisplayPlanePropertiesKHR*)(&to->displayPlaneProperties));
@@ -3074,6 +3311,7 @@
const VkDisplayModeProperties2KHR* from,
VkDisplayModeProperties2KHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkDisplayModePropertiesKHR(pool, &from->displayModeProperties, (VkDisplayModePropertiesKHR*)(&to->displayModeProperties));
@@ -3084,6 +3322,7 @@
const VkDisplayPlaneInfo2KHR* from,
VkDisplayPlaneInfo2KHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3093,6 +3332,7 @@
const VkDisplayPlaneCapabilities2KHR* from,
VkDisplayPlaneCapabilities2KHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkDisplayPlaneCapabilitiesKHR(pool, &from->capabilities, (VkDisplayPlaneCapabilitiesKHR*)(&to->capabilities));
@@ -3113,6 +3353,7 @@
const VkImageFormatListCreateInfoKHR* from,
VkImageFormatListCreateInfoKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pViewFormats = nullptr;
@@ -3137,6 +3378,7 @@
const VkPhysicalDevice8BitStorageFeaturesKHR* from,
VkPhysicalDevice8BitStorageFeaturesKHR* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3148,6 +3390,7 @@
const VkDebugReportCallbackCreateInfoEXT* from,
VkDebugReportCallbackCreateInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pUserData = nullptr;
@@ -3170,6 +3413,7 @@
const VkPipelineRasterizationStateRasterizationOrderAMD* from,
VkPipelineRasterizationStateRasterizationOrderAMD* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3185,6 +3429,7 @@
const VkDebugMarkerObjectNameInfoEXT* from,
VkDebugMarkerObjectNameInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pObjectName = nullptr;
@@ -3199,6 +3444,7 @@
const VkDebugMarkerObjectTagInfoEXT* from,
VkDebugMarkerObjectTagInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pTag = nullptr;
@@ -3213,6 +3459,7 @@
const VkDebugMarkerMarkerInfoEXT* from,
VkDebugMarkerMarkerInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pMarkerName = nullptr;
@@ -3232,6 +3479,7 @@
const VkDedicatedAllocationImageCreateInfoNV* from,
VkDedicatedAllocationImageCreateInfoNV* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3241,6 +3489,7 @@
const VkDedicatedAllocationBufferCreateInfoNV* from,
VkDedicatedAllocationBufferCreateInfoNV* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3250,6 +3499,7 @@
const VkDedicatedAllocationMemoryAllocateInfoNV* from,
VkDedicatedAllocationMemoryAllocateInfoNV* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3269,6 +3519,7 @@
const VkTextureLODGatherFormatPropertiesAMD* from,
VkTextureLODGatherFormatPropertiesAMD* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3280,6 +3531,7 @@
const VkShaderResourceUsageAMD* from,
VkShaderResourceUsageAMD* to)
{
+ (void)pool;
*to = *from;
}
@@ -3288,6 +3540,7 @@
const VkShaderStatisticsInfoAMD* from,
VkShaderStatisticsInfoAMD* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkShaderResourceUsageAMD(pool, &from->resourceUsage, (VkShaderResourceUsageAMD*)(&to->resourceUsage));
memcpy(to->computeWorkGroupSize, from->computeWorkGroupSize, 3 * sizeof(uint32_t));
@@ -3304,6 +3557,7 @@
const VkExternalImageFormatPropertiesNV* from,
VkExternalImageFormatPropertiesNV* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkImageFormatProperties(pool, &from->imageFormatProperties, (VkImageFormatProperties*)(&to->imageFormatProperties));
}
@@ -3315,6 +3569,7 @@
const VkExternalMemoryImageCreateInfoNV* from,
VkExternalMemoryImageCreateInfoNV* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3324,6 +3579,7 @@
const VkExportMemoryAllocateInfoNV* from,
VkExportMemoryAllocateInfoNV* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3335,6 +3591,7 @@
const VkImportMemoryWin32HandleInfoNV* from,
VkImportMemoryWin32HandleInfoNV* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3344,6 +3601,7 @@
const VkExportMemoryWin32HandleInfoNV* from,
VkExportMemoryWin32HandleInfoNV* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pAttributes = nullptr;
@@ -3360,6 +3618,7 @@
const VkWin32KeyedMutexAcquireReleaseInfoNV* from,
VkWin32KeyedMutexAcquireReleaseInfoNV* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pAcquireSyncs = nullptr;
@@ -3396,6 +3655,7 @@
const VkValidationFlagsEXT* from,
VkValidationFlagsEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pDisabledValidationChecks = nullptr;
@@ -3412,6 +3672,7 @@
const VkViSurfaceCreateInfoNN* from,
VkViSurfaceCreateInfoNN* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->window = nullptr;
@@ -3432,6 +3693,7 @@
const VkConditionalRenderingBeginInfoEXT* from,
VkConditionalRenderingBeginInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3441,6 +3703,7 @@
const VkPhysicalDeviceConditionalRenderingFeaturesEXT* from,
VkPhysicalDeviceConditionalRenderingFeaturesEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3450,6 +3713,7 @@
const VkCommandBufferInheritanceConditionalRenderingInfoEXT* from,
VkCommandBufferInheritanceConditionalRenderingInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3461,6 +3725,7 @@
const VkDeviceGeneratedCommandsFeaturesNVX* from,
VkDeviceGeneratedCommandsFeaturesNVX* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3470,6 +3735,7 @@
const VkDeviceGeneratedCommandsLimitsNVX* from,
VkDeviceGeneratedCommandsLimitsNVX* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3479,6 +3745,7 @@
const VkIndirectCommandsTokenNVX* from,
VkIndirectCommandsTokenNVX* to)
{
+ (void)pool;
*to = *from;
}
@@ -3487,6 +3754,7 @@
const VkIndirectCommandsLayoutTokenNVX* from,
VkIndirectCommandsLayoutTokenNVX* to)
{
+ (void)pool;
*to = *from;
}
@@ -3495,6 +3763,7 @@
const VkIndirectCommandsLayoutCreateInfoNVX* from,
VkIndirectCommandsLayoutCreateInfoNVX* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pTokens = nullptr;
@@ -3514,6 +3783,7 @@
const VkCmdProcessCommandsInfoNVX* from,
VkCmdProcessCommandsInfoNVX* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pIndirectCommandsTokens = nullptr;
@@ -3533,6 +3803,7 @@
const VkCmdReserveSpaceForCommandsInfoNVX* from,
VkCmdReserveSpaceForCommandsInfoNVX* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3542,6 +3813,7 @@
const VkObjectTableCreateInfoNVX* from,
VkObjectTableCreateInfoNVX* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pObjectEntryTypes = nullptr;
@@ -3566,6 +3838,7 @@
const VkObjectTableEntryNVX* from,
VkObjectTableEntryNVX* to)
{
+ (void)pool;
*to = *from;
}
@@ -3574,6 +3847,7 @@
const VkObjectTablePipelineEntryNVX* from,
VkObjectTablePipelineEntryNVX* to)
{
+ (void)pool;
*to = *from;
}
@@ -3582,6 +3856,7 @@
const VkObjectTableDescriptorSetEntryNVX* from,
VkObjectTableDescriptorSetEntryNVX* to)
{
+ (void)pool;
*to = *from;
}
@@ -3590,6 +3865,7 @@
const VkObjectTableVertexBufferEntryNVX* from,
VkObjectTableVertexBufferEntryNVX* to)
{
+ (void)pool;
*to = *from;
}
@@ -3598,6 +3874,7 @@
const VkObjectTableIndexBufferEntryNVX* from,
VkObjectTableIndexBufferEntryNVX* to)
{
+ (void)pool;
*to = *from;
}
@@ -3606,6 +3883,7 @@
const VkObjectTablePushConstantEntryNVX* from,
VkObjectTablePushConstantEntryNVX* to)
{
+ (void)pool;
*to = *from;
}
@@ -3616,6 +3894,7 @@
const VkViewportWScalingNV* from,
VkViewportWScalingNV* to)
{
+ (void)pool;
*to = *from;
}
@@ -3624,6 +3903,7 @@
const VkPipelineViewportWScalingStateCreateInfoNV* from,
VkPipelineViewportWScalingStateCreateInfoNV* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pViewportWScalings = nullptr;
@@ -3649,6 +3929,7 @@
const VkSurfaceCapabilities2EXT* from,
VkSurfaceCapabilities2EXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkExtent2D(pool, &from->currentExtent, (VkExtent2D*)(&to->currentExtent));
@@ -3663,6 +3944,7 @@
const VkDisplayPowerInfoEXT* from,
VkDisplayPowerInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3672,6 +3954,7 @@
const VkDeviceEventInfoEXT* from,
VkDeviceEventInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3681,6 +3964,7 @@
const VkDisplayEventInfoEXT* from,
VkDisplayEventInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3690,6 +3974,7 @@
const VkSwapchainCounterCreateInfoEXT* from,
VkSwapchainCounterCreateInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3701,6 +3986,7 @@
const VkRefreshCycleDurationGOOGLE* from,
VkRefreshCycleDurationGOOGLE* to)
{
+ (void)pool;
*to = *from;
}
@@ -3709,6 +3995,7 @@
const VkPastPresentationTimingGOOGLE* from,
VkPastPresentationTimingGOOGLE* to)
{
+ (void)pool;
*to = *from;
}
@@ -3717,6 +4004,7 @@
const VkPresentTimeGOOGLE* from,
VkPresentTimeGOOGLE* to)
{
+ (void)pool;
*to = *from;
}
@@ -3725,6 +4013,7 @@
const VkPresentTimesInfoGOOGLE* from,
VkPresentTimesInfoGOOGLE* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pTimes = nullptr;
@@ -3752,6 +4041,7 @@
const VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX* from,
VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3763,6 +4053,7 @@
const VkViewportSwizzleNV* from,
VkViewportSwizzleNV* to)
{
+ (void)pool;
*to = *from;
}
@@ -3771,6 +4062,7 @@
const VkPipelineViewportSwizzleStateCreateInfoNV* from,
VkPipelineViewportSwizzleStateCreateInfoNV* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pViewportSwizzles = nullptr;
@@ -3792,6 +4084,7 @@
const VkPhysicalDeviceDiscardRectanglePropertiesEXT* from,
VkPhysicalDeviceDiscardRectanglePropertiesEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3801,6 +4094,7 @@
const VkPipelineDiscardRectangleStateCreateInfoEXT* from,
VkPipelineDiscardRectangleStateCreateInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pDiscardRectangles = nullptr;
@@ -3822,6 +4116,7 @@
const VkPhysicalDeviceConservativeRasterizationPropertiesEXT* from,
VkPhysicalDeviceConservativeRasterizationPropertiesEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3831,6 +4126,7 @@
const VkPipelineRasterizationConservativeStateCreateInfoEXT* from,
VkPipelineRasterizationConservativeStateCreateInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -3844,6 +4140,7 @@
const VkXYColorEXT* from,
VkXYColorEXT* to)
{
+ (void)pool;
*to = *from;
}
@@ -3852,6 +4149,7 @@
const VkHdrMetadataEXT* from,
VkHdrMetadataEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkXYColorEXT(pool, &from->displayPrimaryRed, (VkXYColorEXT*)(&to->displayPrimaryRed));
@@ -3867,6 +4165,7 @@
const VkIOSSurfaceCreateInfoMVK* from,
VkIOSSurfaceCreateInfoMVK* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pView = nullptr;
@@ -3883,6 +4182,7 @@
const VkMacOSSurfaceCreateInfoMVK* from,
VkMacOSSurfaceCreateInfoMVK* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pView = nullptr;
@@ -3903,6 +4203,7 @@
const VkDebugUtilsObjectNameInfoEXT* from,
VkDebugUtilsObjectNameInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pObjectName = nullptr;
@@ -3917,6 +4218,7 @@
const VkDebugUtilsObjectTagInfoEXT* from,
VkDebugUtilsObjectTagInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pTag = nullptr;
@@ -3931,6 +4233,7 @@
const VkDebugUtilsLabelEXT* from,
VkDebugUtilsLabelEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pLabelName = nullptr;
@@ -3946,6 +4249,7 @@
const VkDebugUtilsMessengerCallbackDataEXT* from,
VkDebugUtilsMessengerCallbackDataEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pMessageIdName = nullptr;
@@ -3995,6 +4299,7 @@
const VkDebugUtilsMessengerCreateInfoEXT* from,
VkDebugUtilsMessengerCreateInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pUserData = nullptr;
@@ -4011,6 +4316,7 @@
const VkAndroidHardwareBufferUsageANDROID* from,
VkAndroidHardwareBufferUsageANDROID* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -4020,6 +4326,7 @@
const VkAndroidHardwareBufferPropertiesANDROID* from,
VkAndroidHardwareBufferPropertiesANDROID* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -4029,6 +4336,7 @@
const VkAndroidHardwareBufferFormatPropertiesANDROID* from,
VkAndroidHardwareBufferFormatPropertiesANDROID* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkComponentMapping(pool, &from->samplerYcbcrConversionComponents, (VkComponentMapping*)(&to->samplerYcbcrConversionComponents));
@@ -4039,6 +4347,7 @@
const VkImportAndroidHardwareBufferInfoANDROID* from,
VkImportAndroidHardwareBufferInfoANDROID* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->buffer = nullptr;
@@ -4053,6 +4362,7 @@
const VkMemoryGetAndroidHardwareBufferInfoANDROID* from,
VkMemoryGetAndroidHardwareBufferInfoANDROID* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -4062,6 +4372,7 @@
const VkExternalFormatANDROID* from,
VkExternalFormatANDROID* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -4073,6 +4384,7 @@
const VkSamplerReductionModeCreateInfoEXT* from,
VkSamplerReductionModeCreateInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -4082,6 +4394,7 @@
const VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT* from,
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -4101,6 +4414,7 @@
const VkSampleLocationEXT* from,
VkSampleLocationEXT* to)
{
+ (void)pool;
*to = *from;
}
@@ -4109,6 +4423,7 @@
const VkSampleLocationsInfoEXT* from,
VkSampleLocationsInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkExtent2D(pool, &from->sampleLocationGridSize, (VkExtent2D*)(&to->sampleLocationGridSize));
@@ -4129,6 +4444,7 @@
const VkAttachmentSampleLocationsEXT* from,
VkAttachmentSampleLocationsEXT* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkSampleLocationsInfoEXT(pool, &from->sampleLocationsInfo, (VkSampleLocationsInfoEXT*)(&to->sampleLocationsInfo));
}
@@ -4138,6 +4454,7 @@
const VkSubpassSampleLocationsEXT* from,
VkSubpassSampleLocationsEXT* to)
{
+ (void)pool;
*to = *from;
deepcopy_VkSampleLocationsInfoEXT(pool, &from->sampleLocationsInfo, (VkSampleLocationsInfoEXT*)(&to->sampleLocationsInfo));
}
@@ -4147,6 +4464,7 @@
const VkRenderPassSampleLocationsBeginInfoEXT* from,
VkRenderPassSampleLocationsBeginInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pAttachmentInitialSampleLocations = nullptr;
@@ -4176,6 +4494,7 @@
const VkPipelineSampleLocationsStateCreateInfoEXT* from,
VkPipelineSampleLocationsStateCreateInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkSampleLocationsInfoEXT(pool, &from->sampleLocationsInfo, (VkSampleLocationsInfoEXT*)(&to->sampleLocationsInfo));
@@ -4186,6 +4505,7 @@
const VkPhysicalDeviceSampleLocationsPropertiesEXT* from,
VkPhysicalDeviceSampleLocationsPropertiesEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkExtent2D(pool, &from->maxSampleLocationGridSize, (VkExtent2D*)(&to->maxSampleLocationGridSize));
@@ -4197,6 +4517,7 @@
const VkMultisamplePropertiesEXT* from,
VkMultisamplePropertiesEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
deepcopy_VkExtent2D(pool, &from->maxSampleLocationGridSize, (VkExtent2D*)(&to->maxSampleLocationGridSize));
@@ -4209,6 +4530,7 @@
const VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT* from,
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -4218,6 +4540,7 @@
const VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT* from,
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -4227,6 +4550,7 @@
const VkPipelineColorBlendAdvancedStateCreateInfoEXT* from,
VkPipelineColorBlendAdvancedStateCreateInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -4238,6 +4562,7 @@
const VkPipelineCoverageToColorStateCreateInfoNV* from,
VkPipelineCoverageToColorStateCreateInfoNV* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -4249,6 +4574,7 @@
const VkPipelineCoverageModulationStateCreateInfoNV* from,
VkPipelineCoverageModulationStateCreateInfoNV* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pCoverageModulationTable = nullptr;
@@ -4269,6 +4595,7 @@
const VkValidationCacheCreateInfoEXT* from,
VkValidationCacheCreateInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pInitialData = nullptr;
@@ -4283,6 +4610,7 @@
const VkShaderModuleValidationCacheCreateInfoEXT* from,
VkShaderModuleValidationCacheCreateInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -4294,6 +4622,7 @@
const VkDescriptorSetLayoutBindingFlagsCreateInfoEXT* from,
VkDescriptorSetLayoutBindingFlagsCreateInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pBindingFlags = nullptr;
@@ -4308,6 +4637,7 @@
const VkPhysicalDeviceDescriptorIndexingFeaturesEXT* from,
VkPhysicalDeviceDescriptorIndexingFeaturesEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -4317,6 +4647,7 @@
const VkPhysicalDeviceDescriptorIndexingPropertiesEXT* from,
VkPhysicalDeviceDescriptorIndexingPropertiesEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -4326,6 +4657,7 @@
const VkDescriptorSetVariableDescriptorCountAllocateInfoEXT* from,
VkDescriptorSetVariableDescriptorCountAllocateInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pDescriptorCounts = nullptr;
@@ -4340,6 +4672,7 @@
const VkDescriptorSetVariableDescriptorCountLayoutSupportEXT* from,
VkDescriptorSetVariableDescriptorCountLayoutSupportEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -4353,6 +4686,7 @@
const VkDeviceQueueGlobalPriorityCreateInfoEXT* from,
VkDeviceQueueGlobalPriorityCreateInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -4364,6 +4698,7 @@
const VkImportMemoryHostPointerInfoEXT* from,
VkImportMemoryHostPointerInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pHostPointer = nullptr;
@@ -4378,6 +4713,7 @@
const VkMemoryHostPointerPropertiesEXT* from,
VkMemoryHostPointerPropertiesEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -4387,6 +4723,7 @@
const VkPhysicalDeviceExternalMemoryHostPropertiesEXT* from,
VkPhysicalDeviceExternalMemoryHostPropertiesEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -4400,6 +4737,7 @@
const VkPhysicalDeviceShaderCorePropertiesAMD* from,
VkPhysicalDeviceShaderCorePropertiesAMD* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -4411,6 +4749,7 @@
const VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT* from,
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -4420,6 +4759,7 @@
const VkVertexInputBindingDivisorDescriptionEXT* from,
VkVertexInputBindingDivisorDescriptionEXT* to)
{
+ (void)pool;
*to = *from;
}
@@ -4428,6 +4768,7 @@
const VkPipelineVertexInputDivisorStateCreateInfoEXT* from,
VkPipelineVertexInputDivisorStateCreateInfoEXT* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pVertexBindingDivisors = nullptr;
@@ -4451,6 +4792,7 @@
const VkQueueFamilyCheckpointPropertiesNV* from,
VkQueueFamilyCheckpointPropertiesNV* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
}
@@ -4460,6 +4802,7 @@
const VkCheckpointDataNV* from,
VkCheckpointDataNV* to)
{
+ (void)pool;
*to = *from;
to->pNext = from->pNext;
to->pCheckpointMarker = nullptr;