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
/
linker
/
double-indirect-1.shader_test
blob
c1d46e39324b51333a431df9b429ca3750ab338e
1
# Demonstrates a crash in i965. The double indirection via const arrays
2
# is required to trigger this.
3
4
[require]
5
GLSL >= 1.20
6
7
[vertex shader]
8
#version 120
9
10
const float a[] = float[](0);
11
const int b[] = int[](0);
12
13
uniform int n;
14
15
void main()
16
{
17
gl_Position = vec4(a[b[n]], 0, 0, 1);
18
}
19
20
[test]
21
link success