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.
1struct Vertex {
2 a: bool,
3 b: bool,
4 c: bool,
5}
7struct Input {
8 one: bool,
9 two: bool,
10 three: bool,
13fn inner(in: Input) {
14 if (in.one == in.two) {
15 discard;
16 }
19@fragment
20fn outer(v: Vertex) {
21 var input: Input;
23 input.one = v.a;
24 input.two = v.b;
25 input.three = v.c;
27 inner(input);
Contents