-
Notifications
You must be signed in to change notification settings - Fork 933
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
Pick supported adapter for examples #6522
Comments
teoxoy
changed the title
Raytracing device enumeration
Pick supported adapter for examples
Nov 12, 2024
This code would have to be modified to enumerate all adapters and pick the one that satisfies the required features. wgpu/examples/src/framework.rs Lines 281 to 295 in 6a60458
|
7 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
On laptops with multiple graphics cards, when trying to run the raytracing examples I get the panic:
Repro steps
Run the raytracing example on a laptop with an AMD integrated graphics card and a NVidia RTX card.
Expected vs observed behavior
Ideally, we should be able to select the right graphics card prior to instantiating a raytracing pipeline. I'd be open to helping push this along but have limited knowledge of
wgpu
.Platform
Ubuntu 24.04 on a Razer Blade 14 AMD Ryzen 9 5900HX with RTX3060.
The text was updated successfully, but these errors were encountered: