Sign in
skia
/
skia
/
67c3ee616fb5014d483c5314900eea663f10f1e3
/
.
/
tests
/
sksl
/
workarounds
/
NegatedAtan.glsl
blob: 23c66bfd2a6220f9be8a916144fbc16f05280a3d [
file
] [
log
] [
blame
]
#version 400
out
vec4 sk_FragColor
;
uniform
float
unknownInput
;
void
main
()
{
vec2 x
=
vec2
(
unknownInput
);
sk_FragColor
.
x
=
atan
(
x
.
x
,
-
1.0
*
x
.
y
);
}