?/TD> |
Microsoft DirectX 9.0 |
Move data from a floating point register to the Address Register, a0.
mova dst, src |
---|
where
Vertex shader versions | 1_1 | 2_0 | 2_x | 2_sw | 3_0 | 3_sw |
---|---|---|---|---|---|---|
mova | x | x | x | x | x |
Moves floating point data to an integer register. The values are converted from floating point using rounding to nearest.
The address register is the only destination register allowed.
The following code fragment shows the operations performed.
if(dest is an integer register) { int intSrc = RoundToNearest(src); dest = intSrc; } else { dest = src; }
For versions 2_x and above, the address register is a component vector. Therefore, any write mask is allowed.
mova a0.xz, r0
Minimum operating system | Windows 98 |
---|