xref: /aosp_15_r20/external/skia/DATA/skia_resources/sksl/workarounds/NegatedAtan.sksl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1/*#pragma settings MustForceNegatedAtanParamToFloat*/
2
3uniform float unknownInput;
4
5void main() {
6    float2 x = unknownInput.xx;
7    sk_FragColor.r = half(atan(x.x, -x.y));
8}
9