Sign in
skia
/
skia
/
ed92d84ffd3aeb34c92e25ecb082f089703fc0ec
/
.
/
tests
/
sksl
/
intrinsics
/
BitCount.glsl
blob: b2af45aad3af712380e76dd2250a6614a445dcdc [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
uniform
int
a
;
uniform
uint
b
;
void
main
()
{
sk_FragColor
.
x
=
float
(
bitCount
(
a
));
sk_FragColor
.
y
=
float
(
bitCount
(
b
));
}