projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52a68b9
)
fp: new kill + position test
author
Keith Whitwell
<keithw@vmware.com>
Fri, 6 Mar 2009 20:42:40 +0000
(20:42 +0000)
committer
Keith Whitwell
<keithw@vmware.com>
Fri, 6 Mar 2009 21:00:18 +0000
(21:00 +0000)
progs/fp/kill-pos.txt
[new file with mode: 0644]
patch
|
blob
diff --git a/progs/fp/kill-pos.txt
b/progs/fp/kill-pos.txt
new file mode 100644
(file)
index 0000000..
5ff4f6f
--- /dev/null
+++ b/
progs/fp/kill-pos.txt
@@ -0,0
+1,9
@@
+!!ARBfp1.0
+TEMP R0;
+SUB R0.xy, fragment.position, {125}.x;
+MOV R0.zw, {0}.x;
+DP3 R0, R0, R0;
+SUB R0.x, R0, {10000}.x;
+KIL -R0.x;
+MOV result.color, fragment.color;
+END