-
Notifications
You must be signed in to change notification settings - Fork 250
No longer require the workaround for the collatz example #778
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
Conversation
Ah, I hadn't updated my version of rust-analyzer. That'd be why format on save wasn't working. |
Ok, so removing the Int8 capability currently fails in: rust-gpu/crates/rustc_codegen_spirv/src/spirv_type.rs Lines 108 to 109 in 902c51c
Which is approximately expected. However, since #667, simply commenting out that error allows valid spir-v to be built which doesn't require that capability. I'm not sure what the approach should be with transiently required capabilities. |
Now that #809 is in, could you rebase to main and remove the |
build_shader("../../../shaders/sky-shader", true, &[])?; | ||
build_shader("../../../shaders/simplest-shader", false, &[])?; | ||
build_shader("../../../shaders/sky-shader", true)?; | ||
build_shader("../../../shaders/simplest-shader", false)?; | ||
// We need the int8 capability for using `Option` |
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.
please remove this comment~
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.
thanks!
Follow up from #776, which works exactly as required <3