mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-22 23:41:39 +00:00
Revert "Update VMA Allocator to v3.0.1"
It is causing more problems than benefits
This reverts commit 6895194805.
This commit is contained in:
@@ -1 +1 @@
|
||||
VulkanMemoryAllocator from https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator at v3.0.1
|
||||
VulkanMemoryAllocator from https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator at v2.1.0
|
||||
|
||||
+9648
-15738
File diff suppressed because it is too large
Load Diff
@@ -361,10 +361,7 @@
|
||||
<ClCompile Include="vk\vk_video_textures.cpp" />
|
||||
<ClCompile Include="vk\vk_vs_max_desc_set.cpp" />
|
||||
<ClCompile Include="vk\vk_simple_triangle.cpp" />
|
||||
<ClCompile Include="vk\vk_test.cpp">
|
||||
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Development|x64'">4100;4054;4055;4189;4324</DisableSpecificWarnings>
|
||||
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|x64'">4100;4054;4055;4189;4324</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
<ClCompile Include="vk\vk_test.cpp" />
|
||||
<ClCompile Include="3rdparty\volk\volk.c" />
|
||||
<ClCompile Include="win32\win32_platform.cpp" />
|
||||
<ClCompile Include="win32\win32_window.cpp" />
|
||||
|
||||
@@ -717,8 +717,6 @@ bool VulkanGraphicsTest::Init()
|
||||
}
|
||||
|
||||
VmaVulkanFunctions funcs = {
|
||||
vkGetInstanceProcAddr,
|
||||
vkGetDeviceProcAddr,
|
||||
vkGetPhysicalDeviceProperties,
|
||||
vkGetPhysicalDeviceMemoryProperties,
|
||||
vkAllocateMemory,
|
||||
@@ -735,15 +733,14 @@ bool VulkanGraphicsTest::Init()
|
||||
vkDestroyBuffer,
|
||||
vkCreateImage,
|
||||
vkDestroyImage,
|
||||
vkCmdCopyBuffer,
|
||||
vkGetBufferMemoryRequirements2KHR,
|
||||
vkGetImageMemoryRequirements2KHR,
|
||||
};
|
||||
|
||||
VmaAllocatorCreateInfo allocInfo = {};
|
||||
allocInfo.instance = instance;
|
||||
allocInfo.physicalDevice = phys;
|
||||
allocInfo.device = device;
|
||||
allocInfo.frameInUseCount = 4;
|
||||
allocInfo.pVulkanFunctions = &funcs;
|
||||
if(hasExt(VK_KHR_DEDICATED_ALLOCATION_EXTENSION_NAME) && vmaDedicated)
|
||||
allocInfo.flags |= VMA_ALLOCATOR_CREATE_KHR_DEDICATED_ALLOCATION_BIT;
|
||||
|
||||
Reference in New Issue
Block a user