GPU/Shader Instruction Set: Difference between revisions

Flacs (talk | contribs)
m Instructions: note that MAD is not an FMA
Instructions: Formatting & add some external links
Line 334: Line 334:
|  1
|  1
|  DST
|  DST
|  Equivalent with Microsoft's dst instruction: DST = {1, SRC1[1]*SRC2[1], SRC1[2], SRC2[3]}
|  Equivalent to Microsoft's [https://msdn.microsoft.com/en-us/library/windows/desktop/bb219790.aspx dst] instruction: DST = {1, SRC1[1]*SRC2[1], SRC1[2], SRC2[3]}
|-
|-
|  0x05
|  0x05
Line 348: Line 348:
|  0x07
|  0x07
|  1u
|  1u
LIT
LITP
Related to Microsoft's lit instruction; DST = clamp(SRC1, min={0, -127.9961, 0, 0}, max={inf, 127.9961, 0, inf})
Appears to be related to Microsoft's [https://msdn.microsoft.com/en-us/library/windows/desktop/bb174703.aspx lit] instruction; DST = clamp(SRC1, min={0, -127.9961, 0, 0}, max={inf, 127.9961, 0, inf})
|-
|-
|  0x08
|  0x08