Sign in
skia
/
skia
/
9f39daff8fd5e924afa750c2daf25fd16f107c2d
/
.
/
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
);
}