Jump to content
  • Advertisement
Sign in to follow this  
fs1

Recompile a Shader

This topic is 1531 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

Dear All

I have decompile a shader and made some changes in the asm code.

How can I recompile/assembly the modified code back?

Thanks!

Edited by fs1

Share this post


Link to post
Share on other sites
Advertisement

The old D3DX helper library could assemble D3D9 shaders with D3DXAssembleShader. D3D10 and higher don't support assembling shaders, you have to compile from HLSL.

Share this post


Link to post
Share on other sites
Thanks MJP!

Any workarounds for D3D10 or D3D11? Maybe an undocumented function ?

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!