dmov (sm5 - asm)

Component-wise move.

dmov[_sat] dest[.mask], [-]src0[_abs][.swizzle]
Item Description
dest
[in] The move destination. dest = src0.
src0
[in] The components to be moved.

Remarks

The modifiers, other than swizzle, assume the data is floating point. The absence of modifiers moves data without altering bits.

The valid swizzles for the source parameters are .xyzw, .xyxy, .zwxy, .zwzw. The following src mappings are post-swizzle:

  • src0 is a double vec2 across (x 32LSB, y 32MSB) and (z 32LSB, w 32MSB).
  • src1 is a double vec2 across (x 32LSB, y 32MSB) and (z 32LSB, w 32MSB).

This instruction applies to the following shader stages:

Vertex Hull Domain Geometry Pixel Compute
X X X X X X

Minimum Shader Model

This instruction is supported in the following shader models:

Shader Model Supported
Shader Model 5 yes
Shader Model 4.1 no
Shader Model 4 no
Shader Model 3 (DirectX HLSL) no
Shader Model 2 (DirectX HLSL) no
Shader Model 1 (DirectX HLSL) no

Shader Model 5 Assembly (DirectX HLSL)