Provides full precision exponential 2x.
exp dst, src |
---|
where
Vertex shader versions | 1_1 | 2_0 | 2_x | 2_sw | 3_0 | 3_sw |
---|---|---|---|---|---|---|
exp | x | x | x | x | x | x |
This instruction provides at least 21 bits of precision.
The following code fragment shows the operations performed:
dest.x = dest.y = dest.z = dest.w = (float)pow(2, src.replicateSwizzleComponent);