7f56b41fc0
Boolean scalar-swizzling is currently not working. Change-Id: Icd965e4b64a12311d098168f65622110d5fb3437 Bug: skia:12195 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/427038 Commit-Queue: John Stiles <johnstiles@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
11 lines
259 B
GLSL
11 lines
259 B
GLSL
|
|
out vec4 sk_FragColor;
|
|
uniform float unknownInput;
|
|
vec4 main() {
|
|
vec4 h4 = vec4(unknownInput);
|
|
h4 = vec4(vec2(unknownInput), 0.0, 1.0);
|
|
h4 = vec4(0.0, unknownInput, 1.0, 0.0);
|
|
h4 = vec4(0.0, unknownInput, 0.0, unknownInput);
|
|
return h4;
|
|
}
|