skia2/tests/sksl/intrinsics/Reflect.glsl

11 lines
176 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 = reflect(a, b);
sk_FragColor = reflect(c, d);
}