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

suppress wgpu warnings by default #1066

Merged
merged 1 commit into from
Dec 15, 2020

Conversation

cart
Copy link
Member

@cart cart commented Dec 14, 2020

They are generally unactionable and noisy. They scare users constantly / make them assume they are doing something wrong. Almost without exception they are:

  • Warnings about gaps in Naga validation layers. Naga is still pretty new and it can't fully validate shaders. Disabling the validation layers also produces a warning that the validation layers are disabled.
  • Warnings about unsupported features / fallbacks (ex: falling back to Fifo vsync when Mailbox isn't supported)

These can still be opted into by setting the RUST_LOG=wgpu=warn environment variable.

@cart cart added the C-Feature A new feature, making something new possible label Dec 14, 2020
@cart cart merged commit 45e2be3 into bevyengine:master Dec 15, 2020
@fopsdev fopsdev mentioned this pull request Jan 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Feature A new feature, making something new possible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant