summaryrefslogtreecommitdiff
path: root/progs/fp/kil-pos.txt
diff options
context:
space:
mode:
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