unplugged-vendor/external/skia/tests/sksl/workarounds/NegatedAtanStandaloneSettings.glsl

7 lines
108 B
GLSL

out vec4 sk_FragColor;
void main() {
vec2 x = vec2(sqrt(2.0));
sk_FragColor.x = atan(x.x, -x.y);
}