-
Notifications
You must be signed in to change notification settings - Fork 956
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
DX12 adapter does not support surface when multiple backends are specified in the instance #5324
Comments
very likely, yes. Would be interesting if this regressed. |
@ItsSunnyMonster I guess it's because your instance created with Vulkan backend if you enable
|
Thank you all for responding! So, if I understand correctly, a temporary fix to this problem right now is:
Is that correct? Are there any better workarounds? |
Description
When I create my instance with default options or something that specifies more than one backend such as
Backends::PRIMARY
the surface (a default window created with winit) would not be compatible with any one of the DX12 adapters returned byenumerate_adapters
. Instead, if I created the instance specifying DX12 backend in the options, DX12 adapters work fine.Repro steps
A minimal example can be found at https://github.com/ItsSunnyMonster/wgpu_crash_minimal
Expected vs observed behavior
The returned adapters should have the same behaviour regardless of what backends were specified when creating the instance.
Platform
OS: Windows 10 22H2 build 19045.4046 (Reproducible on Windows 11 and presumably other versions of windows)
GPU: AMD Radeon Vega 8 Graphics (Reproducible on machines with a discrete GPU, tested on NVidia RTX 4060 and NVidia Quadro P2200)
wgpu version: 0.19.1
The text was updated successfully, but these errors were encountered: