skia2/tests/sksl/intrinsics/Length.glsl

9 lines
127 B
Plaintext
Raw Normal View History

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