projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #2913 from greg-lunarg/i2905
[platform/upstream/glslang.git]
/
Test
/
spv.uniformArray.frag
1
#version 140
\r
2
\r
3
uniform sampler2D texSampler2D;
\r
4
in vec3 inColor;
\r
5
in vec4 color[6];
\r
6
in float alpha[16];
\r
7
\r
8
void main()
\r
9
{
\r
10
vec4 texColor = color[1] + color[1];
\r
11
\r
12
texColor.xyz += inColor;
\r
13
\r
14
texColor.a += alpha[12];
\r
15
\r
16
gl_FragColor = texColor;
\r
17
}
\r