refactor: break StageError::InvalidWorkgroupSize diag. at 100 columns

This commit is contained in:
Erich Gubler committed 2026-03-11 11:33:22 -06:00
1 parent d7d2ede9fb
commit e5b0edea79
1 file changed
+4 -2
+4 -2
View File
@@ -282,8 +282,10 @@ impl WebGpuError for InputError {
#[non_exhaustive]
pub enum StageError {
#[error(
"Shader entry point's workgroup size {dimensions:?} ({total} total invocations) must be less or equal to the per-dimension \
limit `Limits::{per_dimension_limits_desc}` of {per_dimension_limits:?} and the total invocation limit `Limits::{total_limit_desc}` of {total_limit}"
"Shader entry point's workgroup size {dimensions:?} ({total} total invocations) must be \
less or equal to the per-dimension limit `Limits::{per_dimension_limits_desc}` of \
{per_dimension_limits:?} and the total invocation limit `Limits::{total_limit_desc}` of \
{total_limit}"
)]
InvalidWorkgroupSize {
dimensions: [u32; 3],