Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
skia
/
7a3f5506b65ca3a05eed8c07cf341bc334cab121
/
.
/
tests
/
sksl
/
workarounds
/
FractNegative.glsl
blob: bdc6ff3f2f41e7f91b9093dbe5451188a3c004e8 [
file
] [
log
] [
blame
]
#version 400
out
vec4 sk_FragColor
;
void
main
()
{
float
x
=
-
42.0
;
sk_FragColor
.
x
=
(
0.5
-
sign
(
x
)
*
(
0.5
-
fract
(
abs
(
x
))));
}