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>
23 lines
792 B
GLSL
23 lines
792 B
GLSL
|
|
out vec4 sk_FragColor;
|
|
vec2 v1 = vec2(1.0);
|
|
vec2 v2 = vec2(1.0, 2.0);
|
|
vec2 v3 = vec2(1.0);
|
|
vec3 v4 = vec3(vec2(1.0), 1.0);
|
|
ivec2 v5 = ivec2(1);
|
|
ivec2 v6 = ivec2(vec2(1.0, 2.0));
|
|
vec2 v7 = vec2(ivec2(1, 2));
|
|
vec2 v8 = vec2(v5);
|
|
vec4 v9 = vec4(float(v6.x), sqrt(2.0), vec2(ivec2(3, 4)));
|
|
ivec2 v10 = ivec2(3, int(v1.x));
|
|
bvec4 v11 = bvec4(bvec2(true, false), true, false);
|
|
vec2 v12 = vec2(1.0, 0.0);
|
|
vec2 v13 = vec2(0.0);
|
|
vec2 v14 = vec2(bvec2(false));
|
|
bvec2 v15 = bvec2(true);
|
|
bvec2 v16 = bvec2(vec2(1.0));
|
|
bvec3 v17 = bvec3(true, bvec2(ivec2(77)));
|
|
void main() {
|
|
sk_FragColor.x = (((((((((((((((v1.x + v2.x) + v3.x) + v4.x) + float(v5.x)) + float(v6.x)) + v7.x) + v8.x) + v9.x) + float(v10.x)) + float(v11.x)) + v12.x) + v13.x) + v14.x) + float(v15.x)) + float(v16.x)) + float(v17.x);
|
|
}
|