skia2/tests/sksl/intrinsics/Dot.glsl

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