• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1uniform half2 a;
2uniform half4 b;
3void main() {
4    sk_FragColor.x = half(packHalf2x16(a));
5    sk_FragColor.x = half(packUnorm2x16(a));
6    sk_FragColor.x = half(packSnorm2x16(a));
7    sk_FragColor.x = half(packUnorm4x8(b));
8    sk_FragColor.x = half(packSnorm4x8(b));
9}
10