• Advertisement
Sign in to follow this  

When use the legacy compiler and when upgrade to new compiler?

This topic is 2154 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi!

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

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement