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
perf/pixel-rate: new pixel throughput microbenchmark
[piglit.git]
/
tests
/
spec
/
glsl-1.10
/
execution
/
glsl-fs-implicit-array-size-02.shader_test
blob
74f5bfbf880c1d47a9fa41c1554dc347b9c4836b
1
[require]
2
# This test reproduces Mesa bugzilla #33219.
3
GLSL >= 1.10
4
5
[fragment shader]
6
void myfunc()
7
{
8
float a[];
9
10
a[5] = 0.0;
11
gl_FragColor = vec4(a[5], 0, 0, 1.0);
12
}
13
14
void main()
15
{
16
myfunc();
17
}
18
19
[test]
20
draw rect -1 -1 2 2
21
probe all rgba 0 0 0 1.0