views:

105

answers:

1

Are there any libraries for loading and processing/disassembling the Direct3D (10,11) shader bytecode files generated by fxc?

I know that many developers (and hardware vendors) have internal tools to load and process the D3D shader bytecode formats, but since the shader bytecode format is private and binary-only as of D3D10, I wonder whether there are any public resources for working with it.

+1  A: 

Looks like you want the HRESULT D3DDisassemble() function from the DirectX SDK: http://msdn.microsoft.com/en-us/library/ee416478%28VS.85%29.aspx.

Mads Elvheim