Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / canvas / webgl / resources / intUniformShader.vert
blobeaa2a592eb663a8e03e80111c7237ed0869151b1
1 uniform int ival;
2 uniform ivec2 ival2;
3 uniform ivec3 ival3;
4 uniform ivec4 ival4;
6 void main()
8     int sum = ival
9             + ival2[0] + ival2[1]
10             + ival3[0] + ival3[1] + ival3[2]
11             + ival4[0] + ival4[1] + ival4[2] + ival4[3];
12     gl_Position = vec4(sum, 0.0, 0.0, 1.0);