PDA

View Full Version : Constant registers amount in HLSL


yakul
03-22-2008, 12: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.