Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / canvas / webgl / resources / floatUniformShader.vert
blob32db523e85694ded990570968648ac129113017e
1 uniform float fval;
2 uniform vec2 fval2;
3 uniform vec3 fval3;
4 uniform vec4 fval4;
6 void main()
8     float sum = fval
9             + fval2[0] + fval2[1]
10             + fval3[0] + fval3[1] + fval3[2]
11             + fval4[0] + fval4[1] + fval4[2] + fval4[3];
12     gl_Position = vec4(sum, 0.0, 0.0, 1.0);