GPU/Shader Instruction Set: Difference between revisions

Neobrain (talk | contribs)
Neobrain (talk | contribs)
MOVA considers the dest mask
Line 392: Line 392:
|  1u
|  1u
|  MOVA
|  MOVA
Address Register Load; sets (a0.x, a0.y, _, _) to SRC1 (cast to integer by truncating the fractional part).
Move to address register; Casts the float uniform given by SRC1 to an integer (truncating the fractional part) and assigns the result to (a0.x, a0.y, _, _) (modulo destination component masking).
|-
|-
|  0x13
|  0x13