From 46b77dd900b174b56b258748cf363440776a9dbe Mon Sep 17 00:00:00 2001 From: Erich Gubler Date: Tue, 10 Mar 2026 12:09:31 -0600 Subject: [PATCH] diag: don't add newline and space to `StageError::InvalidWorkgroupSize` --- wgpu-core/src/validation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu-core/src/validation.rs b/wgpu-core/src/validation.rs index 08b474f0d..51b885c39 100644 --- a/wgpu-core/src/validation.rs +++ b/wgpu-core/src/validation.rs @@ -282,7 +282,7 @@ impl WebGpuError for InputError { #[non_exhaustive] pub enum StageError { #[error( - "Shader entry point's workgroup size {current:?} ({current_total} total invocations) must be less or equal to the per-dimension + "Shader entry point's workgroup size {current:?} ({current_total} total invocations) must be less or equal to the per-dimension \ limit `Limits::{per_dimension_limit}` of {limit:?} and the total invocation limit `Limits::{total_limit}` of {total}" )] InvalidWorkgroupSize {