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
/
length.frag
1
#version 120
\r
2
\r
3
uniform vec4 u[3];
\r
4
\r
5
#ifdef TEST_POST_110
\r
6
varying vec2 v[];
\r
7
#else
\r
8
varying vec2 v[2];
\r
9
#endif
\r
10
\r
11
void main()
\r
12
{
\r
13
int a[5];
\r
14
\r
15
vec2 t = v[0] + v[1];
\r
16
\r
17
gl_FragColor = vec4(u.length() * v.length() * a.length());
\r
18
}
\r