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::cycle_b`: the other half of the import cycle.
3import package::cycle_a::A_OFFSET;
5// included in the link because `pong` is used (const_asserts come along with
6// the module whose items are used).
7const_assert A_OFFSET > 0.0;
9public fn pong(x: f32) -> f32 {
10 return x * 2.0 + A_OFFSET;
Contents