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 #2891 from dneto0/hlsl-namespace
[platform/upstream/glslang.git]
/
Test
/
varyingArray.frag
1
#version 130
\r
2
uniform sampler2D texSampler2D;
\r
3
varying vec4 color;
\r
4
varying float alpha;
\r
5
\r
6
varying vec4 gl_TexCoord[6];
\r
7
\r
8
varying vec4 foo[3];
\r
9
\r
10
void main()
\r
11
{
\r
12
vec4 texColor = texture2D(texSampler2D, vec2(gl_TexCoord[4] + gl_TexCoord[5]));
\r
13
\r
14
texColor += color;
\r
15
\r
16
texColor.a = alpha;
\r
17
\r
18
gl_FragColor = foo[1] + gl_TexCoord[0] + gl_TexCoord[4] + texColor;
\r
19
}
\r