-
Notifications
You must be signed in to change notification settings - Fork 244
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
Update to nightly-2023-08-29 #1091
Conversation
This builds successfully for me locally but panics when using GPU stuff (CPU example works fine). I have never touched the compiler or this project so I don't really know what I am doing 😆 |
I'm fairly sure the problems are in the type pointer stuff, changed in rust-lang/rust@04303cf |
6ec21e1
to
a09282b
Compare
a09282b
to
fca717d
Compare
I managed to get it further along by adding |
I also needed to add a new intrinsic |
When I don't add the pointer casts, it compiles but I get:
When I do, it gets all the way to compiling the shader but bails on converting a |
Hi, sorry to barge in with those commits, but I went ahead and finished this PR - it turned out to be pretty nasty and I'm not that happy with my approach (it's now conservative when creating pointers, but aggressive when accessing them). So I really hope you didn't waste too much time trying to make it all work (also, feel free to poke me on Discord etc. any time, esp. if you want any feedback, I tend to mainly get GH notifs for a direct ping, i.e. |
Thanks completing this! I like to dive into the deep end in codebases to try to learn them, so the time I spent poking at this was time well spent. Doubly so now that I've seen your changes and can compare them to the mental model I built up. |
EDIT(@eddyb): initial PR by @LegNeato but I added to it to avoid creating another PR (#1091 (commits)).