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_fragment_program
/
fp-ex2-sat.shader_test
blob
4c04c2bf773e25c9024f760ad68d11c4369c1a4b
1
[require]
2
GL >= 1.3
3
ARB_vertex_program
4
ARB_fragment_program
5
6
[vertex program]
7
!!ARBvp1.0
8
OPTION ARB_position_invariant;
9
END
10
11
[fragment program]
12
!!ARBfp1.0
13
TEMP temp;
14
EX2_SAT temp, program.local[0].x;
15
MAD result.color, temp, {0.5}.x, {0.25}.x;
16
END
17
18
[test]
19
ortho 0 1 0 1
20
parameter local_fp 0 (2.0, 0.0, 0.0, 0.0)
21
clear color 0.0 0.0 0.0 0.0
22
clear
23
draw rect 0 0 1 1
24
probe all rgba 0.75 0.75 0.75 0.75
25