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-multidimensional.vert
blob
bfca36767ca469f52d62a02929e5086cebf6cbee
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
uniform vec4 an_array[1][1];
13
14
void main()
15
{
16
gl_Position = an_array[0][0];
17
}