Sign in
skia
/
skia
/
437cd4d85737039dd9719667905832982b843574
/
.
/
resources
/
sksl
/
intrinsics
/
Unpack.sksl
blob: b1cc1fd861629244a8806f4c6916af70b53e095c [
file
] [
log
] [
blame
]
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
));
}