• Advertisement
Sign in to follow this  

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

This topic is 2058 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


When compiling shaders/effects with either fxc.exe or the API functions one can specify to use the legacy compiler (fxc switch [b]/LD[/b] or API flag [b]D3DXSHADER_USE_LEGACY_D3DX9_31_DLL[/b]).

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
Sign in to follow this  

  • Advertisement