In the ARB_vertex_program spec, regarding interaction with NV_vertex_program, it says: “EX2: exponential base2. On VP1.0 and VP1.1 hardware, this instruction will be emulated using EXP and a number of additional instructions.”.
So this is apparently the same functionality as the exp macro in the DirectX vertex shader assembly language.
Can anyone tell me how exactly this emulation of EX2 looks like in form of an NV_vertex_program program (or how exp is simulated using expp in DirectX)?
Thanks.