skia2/tests/sksl/inliner/SwizzleCanBeInlinedDirectly.glsl

12 lines
211 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;
false;
sk_FragColor = color;
}