-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Strict WebGPU compliance mode #3274
Comments
What's the use case of this? You can view the downlevel flags on the adapter and error out if you only want compliant adapters. |
That's indeed a possibility but I think we'll need this distinction anyway to support the proposed |
Couldn't we automatically set that if all the native-only extensions are false on the device? |
Hmm, I guess the error messages change - "feature X not enabled" vs "unknown feature X" |
We should also use this mechanism to avoid exposing features that are not implemented in naga. For example, |
This can now be added to |
We seem to only issue a warning if we end up with a downlevel adapter/device.
wgpu/wgpu-core/src/instance.rs
Lines 303 to 313 in 3d33ace
We need a mechanism that errors in such an event.
I was thinking a feature flag.
The text was updated successfully, but these errors were encountered: