Add CHANGELOG entry for --spirt-passes=....

This commit is contained in:
Eduard-Mihai Burtescu 2023-01-30 23:05:32 +02:00 committed by Eduard-Mihai Burtescu
parent 8bde624b74
commit 402afd7403
2 changed files with 9 additions and 3 deletions

View File

@ -29,6 +29,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Added ⭐
- [PR#988](https://github.com/EmbarkStudios/rust-gpu/pull/988) added a couple of (highly experimental)
`SPIR-🇹` optimization passes, and `--spirt-passes=...` codegen args as a way to enable them
(see also [the `--spirt-passes` codegen args docs](docs/src/codegen-args.md#--spirt-passes-PASSES))
### Changed 🛠️
- [PR#982](https://github.com/EmbarkStudios/rust-gpu/pull/982) updated toolchain to `nightly-2022-12-18`
- [PR#953](https://github.com/EmbarkStudios/rust-gpu/pull/953) migrated to the Rust 2021 edition, and fixed Rust 2021 support for shader crates to be on par with Rust 2018 (discrepancies having been limited to/caused by `panic!` changes in Rust 2021)

View File

@ -151,9 +151,10 @@ For more information, also see [the `SPIR-🇹` repository](https://github.com/E
### `--spirt-passes PASSES`
Enable additional `SPIR-🇹` passes, as listed in `PASSES` (comma-separated).
_Note: passes that are not already enabled by default are considered experimental
and likely not ready for production use, this flag exists primarily for testing.*
Enable additional `SPIR-🇹` passes, as listed in `PASSES` (comma-separated).
Their implementation can be found in [`rustc_codegen_spirv::linker::spirt_passes`](../../crates/rustc_codegen_spirv/src/linker/spirt_passes).
_Note: passes that are not already enabled by default are considered experimental and likely not ready for production use, this flag exists primarily for testing._
### `--dump-spirt-passes DIR`