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>
12 lines
190 B
Plaintext
12 lines
190 B
Plaintext
uniform half unknownInput; // 1
|
|
|
|
half4 main(float2 coords) {
|
|
int i = int(unknownInput);
|
|
int4 i4 = i.xxxx;
|
|
i4 = i.xx01;
|
|
i4 = i.0x10;
|
|
i4 = i.0x0x;
|
|
|
|
return half4(i4);
|
|
}
|