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