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 #2892 from greg-lunarg/mb
[platform/upstream/glslang.git]
/
Test
/
spv.varyingArrayIndirect.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 userIn[2];
\r
9
\r
10
flat in int a, b;
\r
11
\r
12
void main()
\r
13
{
\r
14
vec4 texColor = texture(texSampler2D, vec2(userIn[b] + TexCoord[a] + TexCoord[5]));
\r
15
\r
16
texColor += color;
\r
17
\r
18
texColor.a = alpha;
\r
19
\r
20
gl_FragColor = TexCoord[0] + TexCoord[b] + texColor + userIn[a];
\r
21
}
\r