DirectX 9 Graphics FAQ

Home | Up | Search | X-Zone News | Services | Book Support | Links | Feedback | Smalltalk MT | The Scrapyard | Technical Articles

 

X-Zone's DirectX FAQ
DirectX 9 Graphics

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

This site, created by DirectX MVP Robert Dunlop and aided by the work of other volunteers, provides a free on-line resource for DirectX programmers.

Special thanks to WWW.MVPS.ORG, for providing a permanent home for this site.

Visitors Since 1/1/2000: Hit Counter
Last updated: 07/26/05.