Sign in
skia
/
skia
/
7e33d95f4f881f7d304ea81db39d20be4dab4416
/
.
/
resources
/
sksl
/
intrinsics
/
FindMSB.sksl
blob: 66b2dd31365bae08e36b2e56a51604a1ebebd301 [
file
] [
log
] [
blame
]
uniform
int
a
;
uniform
uint
b
;
void
main
()
{
sk_FragColor
.
x
=
half
(
findMSB
(
a
));
sk_FragColor
.
y
=
half
(
findMSB
(
b
));
}