5f675be193
This does not give us 100% coverage of intrinsics yet, but it is a pretty good start. Change-Id: I97d49324db1afd9f2975c2eeafbacdead710d4aa Bug: skia:11054 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/341977 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
9 lines
263 B
Plaintext
9 lines
263 B
Plaintext
in uint a;
|
|
void main() {
|
|
sk_FragColor.xy = half2(unpackHalf2x16(a));
|
|
sk_FragColor.xy = half2(unpackUnorm2x16(a));
|
|
sk_FragColor.xy = half2(unpackSnorm2x16(a));
|
|
sk_FragColor = half4(unpackUnorm4x8(a));
|
|
sk_FragColor = half4(unpackSnorm4x8(a));
|
|
}
|