Reinterprets the bit pattern of a 64-bit value as two unsigned 32-bit integers.
void asuint( in double value, out uint lowbits, out uint highbits );
- value [in]
The input value.
- lowbits [out]
The low 32-bit pattern of value.
- highbits [out]
The high 32-bit pattern of value.
This function does not return a value.
This function is an alternate version of the asuint intrinsic that has been available in earlier shader models, and was introduced for Shader Model 5. The original function (recognized in the HLSL compiler by its different signature) remains available to Shader Model 5.
This function is supported in the following shader models.
|Shader Model 5 and higher shader models||yes|
This function is supported in the following types of shaders: