mirror of
https://github.com/italicsjenga/spirv-to-dxil-rs.git
synced 2024-12-23 11:31:31 +11:00
build: disable building platforms
This commit is contained in:
parent
3844a7d254
commit
708f86ea6e
16
README.md
16
README.md
|
@ -1,3 +1,19 @@
|
|||
# spirv-to-dxil-rs
|
||||
|
||||
Safe Rust bindings to [spirv-to-dxil](https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/microsoft/spirv_to_dxil/spirv_to_dxil.h).
|
||||
|
||||
## 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](https://docs.mesa3d.org/install.html).
|
||||
|
||||
* [Meson](https://mesonbuild.com/)
|
||||
* A compatible C and C++ compiler
|
||||
* [MSVC 2019 16.11 or later](https://docs.mesa3d.org/install.html) is required to build on Windows.
|
||||
* [Python 3.6](https://www.python.org/) or later.
|
||||
|
||||
Lex and Yacc are not required. Additionally, [CMake 3.6](https://cmake.org/) or later is required to run the build script.
|
||||
|
||||
```bash
|
||||
$ git submodule update --init
|
||||
$ cargo build
|
||||
```
|
|
@ -27,7 +27,6 @@ set(MESA_EXTRA_FLAGS
|
|||
-Dgallium-drivers=zink
|
||||
# set min-windows-version to 7 to remove need to link against synchronization.lib (we don't need futexes for the compiler)
|
||||
-Dmin-windows-version=7
|
||||
|
||||
# disable everything we don't need.
|
||||
-Dvulkan-drivers=
|
||||
-Dopengl=false
|
||||
|
@ -40,7 +39,7 @@ set(MESA_EXTRA_FLAGS
|
|||
-Dgles2=disabled
|
||||
-Dllvm=disabled
|
||||
-Dshared-llvm=disabled
|
||||
-Dplatforms=auto
|
||||
-Dplatforms=
|
||||
-Dzlib=disabled
|
||||
)
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 873dfb673b643db7263fc77b3734aa17fa26aecd
|
||||
Subproject commit 60d7e15a7e61c6d51c3fa8e26839793782a12fb4
|
Loading…
Reference in a new issue