GPU/Shader Instruction Set: Difference between revisions
m 4 and 7 are unary |
SGE ! SLT ! |
||
Line 301: | Line 301: | ||
| 0x09 | | 0x09 | ||
| 1 | | 1 | ||
| ? | | SGE | ||
| ? | | Sets output if SRC1 is greater than or equal to SRC2; DST[i] = (SRC1[i] >= SRC2[i]) ? 1.0 : 0.0 for all i (modulo destination component masking) | ||
|- | |||
| 0x0A | |||
| 1 | |||
| SLT | |||
| Sets output if SRC1 is strictly less than SRC2; DST[i] = (SRC1[i] < SRC2[i]) ? 1.0 : 0.0 for all i (modulo destination component masking) | |||
|- | |- | ||
| 0x0A | | 0x0A |