When compiling shaders/effects with either fxc.exe or the API functions one can specify to use the legacy compiler (fxc switch /LD or API flag D3DXSHADER_USE_LEGACY_D3DX9_31_DLL).
So in what cases does it make sense to upgrade your shader/effects code which previously has been running in legacy mode to be compiled in the new compiler version (but still under DX9)?
I mean, besides compiler optimization stuff such as attributes like [unroll] or [loop], what are my benefits if I decided to take the effort to make my code compatible with the new compiler? Do I have more / better functions where I could use or something?
Edited by Meltac, 01 June 2012 - 08:29 AM.