This crate provides an FFI layer and idiomatic rust wrappers for the new DirectXShaderCompiler library.
Add this to your Cargo.toml:
[dependencies]
hassle-rs = "0.1.7"and add this to your crate root:
extern crate hassle_rs;Then acquire dxcompiler.dll directly from AppVeyor or compile it from source according to the instructions in the DirectXShaderCompiler GitHub repository and make sure it's in the executable enviroment.
DxcValidator also requires dxil.dll which can be grabbed from any recent Windows 10 SDK flight.
More info: https://www.wihlidal.com/blog/pipeline/2018-09-16-dxil-signing-post-compile/
Licensed under MIT license (LICENSE or http://opensource.org/licenses/MIT)
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, shall be licensed as above, without any additional terms or conditions.
Contributions are always welcome; please look at the issue tracker to see what known improvements are documented.