KhronosGroup / KhronosGroup/Vulkan-Loader
Sort physical devices on macOS platforms
@charles-lunarg is already working on this.
Since Feb 15, 2022.
- Dominant language
- C
- Stars
- 696
- Forks
- 343
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 17
Description
These platforms do not have a ton of drivers available for them, but they do have a mix of physical (MoltenVK) and CPU (swiftshader) implementations. While most apps are good about choosing the GPU they want, the loader currently doesn't specify the ordering of drivers on macOS. Since there is ongoing work to rectify that for Linux, a similar albeit smaller in scope change should be added for macOS.
My proposed ordering is to ensure that CPU implementations appear after the hardware implementations. This prevents using the CPU for rendering when the app didn't intend to do so.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.