autodesk-forks / MaterialX

MaterialX C++ and Python libraries
http://www.materialx.org/
Apache License 2.0
107 stars 23 forks source link

MaterialXGenCross - support for SPIRV and HLSL #1236

Open ashwinbhat opened 3 years ago

ashwinbhat commented 3 years ago

Update and formalize MaterialXCross to MaterialXGenCross. MaterialXGenCross will contain cross compile ShaderGenerators that use GLSL generator result and emit SPIRV. Possible targets are SPIRV for Vulkan and HLSL for DX12. Will introduce a dependency on Khronos tools (glslang, SPIRV-Cross and SPIRV-Reflect).