Jump to content


Constant registers amount in HLSL


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

#1 yakul

    Member

  • Members
  • PipPip
  • 55 posts

Posted 22 March 2008 - 07:36 AM

fxc.exe tells you how many registers it used to compile the code.
However, I want to be able to tell how many registers it used automatically. Or from within my C++ code.
Is it possible to do this with ID3DXEffect? I didn't see anything there that tells you how many registers were used.

Thank you.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users