• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1uniform uint a;
2void main() {
3    sk_FragColor.xy = half2(unpackHalf2x16(a));
4    sk_FragColor.xy = half2(unpackUnorm2x16(a));
5    sk_FragColor.xy = half2(unpackSnorm2x16(a));
6    sk_FragColor = half4(unpackUnorm4x8(a));
7    sk_FragColor = half4(unpackSnorm4x8(a));
8}
9