The docs say dst
"Calculates a distance vector" by:
dest = dst( src0, src1 ) ;
It says,
The first source operand (src0) is assumed to be the vector (ignored, d*d, d*d, ignored) and the second source operand (src1) is assumed to be the vector (ignored, 1/d, ignored, 1/d). The destination (dest) is the result vector (1, d, d*d, 1/d).
//Code
dest.x = 1;
dest.y = src0.y * src1.y;
dest.z = src0.z;
dest.w = src1.w;
What is the meaning of this really? Why would you want to use it?