GPU/Shader Instruction Set: Difference between revisions
added unknown format 1 opcodes |
LRP |
||
Line 418: | Line 418: | ||
| CMP | | CMP | ||
| Sets booleans cmp.x and cmp.y based on the operand's x and y components and the CMPX and CMPY comparison operators respectively. See [[#Comparison_operator|below]] for details about operators. | | Sets booleans cmp.x and cmp.y based on the operand's x and y components and the CMPX and CMPY comparison operators respectively. See [[#Comparison_operator|below]] for details about operators. | ||
|- | |||
| 0x30-0x37 | |||
| 5 | |||
| LRP | |||
| Does linear interpolation between two vectors, using a third as the interpolation factor, component by component; DST[i] = SRC1[i].(1.0 - SRC3[i]) + SRC2[i].(SRC3[i]) for all i (modulo destination component masking) | |||
|- | |- | ||
| 0x38-0x3F | | 0x38-0x3F |