From a05a2b27d4562e90ad0873d63abfe491c5897bb5 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Mon, 3 Aug 2026 01:53:22 -0700 Subject: [PATCH] [core] Promote unexpected varying types to `log::error`. (#9982) --- wgpu-core/src/validation.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/wgpu-core/src/validation.rs b/wgpu-core/src/validation.rs index 2f83fc46e..1ea7e922e 100644 --- a/wgpu-core/src/validation.rs +++ b/wgpu-core/src/validation.rs @@ -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; } };