GPU/Shader Instruction Set: Difference between revisions
The actual D3D shader token stream shows even more resemblance than the instruction mnemonics themselves. |
|||
Line 331: | Line 331: | ||
| 1u | | 1u | ||
| EX2 | | EX2 | ||
| Computes SRC1's | | Computes SRC1's first component exponent with base 2; DST[i] = EXP2(SRC1[0]) for all i | ||
|- | |- | ||
| 0x06 | | 0x06 | ||
| 1u | | 1u | ||
| LG2 | | LG2 | ||
| Computes SRC1's | | Computes SRC1's first component logarithm with base 2; DST[i] = LOG2(SRC1[0]) for all i | ||
|- | |- | ||
| 0x07 | | 0x07 |