2020-12-09 21:19:37 +00:00
|
|
|
|
|
|
|
out vec4 sk_FragColor;
|
2021-03-15 18:58:57 +00:00
|
|
|
uniform vec2 a;
|
|
|
|
uniform vec4 b;
|
2020-12-09 21:19:37 +00:00
|
|
|
void main() {
|
|
|
|
sk_FragColor.x = float(packHalf2x16(a));
|
|
|
|
sk_FragColor.x = float(packUnorm2x16(a));
|
|
|
|
sk_FragColor.x = float(packSnorm2x16(a));
|
|
|
|
sk_FragColor.x = float(packUnorm4x8(b));
|
|
|
|
sk_FragColor.x = float(packSnorm4x8(b));
|
|
|
|
}
|