Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bobcao3 committed Apr 30, 2022
1 parent 9debf04 commit 5b6131b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions taichi/backends/vulkan/vulkan_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2008,9 +2008,9 @@ void VulkanDevice::create_vma_allocator() {
PFN_vkGetPhysicalDeviceMemoryProperties2KHR(vkGetInstanceProcAddr(
volkGetLoadedInstance(), "vkGetPhysicalDeviceMemoryProperties2KHR"));
vk_vma_functions.vkGetDeviceBufferMemoryRequirements =
table.vkGetDeviceBufferMemoryRequirementsKHR;
table.vkGetDeviceBufferMemoryRequirements;
vk_vma_functions.vkGetDeviceImageMemoryRequirements =
table.vkGetDeviceImageMemoryRequirementsKHR;
table.vkGetDeviceImageMemoryRequirements;

allocatorInfo.pVulkanFunctions = &vk_vma_functions;

Expand Down

0 comments on commit 5b6131b

Please sign in to comment.