Edit

Share via


DP4 Instruction

The DP4 instruction computes the four-component (RGBA) dot product of the source registers, and stores the result in the destination.

Format

instruction token that contains D3DSIO_DP4. Instruction length is 3.

destination parameter token

first source parameter token

second source parameter token

Requirements

Available in Windows Vista and later versions of the Windows operating systems.