message: Vulkan: Support VMA_DYNAMIC_VULKAN_FUNCTIONS off
diff: @@ -261,8 +261,30 @@ void VulkanContext::createLogicalDevice() {
  timestamps_lock.unlock();
  const VmaVulkanFunctions funcs {
  +#if VMA_DYNAMIC_VULKAN_FUNCTIONS
  .vkGetInstanceProcAddr = vkGetInstanceProcAddr,
  .vkGetDeviceProcAddr = vkGetDeviceProcAddr,
  +#else
  + .vkGetPhysicalDeviceProperties = vkGetPhysicalDeviceProperties,
  + .vkGetPhysicalDeviceMemoryProperties = vkGetPhysicalDeviceMemoryProperties,
  + .vkAllocateMemory = vkAllocateMemory,
  + .vkFreeMemory = vkFreeMemory,
  + .vkMapMemory = vkMapMemory,
  + .vkUnmapMemory = vkUnmapMemory,
  + .vkFlushMappedMemoryRanges = vkFlushMappedMemoryRanges,
  + .vkInvalidateMappedMemoryRanges = vkInvalidateMappedMemoryRanges,
  + .vkBindBufferMemory = vkBindBufferMemory,
  + .vkBindImageMemory = vkBindImageMemory,
  + .vkGetBufferMemoryRequirements = vkGetBufferMemoryRequirements,
  + .vkGetImageMemoryRequirements = vkGetImageMemoryRequirements,
  + .vkCreateBuffer = vkCreateBuffer,
  + .vkDestroyBuffer = vkDestroyBuffer,
  + .vkCreateImage = vkCreateImage,
  + .vkDestroyImage = vkDestroyImage,
  + .vkCmdCopyBuffer = vkCmdCopyBuffer,
  + .vkGetBufferMemoryRequirements2KHR = vkGetBufferMemoryRequirements2KHR,
  + .vkGetImageMemoryRequirements2KHR = vkGetImageMemoryRequirements2KHR
  +#endif
  };
  const VmaAllocatorCreateInfo allocatorInfo {
  .physicalDevice = physicalDevice,
  