repo.or.cz
/
glslang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump github/codeql-action from 3.27.1 to 3.27.4
[glslang.git]
/
Test
/
varyingArray.frag
blob
3bd152fe9b66696d5a84a43f3df733fc2fce798d
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