skia2/tests/sksl/workarounds/BlendModesAllZeroVec.sksl
John Stiles 8f84cee9ab Add test for sk_Caps.inBlendModesFailRandomlyForAllZeroVec.
This CL also alphabetizes the various factories in ShaderCapsFactory.

Change-Id: I0378ceb821678173e72690d5563d2a9a92d90201
Bug: skia:10694, skia:10819
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/324257
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2020-10-09 13:44:43 +00:00

9 lines
180 B
Plaintext

/*#pragma settings BlendModesFailRandomlyForAllZeroVec*/
in half4 src, dst;
void main() {
sk_FragColor = blend_src_in(src, dst);
sk_FragColor = blend_dst_in(src, dst);
}