dst dest, src0, src1
| Name | Registers |
|---|---|
| dest | An output register or temporary register. |
| src0 | A temporary register, input register, or floating-point constant register. |
| src1 | A temporary register, input register, or floating-point constant register. |
You cannot specify a floating-point constant register for both src0 and src1.
You cannot specify input registers using different indices for src0 and src1 at the same time.
Calculates the vector distance.
Set the squared distance in the y and z components of src0 and the inverse distance in the y and w components of src1.
The following values are stored in dest: 1, the distance, the squared distance, and the inverse distance.
dest.x = 1 dest.y = src0.y * src1.y dest.z = src0.z dest.w = src1.w
dst r0, c1, v2
| 1 | 2 | 3 | 4 | ||
|---|---|---|---|---|---|
| dst | read | MUL | post | write |
CONFIDENTIAL