Update C++ Libraries

This commit is contained in:
PixelyIon 2021-06-23 02:29:08 +05:30 committed by ◱ Mark
parent 6854e07356
commit 2e8ce2cbaf
7 changed files with 30 additions and 29 deletions

@ -1 +1 @@
Subproject commit 9c418bc468baf434a848010bff74663e1f820e79 Subproject commit 9e8b86fd2d9806672cc73133d21780dd182bfd24

@ -1 +1 @@
Subproject commit e6ddc432d0ba4e42542b5867bdc932b5f6d1e08d Subproject commit 96ac3481a9e9543f44b4de8e65af9ad2b040241c

@ -1 +1 @@
Subproject commit 5eb2ea6899367f9cdc5a262f340c06e1a7c284b2 Subproject commit f126f79fd3d9cbfac78f6e8d8e8bc1cd9f4db849

@ -1 +1 @@
Subproject commit 3f02be823cef0f54e720c0382ffc4507f48e6e4b Subproject commit e5293f1cf1800d5776f4bfe96d1ec0aeec30cd46

@ -1 +1 @@
Subproject commit 32188df57b217b5658bdf74e11c966fb84d7287d Subproject commit 8c7a248a72c685ce28cbc63f6c40e6a2ea786346

@ -1 +1 @@
Subproject commit 6889faaaa284e7ec514e75ea74b113539021d1ad Subproject commit 0790b5f0a9b96cd79fe75e4f458fc6b468dd9ec3

View File

@ -34,30 +34,31 @@ namespace skyline::gpu::memory {
} }
MemoryManager::MemoryManager(const GPU &pGpu) : gpu(pGpu) { MemoryManager::MemoryManager(const GPU &pGpu) : gpu(pGpu) {
auto dispatcher{gpu.vkDevice.getDispatcher()}; auto instanceDispatcher{gpu.vkInstance.getDispatcher()};
auto deviceDispatcher{gpu.vkDevice.getDispatcher()};
VmaVulkanFunctions vulkanFunctions{ VmaVulkanFunctions vulkanFunctions{
.vkGetPhysicalDeviceProperties = dispatcher->vkGetPhysicalDeviceProperties, .vkGetPhysicalDeviceProperties = instanceDispatcher->vkGetPhysicalDeviceProperties,
.vkGetPhysicalDeviceMemoryProperties = dispatcher->vkGetPhysicalDeviceMemoryProperties, .vkGetPhysicalDeviceMemoryProperties = instanceDispatcher->vkGetPhysicalDeviceMemoryProperties,
.vkAllocateMemory = dispatcher->vkAllocateMemory, .vkAllocateMemory = deviceDispatcher->vkAllocateMemory,
.vkFreeMemory = dispatcher->vkFreeMemory, .vkFreeMemory = deviceDispatcher->vkFreeMemory,
.vkMapMemory = dispatcher->vkMapMemory, .vkMapMemory = deviceDispatcher->vkMapMemory,
.vkUnmapMemory = dispatcher->vkUnmapMemory, .vkUnmapMemory = deviceDispatcher->vkUnmapMemory,
.vkFlushMappedMemoryRanges = dispatcher->vkFlushMappedMemoryRanges, .vkFlushMappedMemoryRanges = deviceDispatcher->vkFlushMappedMemoryRanges,
.vkInvalidateMappedMemoryRanges = dispatcher->vkInvalidateMappedMemoryRanges, .vkInvalidateMappedMemoryRanges = deviceDispatcher->vkInvalidateMappedMemoryRanges,
.vkBindBufferMemory = dispatcher->vkBindBufferMemory, .vkBindBufferMemory = deviceDispatcher->vkBindBufferMemory,
.vkBindImageMemory = dispatcher->vkBindImageMemory, .vkBindImageMemory = deviceDispatcher->vkBindImageMemory,
.vkGetBufferMemoryRequirements = dispatcher->vkGetBufferMemoryRequirements, .vkGetBufferMemoryRequirements = deviceDispatcher->vkGetBufferMemoryRequirements,
.vkGetImageMemoryRequirements = dispatcher->vkGetImageMemoryRequirements, .vkGetImageMemoryRequirements = deviceDispatcher->vkGetImageMemoryRequirements,
.vkCreateBuffer = dispatcher->vkCreateBuffer, .vkCreateBuffer = deviceDispatcher->vkCreateBuffer,
.vkDestroyBuffer = dispatcher->vkDestroyBuffer, .vkDestroyBuffer = deviceDispatcher->vkDestroyBuffer,
.vkCreateImage = dispatcher->vkCreateImage, .vkCreateImage = deviceDispatcher->vkCreateImage,
.vkDestroyImage = dispatcher->vkDestroyImage, .vkDestroyImage = deviceDispatcher->vkDestroyImage,
.vkCmdCopyBuffer = dispatcher->vkCmdCopyBuffer, .vkCmdCopyBuffer = deviceDispatcher->vkCmdCopyBuffer,
.vkGetBufferMemoryRequirements2KHR = dispatcher->vkGetBufferMemoryRequirements2, .vkGetBufferMemoryRequirements2KHR = deviceDispatcher->vkGetBufferMemoryRequirements2,
.vkGetImageMemoryRequirements2KHR = dispatcher->vkGetImageMemoryRequirements2, .vkGetImageMemoryRequirements2KHR = deviceDispatcher->vkGetImageMemoryRequirements2,
.vkBindBufferMemory2KHR = dispatcher->vkBindBufferMemory2, .vkBindBufferMemory2KHR = deviceDispatcher->vkBindBufferMemory2,
.vkBindImageMemory2KHR = dispatcher->vkBindImageMemory2, .vkBindImageMemory2KHR = deviceDispatcher->vkBindImageMemory2,
.vkGetPhysicalDeviceMemoryProperties2KHR = dispatcher->vkGetPhysicalDeviceMemoryProperties2, .vkGetPhysicalDeviceMemoryProperties2KHR = instanceDispatcher->vkGetPhysicalDeviceMemoryProperties2,
}; };
VmaAllocatorCreateInfo allocatorCreateInfo{ VmaAllocatorCreateInfo allocatorCreateInfo{
.physicalDevice = *gpu.vkPhysicalDevice, .physicalDevice = *gpu.vkPhysicalDevice,