repo.or.cz
/
piglit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ext_gpu_shader4: add compiler tests for everything
[piglit.git]
/
tests
/
spec
/
glsl-1.20
/
compiler
/
structure-and-array-operations
/
array-of-array-structure-field.vert
blob
75be4ad7c155445d2028b31e33e6d84fbc7706c1
1
/* [config]
2
* expect_result: fail
3
* glsl_version: 1.20
4
* [end config]
5
*
6
* From page 19 (page 25 of the PDF) of the GLSL 1.20 spec:
7
*
8
* "Only one-dimensional arrays may be declared."
9
*/
10
#version 120
11
12
attribute vec4 vert;
13
14
struct S {
15
vec4 [2] x[2];
16
};
17
18
void main()
19
{
20
gl_Position = vert;
21
}