[Bf-blender-cvs] [d45bbff5110] temp-vulkan-shader: Change vulkan version to 1.2

Jeroen Bakker noreply at git.blender.org
Tue Nov 22 17:01:39 CET 2022


Commit: d45bbff51102d1b54b87b29d22b0e4bd89ee12da
Author: Jeroen Bakker
Date:   Tue Nov 22 13:14:29 2022 +0100
Branches: temp-vulkan-shader
https://developer.blender.org/rBd45bbff51102d1b54b87b29d22b0e4bd89ee12da

Change vulkan version to 1.2

===================================================================

M	source/blender/gpu/vulkan/vk_context.cc

===================================================================

diff --git a/source/blender/gpu/vulkan/vk_context.cc b/source/blender/gpu/vulkan/vk_context.cc
index 349d78d94db..15f1908d217 100644
--- a/source/blender/gpu/vulkan/vk_context.cc
+++ b/source/blender/gpu/vulkan/vk_context.cc
@@ -26,8 +26,8 @@ VKContext::VKContext(void *ghost_window, void *ghost_context)
 
   {
     VmaAllocatorCreateInfo info = {};
-    /* TODO use same vulkan version as GHOST. */
-    info.vulkanApiVersion = VK_API_VERSION_1_1;
+    /* Should use same vulkan version as GHOST. */
+    info.vulkanApiVersion = VK_API_VERSION_1_2;
     info.physicalDevice = physical_device_;
     info.device = device_;
     info.instance = instance_;



More information about the Bf-blender-cvs mailing list