Merge pull request #2976 from jeremy-lunarg/hayes-fix-2975
[platform/upstream/glslang.git] / Test / uniformArray.frag
1 #version 130\r
2 uniform sampler2D texSampler2D;\r
3 uniform vec3 inColor;\r
4 uniform vec4 color[6];\r
5 uniform float alpha[16];\r
6 \r
7 void main()\r
8 {\r
9         vec4 texColor = color[1] + color[1];\r
10 \r
11         texColor.xyz += inColor;\r
12 \r
13         texColor.a += alpha[12];\r
14 \r
15     gl_FragColor = texColor;\r
16 }\r