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 Input {
2 one: bool,
3 two: bool,
4 three: bool,
5}
7fn inner(in: Input) {
8 if (in.one && in.two) {
9 discard;
10 }
13@fragment
14fn outer(thing: bool, thing2: bool, thing3: bool) {
15 var in: Input;
16 in.one = thing;
17 in.two = thing2;
18 in.three = thing3;
19 inner(in);
Contents