371fde549e
I realized that "DefaultSettings" as a name suffix was unclear, because "Default" is a different settings mode from skslc running with --nosettings. In --nosettings mode, skslc uses "standalone" settings. Change-Id: I1f5d80df0a21cec55948c4ad146169bcb34f4999 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/318210 Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com>
15 lines
249 B
GLSL
15 lines
249 B
GLSL
|
|
uniform vec4 src, dst;
|
|
vec4 blend_dst_over(vec4 src, vec4 dst) {
|
|
return (1.0 - dst.w) * src + dst;
|
|
}
|
|
vec4 main() {
|
|
vec4 _0_blend_dst_over;
|
|
{
|
|
_0_blend_dst_over = (1.0 - dst.w) * src + dst;
|
|
}
|
|
|
|
return _0_blend_dst_over;
|
|
|
|
}
|