skia2/tests/sksl/inliner/SwizzleCanBeInlinedDirectly.glsl

13 lines
202 B
Plaintext
Raw Normal View History

out vec4 sk_FragColor;
uniform vec4 inColor;
void main() {
vec4 color = inColor;
sk_FragColor = color.yzyx;
sk_FragColor = color.yzyx;
color = color.wzyx;
sk_FragColor = color;
}