Jump to content

  • Log In with Google      Sign In   
  • Create Account

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


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 Meltac   Members   -  Reputation: 439

Like
0Likes
Like

Posted 01 June 2012 - 08:28 AM

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, 01 June 2012 - 08:29 AM.


Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS