skia2/tests/sksl/intrinsics/Length.glsl

9 lines
137 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
uniform float a;
uniform vec4 b;
void main() {
sk_FragColor.x = length(a);
sk_FragColor.x = length(b);
}