bfc9be0f77
This will allow us to load these inputs for unit testing in `dm`. Change-Id: Id256ba7c30d3ec94b98048e47af44cf9efe580d5 Bug: skia:11009 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/357282 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
21 lines
438 B
Plaintext
21 lines
438 B
Plaintext
/*#pragma settings NoInline*/
|
|
|
|
half2 glob = half2(1);
|
|
|
|
half4 fn(half a, out half2 b, inout half2 c, inout half3 d) {
|
|
a = sk_FragColor.r + a;
|
|
b = sk_FragColor.gb - glob.y;
|
|
c *= a;
|
|
d = sk_FragColor.aaa / d;
|
|
return half4(a, b.x, c.y, d.x);
|
|
}
|
|
|
|
void main() {
|
|
half2 a = half2(1);
|
|
half3 b = half3(2);
|
|
half4x4 c = half4x4(3);
|
|
half3x3 d = half3x3(4);
|
|
|
|
sk_FragColor = fn(a.x, b.yz, glob.yx, d[1].zyx);
|
|
}
|