Looks useful if you are dealing with shaders. Note that it's not so much a cross-compiler as it is a front-end for two other cross-compilers. It's currently Windows-only, but I don't know if there's anything in the chain that couldn't be ported.

Published January 01, 2019 Imported
Advertisement

Looks useful if you are dealing with shaders. Note that it's not so much a cross-compiler as it is a front-end for two other cross-compilers. It's currently Windows-only, but I don't know if there's anything in the chain that couldn't be ported.

And yes, if you're targeting older versions of DirectX, it appears to be compiling HLSL to SPIR-V and then back to HLSL. All I can assume is that earlier DirectX's are using an earlier version of HLSL.
https://github.com/Microsoft/ShaderConductor

View the full article

0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement