Skip to content

Conversation

@flibitijibibo
Copy link
Collaborator

Grossly untested!

Fixes #14392

@thatcosmonaut
Copy link
Collaborator

This approach seems generally fine to me.

This allows us to treat Dozen as an "other" driver, rather than blacklisting it outright.
@flibitijibibo
Copy link
Collaborator Author

Dunno why it removed the review request, so will say reviews from both would be very appreciated! The latest push also clarifies what actually goes into a device ranking, and should help isolate any future work needed to refine the ranking system.

This prevents devices without presentation/graphics support from getting ranked.
…lkan devices.

This makes it a bit clearer what the "minimum" is vs. the "best", which should be two separate queries.
@flibitijibibo flibitijibibo changed the title gpu: Check for MSFT_layered_driver, skip layered drivers during enumeration gpu: Refactor Vulkan device enumeration, lower priority for Dozen Nov 7, 2025
This block was a sloppy way of trying to avoid prioritizing lavapipe over another device, but truthfully the only way to guarantee avoiding CPU drivers is to add a property to allow apps to require hardware acceleration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SDL Vulkan doesn't respect VK_MSFT_layered_driver - uses DZN despite native vulkan ICD being present.

3 participants