• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1uniform half4 colorGreen;
2
3void d(inout int) {}
4
5void c(out int i) {
6    // This expression is void-typed, because comma expressions take their type from the RHS.
7    12345, d(i);
8}
9
10void a(int i) {
11    c(i);
12}
13
14half4 main(float2) {
15    int i;
16    a(i);
17    return colorGreen;
18}
19