summaryrefslogtreecommitdiffstats
path: root/progs/fp/kil-texcoord-sgt.txt
diff options
context:
space:
mode:
Diffstat (limited to 'progs/fp/kil-texcoord-sgt.txt')
-rw-r--r--progs/fp/kil-texcoord-sgt.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/progs/fp/kil-texcoord-sgt.txt b/progs/fp/kil-texcoord-sgt.txt
new file mode 100644
index 00000000000..c74fd10dacb
--- /dev/null
+++ b/progs/fp/kil-texcoord-sgt.txt
@@ -0,0 +1,8 @@
+!!ARBfp1.0
+TEMP R0;
+MUL R0.xy, fragment.texcoord[0], fragment.texcoord[0];
+ADD R0.x, R0.x, R0.y;
+SGE R0.y, R0.x, fragment.texcoord[0].w;
+KIL -R0.y;
+MOV result.color, fragment.color;
+END