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.

10 lines
272 B

uniform half2 a;
uniform half4 b;
void main() {
sk_FragColor.x = half(packHalf2x16(a));
sk_FragColor.x = half(packUnorm2x16(a));
sk_FragColor.x = half(packSnorm2x16(a));
sk_FragColor.x = half(packUnorm4x8(b));
sk_FragColor.x = half(packSnorm4x8(b));
}