mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
simple add with swizzle and mul with swizzle tests
This commit is contained in:
parent
0c0e5b71c0
commit
c436f96b10
2 changed files with 8 additions and 0 deletions
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
|
||||
Loading…
Add table
Reference in a new issue