From d2e4db052c0166f3d54009ce0818c6f7344ec54f Mon Sep 17 00:00:00 2001 From: baldurk Date: Sun, 20 Sep 2015 22:50:34 +0200 Subject: [PATCH] Remove requirements for dma and maybe compute on device queues * Compute will be needed later, DMA not at all (as a hard requirement). --- renderdoc/driver/vulkan/wrappers/vk_device_funcs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/renderdoc/driver/vulkan/wrappers/vk_device_funcs.cpp b/renderdoc/driver/vulkan/wrappers/vk_device_funcs.cpp index 47416bce6..056ac61cb 100644 --- a/renderdoc/driver/vulkan/wrappers/vk_device_funcs.cpp +++ b/renderdoc/driver/vulkan/wrappers/vk_device_funcs.cpp @@ -216,7 +216,7 @@ bool WrappedVulkan::Serialise_vkCreateDevice( bool found = false; uint32_t qFamilyIdx = 0; - VkQueueFlags search = (VK_QUEUE_GRAPHICS_BIT | VK_QUEUE_COMPUTE_BIT | VK_QUEUE_DMA_BIT); + VkQueueFlags search = (VK_QUEUE_GRAPHICS_BIT); // if we need to change the requested queues, it will point to this VkDeviceQueueCreateInfo *modQueues = NULL; @@ -342,7 +342,7 @@ VkResult WrappedVulkan::vkCreateDevice( // find a queue that supports all capabilities, and if one doesn't exist, add it. bool found = false; uint32_t qFamilyIdx = 0; - VkQueueFlags search = (VK_QUEUE_GRAPHICS_BIT | VK_QUEUE_DMA_BIT); + VkQueueFlags search = (VK_QUEUE_GRAPHICS_BIT); // if we need to change the requested queues, it will point to this VkDeviceQueueCreateInfo *modQueues = NULL;