projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2f4c80
)
progs/vp: add param and imm test
author
Keith Whitwell
<keithw@vmware.com>
Fri, 20 Nov 2009 03:50:19 +0000
(19:50 -0800)
committer
Keith Whitwell
<keithw@vmware.com>
Fri, 20 Nov 2009 03:50:19 +0000
(19:50 -0800)
progs/vp/add-param-imm.txt
[new file with mode: 0644]
patch
|
blob
diff --git a/progs/vp/add-param-imm.txt
b/progs/vp/add-param-imm.txt
new file mode 100644
(file)
index 0000000..
90bcf96
--- /dev/null
+++ b/
progs/vp/add-param-imm.txt
@@ -0,0
+1,7
@@
+!!ARBvp1.0
+TEMP R0;
+PARAM Emission = state.material.emission;
+ADD R0, vertex.color, {-0.5}.x;
+ADD result.color, R0, Emission.w;
+MOV result.position, vertex.position;
+END