Sign in
cobalt
/
cobalt
/
b108943525536ed016362e9c99ce219a9c351109
/
.
/
third_party
/
skia
/
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
));
}