Jump to content
  • Advertisement
Sign in to follow this  
Meltac

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

This topic is 2238 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!