mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 23:11:01 +01:00
[core] Promote unexpected varying types to log::error. (#9982)
This commit is contained in:
1 parent
7a655581ff
commit
a05a2b27d4
1 file changed
+1
-6
@@ -1160,12 +1160,7 @@ impl Interface {
|
||||
return;
|
||||
}
|
||||
ref other => {
|
||||
//Note: technically this should be at least `log::error`, but
|
||||
// the reality is - every shader coming from `glslc` outputs an array
|
||||
// of clip distances and hits this path :(
|
||||
// So we lower it to `log::debug` to be less annoying as
|
||||
// there's nothing the user can do about it.
|
||||
log::debug!("Unexpected varying type: {other:?}");
|
||||
log::error!("Unexpected varying type: {other:?}");
|
||||
return;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user