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
/
arb_vertex_program
/
instructions
/
lit_degenerate_case.shader_test
blob
2c1013beb13ecb37d94e5f21474ecc8c2892bc50
1
# test that pow(0, 0) evaluates to 1.
2
[require]
3
GL >= 1.3
4
ARB_vertex_program
5
6
[vertex program]
7
!!ARBvp1.0
8
PARAM values = {0.65, 0.0, 0.0, 0.0};
9
MOV result.position, vertex.position;
10
LIT result.color, values;
11
END
12
13
[test]
14
ortho -4 4 -4 4
15
draw rect -0.25 -0.25 0.5 0.5
16
# 1, values.x, 0^0, 1
17
relative probe rgba (0.5, 0.5) (1.0, 0.65, 1.0, 1.0)