skia2/resources/sksl/intrinsics/Mod.sksl

8 lines
147 B
Plaintext
Raw Normal View History

uniform half a, b;
uniform half4 c, d;
void main() {
sk_FragColor.x = mod(a, b);
sk_FragColor = mod(c, b);
sk_FragColor = mod(c, d);
}