Sign in
skia
/
skia
/
8d2fb64247f0f8f5e00f6895464f94ab705c9b83
/
.
/
tests
/
sksl
/
intrinsics
/
FindMSB.glsl
blob: ba0ae07efcf39bc44ebf3b8b4a551abc34c64864 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
uniform
int
a
;
uniform
uint
b
;
void
main
()
{
sk_FragColor
.
x
=
float
(
findMSB
(
a
));
sk_FragColor
.
y
=
float
(
findMSB
(
b
));
}