Search across packages, versions, files, declarations, and comments. Use multiple terms to narrow results (AND), and add @vertex, @fragment, or @compute to filter by shader stage.
1// module `package::legacy`: a plain WGSL file consumed as a WESL module
2// (used when no .wesl file exists for the module path).
4fn legacy_fn(x: f32) -> f32 {
5 return clamp(x, 0.0, 1.0);
6}
Contents