Sign in
skia
/
skia
/
b3aadd56d187b0f037ca99f981024feda7bdab69
/
.
/
resources
/
sksl
/
workarounds
/
FractNegative.sksl
blob: 6222a24b1276ecbf6348917d757499109cf94d58 [
file
] [
log
] [
blame
]
/*#pragma settings CannotUseFractForNegativeValues*/
void
main
()
{
float
x
=
-
42.0
;
sk_FragColor
.
r
=
half
(
fract
(
x
));
}