Skip to content

Create only one queue per each queue family #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AmilaCG
Copy link
Contributor

@AmilaCG AmilaCG commented Dec 25, 2024

According to Creating a Vulkan logical device in Chapter 1, we should use one queue per family and set its priority to 1.

If the GPU offers multiple queues per family, the current code will use all of them and set their priority to 1. This PR will fix that behaviour by only using one queue per family and setting its priority to 1, as per the book.

Section from the book

image

@AmilaCG AmilaCG force-pushed the one-queue-per-family branch from e976620 to 1990ece Compare December 25, 2024 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant