• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1uniform half4 testInputs, colorGreen, colorRed;
2
3half4 main(float2 coords) {
4    half4 v = testInputs;
5    v = half4(v.x, 1, 1, 1);
6    v = half4(v.xy, 1, 1);
7    v = half4(v.x1, 1, 1);
8    v = half4(v.0y, 1, 1);
9    v = half4(v.xyz, 1);
10    v = half4(v.xy1, 1);
11    v = half4(v.x0z, 1);
12    v = half4(v.x10, 1);
13    v = half4(v.1yz, 1);
14    v = half4(v.0y1, 1);
15    v = half4(v.11z, 1);
16    v = v.xyzw;
17    v = v.xyz1;
18    v = v.xy0w;
19    v = v.xy10;
20    v = v.x1zw;
21    v = v.x0z1;
22    v = v.x11w;
23    v = v.x101;
24    v = v.1yzw;
25    v = v.0yz1;
26    v = v.0y1w;
27    v = v.1y11;
28    v = v.00zw;
29    v = v.00z1;
30    v = v.011w;
31    return v == half4(0, 1, 1, 1) ? colorGreen : colorRed;
32}
33