skia2/tests/sksl/intrinsics/Mod.glsl

12 lines
198 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
uniform float a;
uniform float b;
uniform vec4 c;
uniform vec4 d;
void main() {
sk_FragColor.x = mod(a, b);
sk_FragColor = mod(c, b);
sk_FragColor = mod(c, d);
}