c9d65f0b8a
Bug: oss-fuzz:38140 Change-Id: I76a1b3ef8289b3089192d043d173677c00741a54 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/445836 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
8 lines
167 B
Plaintext
8 lines
167 B
Plaintext
half4 blend_src_over(half4 src, half4 dst) {
|
|
return src + (1 - src.a)*dst;
|
|
}
|
|
|
|
half4 main(half4 src, half4 dst) {
|
|
return blend_src_over(src, half4(1) - dst);
|
|
}
|