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.10
/
linker
/
link-array-of-struct-of-array.shader_test
blob
ef828ecaf848c394d6177dd476c1f12853cf151a
1
[require]
2
GLSL >= 1.10
3
4
[fragment shader]
5
struct s {
6
vec4 v[1];
7
float f;
8
};
9
s a[1];
10
11
void main()
12
{
13
a[0].v[0] = vec4(0.0, 0.0, 0.0, 0.0);
14
a[0].f = 1.0;
15
gl_FragColor = vec4(0.0, a[0].f, 0.0 ,1.0);
16
}
17
18
[test]
19
link success