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
/
spv.varyingArray.frag
1
#version 140
\r
2
uniform sampler2D texSampler2D;
\r
3
in vec4 color;
\r
4
in float alpha;
\r
5
\r
6
in vec4 TexCoord[6];
\r
7
\r
8
in vec4 foo[3];
\r
9
\r
10
void main()
\r
11
{
\r
12
vec4 texColor = texture(texSampler2D, vec2(TexCoord[4] + TexCoord[5]));
\r
13
\r
14
texColor += color;
\r
15
\r
16
texColor.a = alpha;
\r
17
\r
18
gl_FragColor = foo[1] + TexCoord[0] + TexCoord[4] + texColor;
\r
19
}
\r