You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
268 B

uniform uint a;
void main() {
sk_FragColor.xy = half2(unpackHalf2x16(a));
sk_FragColor.xy = half2(unpackUnorm2x16(a));
sk_FragColor.xy = half2(unpackSnorm2x16(a));
sk_FragColor = half4(unpackUnorm4x8(a));
sk_FragColor = half4(unpackSnorm4x8(a));
}