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
/
array-16.vert
blob
c552824551b4f43f8a79f35d993ebab62df2e138
1
#version 120
2
/* FAIL - type mismatch in whole-array assignment
3
* The first assignment implies that the array `a' must be at least vec4[3].
4
*/
5
6
void main()
7
{
8
vec4 a[];
9
10
a[2] = gl_Vertex;
11
a = vec4 [2] (vec4(1.0), vec4(2.0));
12
13
gl_Position = gl_Vertex;
14
}