• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1uniform half2 h2;
2uniform half3 h3;
3uniform half4 h4;
4uniform float2 f2;
5uniform float3 f3;
6uniform float4 f4;
7void main() {
8    sk_FragColor = half4(outerProduct(f2, f2)[1].xyyy);
9    sk_FragColor = half4(outerProduct(f3, f3)[2].xyzz);
10    sk_FragColor = half4(outerProduct(f4, f4)[3]);
11    sk_FragColor = half4(outerProduct(f3, f2)[1].xyzz);
12    sk_FragColor = half4(outerProduct(f2, f3)[2].xyyy);
13    sk_FragColor = half4(outerProduct(f4, f2)[1]);
14    sk_FragColor = half4(outerProduct(f2, f4)[3].xyyy);
15    sk_FragColor = half4(outerProduct(f4, f3)[2]);
16    sk_FragColor = half4(outerProduct(f3, f4)[3].xyzz);
17    sk_FragColor = outerProduct(h2, h2)[1].xyyy;
18    sk_FragColor = outerProduct(h3, h3)[2].xyzz;
19    sk_FragColor = outerProduct(h4, h4)[3];
20    sk_FragColor = outerProduct(h3, h2)[1].xyzz;
21    sk_FragColor = outerProduct(h2, h3)[2].xyyy;
22    sk_FragColor = outerProduct(h4, h2)[1];
23    sk_FragColor = outerProduct(h2, h4)[3].xyyy;
24    sk_FragColor = outerProduct(h4, h3)[2];
25    sk_FragColor = outerProduct(h3, h4)[3].xyzz;
26}
27