summaryrefslogtreecommitdiff
path: root/progs/fp/kil-pos.txt
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-03-23 18:37:33 +0000
committerKeith Whitwell <keithw@vmware.com>2009-03-23 18:39:36 +0000
commit103a4bd71136b14424a4af5a2eadf56c51692115 (patch)
treea301b2cdd7f63010ae8c0169ba6fe5a523509fda /progs/fp/kil-pos.txt
parente9d156e9e4f92ae1ce70bd563c251b34d238c4bc (diff)
progs/fp: pass texcoord to triangle, add a test shader
Diffstat (limited to 'progs/fp/kil-pos.txt')
-rw-r--r--progs/fp/kil-pos.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/progs/fp/kil-pos.txt b/progs/fp/kil-pos.txt
new file mode 100644
index 0000000000..5ff4f6f2c8
--- /dev/null
+++ b/progs/fp/kil-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