Sign in
skia
/
skia
/
be82005209c06840f0d5b13156d160a3e0efe702
/
.
/
tests
/
sksl
/
workarounds
/
NegatedAtan.glsl
blob: 3abf6847191d4a16e79e6cec76e841edfbe56668 [
file
] [
log
] [
blame
]
#version 400
out
vec4 sk_FragColor
;
void
main
()
{
vec2 x
=
vec2
(
sqrt
(
2.0
));
sk_FragColor
.
x
=
atan
(
x
.
x
,
-
1.0
*
x
.
y
);
}