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::util::deep::mix`. Note that the intermediate module
2// `package::util::deep` has no source file of its own: it is only a directory.
4// chained super import: `super::super` = `package::util`, then reaches into
5// its `ops` submodule.
6import super::super::ops::double;
8public fn mix2(x: f32) -> f32 {
9 // inline import with a `super` prefix: `super::super` = `package::util`.
10 return double(x) * 0.5 + super::super::dot2(vec2f(x), vec2f(1.0));
Contents