projects
/
mesa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
progs/fp: Add a bit of local variable testing to fp-tri
[mesa.git]
/
progs
/
fp
/
local.txt
1
!!ARBfp1.0
2
TEMP R0;
3
PARAM c[4] = { { 0, 0, 0, 0 },
4
program.local[0..1],
5
{ 1, 1, 1, 1 } };
6
MOV R0, c[1];
7
SUB R0, R0, c[0];
8
ADD R0, R0, c[2];
9
MUL R0, R0, c[3];
10
MOV result.color, R0;
11
END