Skip to content

get_dedicated_queue_index excludes VK_QUEUE_TRANSFER_BIT #321

Open
@DeltaW0x

Description

@DeltaW0x

When searching for a dedicated compute queue, detail::get_dedicated_queue_index will always try to find a queue without VK_QUEUE_TRANSFER_BIT. This is against what the Vulkan specifications say about VkQueueFlagBits:

All commands that are allowed on a queue that supports transfer operations are also allowed on a queue that supports either graphics or compute operations. Thus, if the capabilities of a queue family include VK_QUEUE_GRAPHICS_BIT or VK_QUEUE_COMPUTE_BIT, then reporting the VK_QUEUE_TRANSFER_BIT capability separately for that queue family is optional.

Because all compute queues are transfer queues too, get_dedicated_queue_index will indeed always fail to find a dedicated compute queue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions