diag: don't add newline and space to StageError::InvalidWorkgroupSize

This commit is contained in:
Erich Gubler committed 2026-03-11 11:33:22 -06:00
1 parent 70b8343e06
commit 46b77dd900
1 file changed
+1 -1
+1 -1
View File
@@ -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 {