Sign in
skia
/
skia
/
b3aadd56d187b0f037ca99f981024feda7bdab69
/
.
/
resources
/
sksl
/
workarounds
/
NegatedAtan.sksl
blob: 33045a1f8722388e64876c59f4b4d3876390e662 [
file
] [
log
] [
blame
]
/*#pragma settings MustForceNegatedAtanParamToFloat*/
uniform
float
unknownInput
;
void
main
()
{
float2 x
=
unknownInput
.
xx
;
sk_FragColor
.
r
=
half
(
atan
(
x
.
x
,
-
x
.
y
));
}