diff --git a/rvk/device.cpp b/rvk/device.cpp index 57ac16a..c8a7e2e 100644 --- a/rvk/device.cpp +++ b/rvk/device.cpp @@ -209,7 +209,8 @@ Opt Physical_Device::queue_index(Queue_Family f) { case Queue_Family::compute: return (flags & VK_QUEUE_COMPUTE_BIT) && !(flags & VK_QUEUE_GRAPHICS_BIT); case Queue_Family::transfer: - return (flags & VK_QUEUE_TRANSFER_BIT) && !(flags & VK_QUEUE_GRAPHICS_BIT); + return (flags & VK_QUEUE_TRANSFER_BIT) && !(flags & VK_QUEUE_GRAPHICS_BIT) && + !(flags & VK_QUEUE_COMPUTE_BIT); default: RPP_UNREACHABLE; } };