- remove compute and sparse requirements as we use neither

This commit is contained in:
Magnus Norddahl 2019-03-07 18:23:04 +01:00
parent 6db231596f
commit e823d5da52

View file

@ -313,7 +313,7 @@ void VulkanDevice::selectPhysicalDevice()
for (const auto& queueFamily : queueFamilies)
{
// Only accept a decent GPU for now..
VkQueueFlags gpuFlags = (VK_QUEUE_GRAPHICS_BIT | VK_QUEUE_COMPUTE_BIT | VK_QUEUE_TRANSFER_BIT | VK_QUEUE_SPARSE_BINDING_BIT);
VkQueueFlags gpuFlags = (VK_QUEUE_GRAPHICS_BIT | VK_QUEUE_TRANSFER_BIT);
if (queueFamily.queueCount > 0 && (queueFamily.queueFlags & gpuFlags) == gpuFlags)
{
graphicsFamily = i;