skia2/tests/sksl/intrinsics/Fract.glsl

7 lines
83 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
in float a;
void main() {
sk_FragColor.x = fract(a);
}