mov (Vertex Shader)
Move data between registers.
Syntax
where
- dst is the destination register.
- src is a source register.
Remarks
Vertex shader versions | 1_1 | 2_0 | 2_x | 2_sw | 3_0 | 3_sw |
---|
mov | x | x | x | x | x | x |
---|
Can be used for floating point data and to update address registers. When used to update address registers, the values are converted from floating point using rounding to nearest.
The following code fragment shows the operations performed.
if(dest is an integer register)
{
int intSrc = RoundToNearest(src.w);
dest = intSrc;
}
else
{
dest = src;
}
Instruction Information
Minimum operating system | Windows 98 |
---|