b0245494c6
The new test files are intended to be identical to the unit tests in every meaningful way. (Comments and formatting are not preserved exactly.) In cases where a unit-test method contained more than one test, multiple test files were created; in these cases, new names were invented to match the apparent intent of each invocation. Followup CLs will continue to migrate additional tests. Change-Id: I785c6761ba7ee2b25b5ddc0108321734be23b77c Bug: skia:10694 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/316678 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
11 lines
308 B
GLSL
11 lines
308 B
GLSL
|
|
precision mediump float;
|
|
precision mediump sampler2D;
|
|
out mediump vec4 sk_FragColor;
|
|
highp float test1[] = float[](1.0, 2.0, 3.0, 4.0);
|
|
highp vec2 test2[] = vec2[](vec2(1.0, 2.0), vec2(3.0, 4.0));
|
|
highp mat4 test3[] = mat4[]();
|
|
void main() {
|
|
sk_FragColor.x = (test1[0] + test2[0].x) + test3[0][0][0];
|
|
}
|