2020-12-09 21:19:37 +00:00
|
|
|
|
|
|
|
out vec4 sk_FragColor;
|
2021-03-15 18:58:57 +00:00
|
|
|
uniform uint a;
|
2020-12-09 21:19:37 +00:00
|
|
|
void main() {
|
|
|
|
sk_FragColor.xy = unpackHalf2x16(a);
|
|
|
|
sk_FragColor.xy = unpackUnorm2x16(a);
|
|
|
|
sk_FragColor.xy = unpackSnorm2x16(a);
|
|
|
|
sk_FragColor = unpackUnorm4x8(a);
|
|
|
|
sk_FragColor = unpackSnorm4x8(a);
|
|
|
|
}
|