simple add with swizzle and mul with swizzle tests

This commit is contained in:
Brian Paul
2008-09-12 08:40:50 -06:00
parent 0c0e5b71c0
commit c436f96b10
2 changed files with 8 additions and 0 deletions

5
progs/fp/add-swz.txt Normal file
View File

@@ -0,0 +1,5 @@
!!ARBfp1.0
TEMP R0;
ADD R0, fragment.color, fragment.color;
ADD result.color, R0.xxxx, R0;
END

3
progs/fp/mul-swz.txt Normal file
View File

@@ -0,0 +1,3 @@
!!ARBfp1.0
MUL result.color, fragment.color.zyxw, fragment.color;
END