Jump to content

View more

Image of the Day

Working on an auto spawn system. #gamedev #indiedev #screenshotsaturday https://t.co/Mm2kfekz7b
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Recompile a Shader

4: Adsense

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   

445
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.


#2 MJP   Moderators   

19402
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   

445
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.