From 2dd9a0197cf3d4d8ee5808c613fab9a256b9a0e6 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 6 Mar 2009 20:42:40 +0000 Subject: [PATCH] fp: new kill + position test --- progs/fp/kill-pos.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 progs/fp/kill-pos.txt diff --git a/progs/fp/kill-pos.txt b/progs/fp/kill-pos.txt new file mode 100644 index 00000000000..5ff4f6f2c84 --- /dev/null +++ b/progs/fp/kill-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 -- 2.30.2