aboutsummaryrefslogtreecommitdiffstats
path: root/progs/fp/tex-pos-kil-1.txt
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-03-09 14:08:35 +0000
committerKeith Whitwell <[email protected]>2009-03-09 14:08:52 +0000
commitfb8a9875f6af28964a56e8307dd90a0b5fe97a4b (patch)
tree11abfb0b8b2889656e9bb6f6f1c3ec71b2b513c6 /progs/fp/tex-pos-kil-1.txt
parent317687cd94d510ed72e32b0aee2782fbc123576b (diff)
fp: enable a second texture unit and add a kil test for it
Diffstat (limited to 'progs/fp/tex-pos-kil-1.txt')
-rw-r--r--progs/fp/tex-pos-kil-1.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/progs/fp/tex-pos-kil-1.txt b/progs/fp/tex-pos-kil-1.txt
new file mode 100644
index 00000000000..3f01e79ffe7
--- /dev/null
+++ b/progs/fp/tex-pos-kil-1.txt
@@ -0,0 +1,7 @@
+!!ARBfp1.0
+TEMP R0;
+MUL R0, fragment.position, {0.03125}.x;
+TEX R0, R0, texture[1], 2D;
+KIL -R0;
+MOV result.color, fragment.color;
+END