fp: new kill + position test

This commit is contained in:
Keith Whitwell 2009-03-06 20:42:40 +00:00
parent 52a68b9078
commit 2dd9a0197c

9
progs/fp/kill-pos.txt Normal file
View file

@ -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