Skip to content
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

List Dx12 adapters before vulkan ones #4156

Closed
wants to merge 2 commits into from
Closed

Conversation

nical
Copy link
Contributor

@nical nical commented Sep 20, 2023

Checklist

  • Run cargo clippy.
  • Add change to CHANGELOG.md. See simple instructions inside file.

Description

I'm not sure whether it's possible to see vulkan adapters on Mac (maybe with moltenvk). In any case, on Windows and Mac it makes more sense to present Dx12 and Metal first, so that programs that pick the first adapter (for example the CTS), get the most sensible default.

Dx11 being more of a fallback option should still be after vulkan on windows.

@nical
Copy link
Contributor Author

nical commented Sep 20, 2023

Lets see if this affects wgpu's own CI.

@ErichDonGubler
Copy link
Member

Related: Firefox's bug 1836816

Copy link
Member

@ErichDonGubler ErichDonGubler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, tho I don't have merge rights.

@teoxoy
Copy link
Member

teoxoy commented Sep 20, 2023

I thought #2719 is a prerequisite for this.

Lets see if this affects wgpu's own CI.

I don't think it will since wgpu's Windows CI has no Vulkan drivers installed (it always uses WARP).

@cwfitzgerald
Copy link
Member

Closing as #2719 is a hard prereq

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.

4 participants