-
Notifications
You must be signed in to change notification settings - Fork 32
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
updated toolchain #12
Conversation
…e backend's `target_override`.
You'll need something like this (or the proper fix): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test failures
Without this the skip directives weren't working. This looks to largely be legacy anyway, but tests now run and pass in the correct environments.
We have specific code to handle the path mangling on windows, but for some reason it isn't working for these tests. This is a hack to make them pass on windows.
This PR breaks for loops using signed integers, for example the following will not compile anymore: #[spirv(fragment)]
pub fn main(#[spirv(flat)] i: i32) {
for _ in 0..i {}
} This is likely due to a change in core's As a workaround one can use unsigned for loops and casting the index back to a signed integer. I'd suggest merging this for now and addressing the regression later. I've also added it to the changelog so it can't be forgotten. |
cherry-picking some of eddyb's nightly updates
For this one the PR's diff is fine