GPU/Shader Instruction Set: Difference between revisions

Smea (talk | contribs)
m 1A, 1B => format 1i
Smea (talk | contribs)
SGEI/SLTI + format 1i fix !
Line 54: Line 54:
|  0x7
|  0x7
|  0x7
|  0x7
|  Source 1 register (SRC1)
|  Source 1 register (SRC2)
|-
|-
|  0xE
|  0xE
|  0x5
|  0x5
|  Source 2 register (SRC2)
|  Source 2 register (SRC1)
|-
|-
|  0x13
|  0x13
Line 351: Line 351:
|  0x1A
|  0x1A
|  1i
|  1i
???
SGEI
|  ?
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)
|-
|-
|  0x1B
|  0x1B
|  1i
|  1i
???
SLTI
|  ?
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)
|-
|-
|  0x21
|  0x21