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>
8 lines
188 B
Plaintext
8 lines
188 B
Plaintext
void main() {
|
|
half x = half(sqrt(4));
|
|
sk_FragColor = x.xx01;
|
|
sk_FragColor = half(sqrt(4)).xx01;
|
|
sk_FragColor = half(sqrt(4)).0x01;
|
|
sk_FragColor = half(sqrt(4)).0x0x;
|
|
}
|