Jump to content
  • Advertisement
Sign in to follow this  
yoelshoshan

D3DX10DisassembleShader

This topic is 2560 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

"This function -- which disassembles a compiled shader into a text string that contains assembly instructions and register assignments -- no longer exists. Instead, use D3DDisassemble10Effect."
Is written in the msdn documentation on "D3DX10DisassembleShader" , which puzzles me a bit.
( http://msdn.microsoft.com/en-us/library/windows/desktop/bb310589%28v=vs.85%29.aspx )


I need to disassemble a Shader Model 4 shader (a pixel shader), and i need to do it in code.
Does this text mean that i don't have any formal disassembler?

The "D3DDisassemble10Effect" function gets ID3D10Effect* as input, which doesn't help me at all.

Pix obviously has that ability, so before i dive in to see what it uses, i thought I'd ask here if there's any public API way of doing it.

Share this post


Link to post
Share on other sites
Advertisement
Thanks!
I'll give it a try =)

Seems like it wasn't intended for some to include both "d3d10.h" and "D3Dcompiler.h" at the same time... A lot of "redefinition" errors.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!