diff --git a/src/gears/vulkan.d b/src/gears/vulkan.d index bfe6880..745476c 100644 --- a/src/gears/vulkan.d +++ b/src/gears/vulkan.d @@ -1521,6 +1521,7 @@ InitFrameStructures(Vulkan* vk) if (success) { + pool_info.queueFamilyIndex = vk.gfx_index; result = vkCreateCommandPool(vk.device, &pool_info, null, vk.cmd_pools.ptr + i); success = VkCheck("vkCreateCommandPool failure", result); } @@ -1547,6 +1548,7 @@ InitFrameStructures(Vulkan* vk) if (success) { + pool_info.queueFamilyIndex = vk.tfer_index; VkResult result = vkCreateCommandPool(vk.device, &pool_info, null, &vk.imm_pool); success = VkCheck("vkCreateCommandPool failure", result); }