skia2/tests/sksl/intrinsics/Distance.glsl

11 lines
180 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 = distance(a, b);
sk_FragColor.x = distance(c, d);
}