skia2/tests/sksl/workarounds/MinAndAbsTogetherStandaloneSettings.glsl

7 lines
99 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
void main() {
float x = -5.0;
sk_FragColor.x = min(abs(x), 6.0);
}