GPU/Shader Instruction Set: Difference between revisions

Smea (talk | contribs)
Smea (talk | contribs)
No edit summary
Line 85: Line 85:
|  MUL
|  MUL
|  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)
|-
|  0x09
|  1
|  MAX
|  Takes the max of two vectors, component by component; DST[i] = MAX(SRC1[i], SRC2[i]) for all i (modulo destination component masking)
|-
|  0x0A
|  1
|  MIN
|  Takes the max of two vectors, component by component; DST[i] = MIN(SRC1[i], SRC2[i]) for all i (modulo destination component masking)
|-
|-
|  0x13
|  0x13