skia2/tests/sksl/workarounds/FractNegativeStandaloneSettings.glsl

7 lines
92 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
void main() {
float x = -42.0;
sk_FragColor.x = fract(x);
}