simple add with swizzle and mul with swizzle tests
This commit is contained in:
5
progs/fp/add-swz.txt
Normal file
5
progs/fp/add-swz.txt
Normal 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
3
progs/fp/mul-swz.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
!!ARBfp1.0
|
||||
MUL result.color, fragment.color.zyxw, fragment.color;
|
||||
END
|
Reference in New Issue
Block a user