Skip to content

suppress wgpu warnings by default#1066

Merged
cart merged 1 commit intobevyengine:masterfrom
cart:suppress-wgpu-warnings
Dec 15, 2020
Merged

suppress wgpu warnings by default#1066
cart merged 1 commit intobevyengine:masterfrom
cart:suppress-wgpu-warnings

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