Jump to content

  • Log In with Google      Sign In   
  • Create Account

Recompile a Shader


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 fs1   Members   -  Reputation: 338

Like
0Likes
Like

Posted 12 July 2014 - 09:53 AM

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, 12 July 2014 - 10:15 AM.


Sponsor:

#2 MJP   Moderators   -  Reputation: 11774

Like
2Likes
Like

Posted 12 July 2014 - 06:01 PM

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.



#3 fs1   Members   -  Reputation: 338

Like
0Likes
Like

Posted 13 July 2014 - 06:07 AM

Thanks MJP!

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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS