Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#ActualJason Z

Posted 16 February 2013 - 09:57 PM

It depends on the name of the file, the shader main function name, the shader model being targetted, and the output file name.  Something like this on the command line should do the trick:

 

fxc AmbientOcclusion.hlsl /T cs_4_0 /E CSMAIN /Zi /Cc /Fc AmbientOcclusion.html

 

That will produce an output html file that you can see the details of your shader from.  I normally put this command into a batch file, since retyping it over and over gets old...

 

EDIT: Where are you using an array of custom structs in your CB's?  I don't see that anywhere...


#1Jason Z

Posted 16 February 2013 - 09:55 PM

It depends on the name of the file, the shader main function name, the shader model being targetted, and the output file name.  Something like this on the command line should do the trick:

 

fxc AmbientOcclusion.hlsl /T cs_4_0 /E CSMAIN /Zi /Cc /Fc AmbientOcclusion.html

 

That will produce an output html file that you can see the details of your shader from.  I normally put this command into a batch file, since retyping it over and over gets old...


PARTNERS