mirror of
https://github.com/italicsjenga/spirv-to-dxil-rs.git
synced 2024-12-22 19:21:31 +11:00
.idea | ||
bindings_generator | ||
spirv-to-dxil | ||
spirv-to-dxil-sys | ||
.gitignore | ||
.gitmodules | ||
Cargo.lock | ||
Cargo.toml | ||
clone_mesa.sh | ||
LICENSE.md | ||
README.md |
spirv-to-dxil-rs
Safe Rust bindings to spirv-to-dxil.
Building
spirv-to-dxil-rs builds a copy of spirv-to-dxil statically from Mesa. Many of the build requirements are the same as needed to build Mesa.
-
A compatible C and C++ compiler
- MSVC 2019 16.11 or later is required to build on Windows.
-
Python 3.6 or later.
Lex and Yacc are not required. Additionally, CMake 3.8 or later is required to run the build script.
A script to clone a minimal subset of Mesa required to build spirv-to-dxil has been provided.
$ ./clone-mesa.sh
$ cargo build