7f6378f7f8
This simplifies life when revising the swizzle logic. Change-Id: I7fc63c0cc845c4741c17c82b3078040264b61ba0 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/317379 Commit-Queue: John Stiles <johnstiles@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
12 lines
377 B
Plaintext
12 lines
377 B
Plaintext
void main() {
|
|
half v = half(sqrt(1));
|
|
sk_FragColor = half4(v).rgba;
|
|
sk_FragColor = half4(v).rgb0.abgr;
|
|
sk_FragColor = half4(v).rgba.00ra;
|
|
sk_FragColor = half4(v).rgba.rrra.00ra.11ab;
|
|
sk_FragColor = half4(v).abga.gb11;
|
|
sk_FragColor = half4(v).abgr.abgr;
|
|
sk_FragColor = half4(half4(v).rrrr.bb, 1, 1);
|
|
sk_FragColor = half4(half4(v).ba.grgr);
|
|
}
|