-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature-gate
gfx-rs/rspirv
dependency
Because our `spirv-builder-cli` can modify itself to comply with various versions of `spirv-builder` from `rust-gpu`, then we also need to match the version of `spirv` that we use to get `spirv::Capabilities`. Namely that `rust-gpu <= v0.9.0` uses `spirv = "0.2.0"` and that `rust-gpu >= "v0.9.0"` uses `spirv = "0.3.0". Another solution to this could be to re-export `spirv` from `spirv-builder`. But I'm not sure that would avoid compiling the entirety of `spirv-builder` (which depends on specific Rust nightly versions), and besides, it's not trivial to retroactively add re-exports to already-published version of `rust-gpu`.
- Loading branch information
Showing
5 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters