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_ubo/referenced-by-shader: pass if shader compiler moves UBOs between shaders
[piglit.git]
/
tests
/
spec
/
arb_vertex_program
/
instructions
/
lit_x_lt_0.shader_test
blob
da4dd04df4dd61b9105c8a1b7fc4ebb3d1fa737d
1
[require]
2
GL >= 1.3
3
ARB_vertex_program
4
5
[vertex program]
6
!!ARBvp1.0
7
PARAM values = {-0.5, 0.0, 0.0, 0.0};
8
MOV result.position, vertex.position;
9
LIT result.color, values;
10
END
11
12
[test]
13
ortho -4 4 -4 4
14
draw rect -0.25 -0.25 0.5 0.5
15
# 1, values.x, 0, 1
16
relative probe rgba (0.5, 0.5) (1.0, 0.0, 0.0, 1.0)