Updating to Vulkan 1.3

This commit is contained in:
2026-08-14 21:42:57 -07:00
parent fe9a7ef487
commit 736895fede
3 changed files with 3 additions and 3 deletions

2
3rdparty/volk vendored

View File

@@ -387,7 +387,7 @@ bool KRDevice::initAllocator()
vmaCreateInfo.physicalDevice = m_device; vmaCreateInfo.physicalDevice = m_device;
vmaCreateInfo.device = m_logicalDevice; vmaCreateInfo.device = m_logicalDevice;
vmaCreateInfo.instance = m_pContext->getDeviceManager()->getVulkanInstance(); vmaCreateInfo.instance = m_pContext->getDeviceManager()->getVulkanInstance();
vmaCreateInfo.vulkanApiVersion = VK_API_VERSION_1_2; vmaCreateInfo.vulkanApiVersion = VK_API_VERSION_1_3;
vmaCreateInfo.pVulkanFunctions = &vmaVulkanFunctions; vmaCreateInfo.pVulkanFunctions = &vmaVulkanFunctions;
if (vmaCreateAllocator(&vmaCreateInfo, &m_allocator) != VK_SUCCESS) { if (vmaCreateAllocator(&vmaCreateInfo, &m_allocator) != VK_SUCCESS) {
return false; return false;