skia2/tests/sksl/intrinsics/Dot.glsl

11 lines
150 B
Plaintext
Raw Normal View History

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