GPU/Shader Instruction Set: Difference between revisions
mNo edit summary |
|||
Line 114: | Line 114: | ||
| Multiplies two vectors component by component; DST[i] = SRC1[i].SRC2[i] for all i (modulo destination component masking) | | Multiplies two vectors component by component; DST[i] = SRC1[i].SRC2[i] for all i (modulo destination component masking) | ||
|- | |- | ||
| | | 0x0C | ||
| 1 | | 1 | ||
| MAX | | MAX | ||
| Takes the max of two vectors, component by component; DST[i] = MAX(SRC1[i], SRC2[i]) for all i (modulo destination component masking) | | Takes the max of two vectors, component by component; DST[i] = MAX(SRC1[i], SRC2[i]) for all i (modulo destination component masking) | ||
|- | |- | ||
| | | 0x0D | ||
| 1 | | 1 | ||
| MIN | | MIN |