summaryrefslogtreecommitdiffstats
path: root/progs/fp/tex-pos-kil.txt
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-03-06 21:15:19 +0000
committerKeith Whitwell <[email protected]>2009-03-06 21:15:19 +0000
commit185ff38895cfc1376f21d892b122235ed0563922 (patch)
treea75ee02dc6035046540d23ec1299c391486a2453 /progs/fp/tex-pos-kil.txt
parent2dd9a0197cf3d4d8ee5808c613fab9a256b9a0e6 (diff)
fp: add some more texture, position and kill tests
Diffstat (limited to 'progs/fp/tex-pos-kil.txt')
-rw-r--r--progs/fp/tex-pos-kil.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/progs/fp/tex-pos-kil.txt b/progs/fp/tex-pos-kil.txt
new file mode 100644
index 00000000000..b7aaa9f7c88
--- /dev/null
+++ b/progs/fp/tex-pos-kil.txt
@@ -0,0 +1,8 @@
+!!ARBfp1.0
+TEMP R0;
+MUL R0, fragment.position, {0.008}.x;
+TEX R0, R0, texture[0], 2D;
+SUB R0, R0, {0.25}.x;
+KIL R0.xyzz;
+MOV result.color, fragment.color;
+END