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
arb_program_interface_query: set vs_input2[1][0] as valid name
[piglit.git]
/
tests
/
spec
/
glsl-1.30
/
execution
/
fs-large-local-array-vec4.shader_test
blob
29b222342d6386c1a4676f942ff8d8f86d30d6f7
1
[require]
2
GLSL >= 1.30
3
4
[vertex shader passthrough]
5
6
[fragment shader]
7
uniform uint i;
8
void main()
9
{
10
vec4 A[130];
11
A[20].g = 0;
12
A[i].g = 37;
13
A[i].r = 1;
14
gl_FragColor.rba = vec3(0.0, 0.0, 1.0);
15
gl_FragColor.g = float(A[20].g == 37);
16
}
17
18
[test]
19
clear color 1.0 0.0 0.0 1.0
20
clear
21
uniform uint i 19
22
draw rect -1 -1 2 2
23
probe all rgba 0.0 0.0 0.0 1.0
24
25
clear
26
uniform uint i 20
27
draw rect -1 -1 2 2
28
probe all rgba 0.0 1.0 0.0 1.0