Add DXCompiler
Perksey opened this issue · 5 comments
DXCompiler is a (relatively) new library for compiling HLSL into DXIL, to then be used by DirectX. It can also compile HLSL into SPIR-V, which can then be compiled into a variety of other shading languages.
My proposal is that the SharpDX team introduces this package to the SharpDX stack, as there currently is no other C# bindings library for DXCompiler.
(dxcompiler.dll is included with the Windows SDKs, fyi)
I have dxc compiler in my game framework https://github.com/amerkoleci/vortice/blob/master/src/assets/Vortice.Assets/Graphics/ShaderCompiler.cs
Oh awesome! Seeing as it's MIT, is it alright if I use it in my project? (having retained the copyright info of course)
Of course, just keep the license head or clarify the usage, for me is fine :)
Awesome, I'll take a few snippets but I'll probably end up porting all of the native interop to AdvancedDLSupport.