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
ovr_multiview: add some basic glsl tests
[piglit.git]
/
tests
/
spec
/
arb_vertex_program
/
instructions
/
ex2.shader_test
blob
fc0c9d63eb9cda1a210ef6a3ed676f9adbfc086c
1
[require]
2
GL >= 1.3
3
ARB_vertex_program
4
5
[vertex program]
6
!!ARBvp1.0
7
PARAM scale = {0.01, 0.01, 0.01, 0.01};
8
PARAM values = {0.0, 1.0, 4.0, -2.0 };
9
TEMP t;
10
MOV result.position, vertex.position;
11
EX2 t.x, values.x;
12
EX2 t.y, values.y;
13
EX2 t.z, values.z;
14
EX2 t.w, values.w;
15
MUL result.color, t, scale;
16
END
17
18
[test]
19
ortho -4 4 -4 4
20
draw rect -0.25 -0.25 0.5 0.5
21
relative probe rgba (0.5, 0.5) (0.01, 0.02, 0.16, 0.0025)