repo.or.cz
/
piglit
/
hramrach.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add more structure constructor tests.
[piglit/hramrach.git]
/
tests
/
glslparsertest
/
glsl2
/
loop-01.vert
blob
4173f29e0ca9273dc01e9e83a9e2490cd3282c58
1
/* PASS */
2
uniform int count;
3
uniform vec4 data[10];
4
5
void main()
6
{
7
vec4 value = vec4(0.0);
8
9
for (int i = 0; i < count; i++) {
10
value += data[i];
11
}
12
13
gl_Position = value;
14
}