Sign in
skia
/
skia
/
ed92d84ffd3aeb34c92e25ecb082f089703fc0ec
/
.
/
tests
/
sksl
/
intrinsics
/
Unpack.glsl
blob: cadd99f4a7b5fa5fafa1371dc40644a3163ec68b [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
uniform
uint
a
;
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
);
}