Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set SPIR-T as the default IR linker framework #999

Merged
merged 4 commits into from
Mar 15, 2023
Merged

Set SPIR-T as the default IR linker framework #999

merged 4 commits into from
Mar 15, 2023

Conversation

oisyn
Copy link
Contributor

@oisyn oisyn commented Mar 14, 2023

Rather than opting in using --spirt, you can now opt-out using --no-spirt

@oisyn oisyn requested a review from eddyb as a code owner March 14, 2023 14:28
@oisyn oisyn enabled auto-merge (rebase) March 14, 2023 15:49
crates/rustc_codegen_spirv/src/codegen_cx/mod.rs Outdated Show resolved Hide resolved
@@ -149,6 +151,9 @@ Enables using the experimental [`SPIR-🇹` shader IR framework](https://github.

For more information, also see [the `SPIR-🇹` repository](https://github.com/EmbarkStudios/spirt).

### `--no-spirt` <sub>_(0.6.0)_</sup>
Disables the [`SPIR-🇹` shader IR framework](https://github.com/EmbarkStudios/spirt) in the linker.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat! I was wondering how we should do this, and I like your choice here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming you're referring to the version numbers? We should probably add some others retroactively as well :)

Co-authored-by: Eduard-Mihai Burtescu <[email protected]>
@oisyn oisyn requested a review from eddyb March 15, 2023 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants