|
发表于 2003-10-18 13:00:00
|
显示全部楼层
Re: Re:我正在编译第二遍
cheat: Re:我正在编译第二遍
编译的时候好像大部分时间都是在执行一个fxc.exe的程序!这个是干什么用的?
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.
|
|