
DirectX
9 Graphics
How can I determine 
what assembly level shader code is generated from HLSL shader code in my effect 
file?
Q: How can I determine what assembly level shader 
code is generated from HLSL shader code in my effect file?
A: You can make use of the command line effect compiler, fxc.exe, provided in 
the \bin\dxutils subdirectory of the SDK installation. Using the /Fc switch will 
cause a source code listing to be generated. For example, the command
c:\dxsdk\bin\dxutils\fxc /FcListing.txt MyHlsl.fx
will compile the effect file MyHlsl.fx, and create a source code listing as 
/FcListing.txt.
Back to the Top   
    Back to Main Index