Skip to content

Correctly calculate access chains for compound types #233

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

Merged
merged 9 commits into from
Apr 21, 2025

Conversation

LegNeato
Copy link
Collaborator

@LegNeato LegNeato commented Apr 12, 2025

Fixes #46.

This was extremely painful and I am still not sure I understand the code completely and all the various cases.

@schell , @Firestar99 , please try it in your projects and see if I broke anything!

@Firestar99
Copy link
Member

My stuff still works with this branch (+ nonuniform patches) 🎉

@schell
Copy link
Contributor

schell commented Apr 18, 2025

My project compiled just fine and passes tests 👍 . I also successfully built a shader with [Default::default(); N] in it.

Awesome work!

Copy link
Contributor

@schell schell left a comment

Choose a reason for hiding this comment

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

LGTM but take my review with a grain of salt 🧂 as I never got a chance to dive in very deep, but I have tested the results.

@LegNeato
Copy link
Collaborator Author

@eddyb said he wanted to take a look at this so I'll wait a bit before merging.

@LegNeato
Copy link
Collaborator Author

Ok, I am just going to land it and we can fix forward or revert if it isn't correct.

@LegNeato LegNeato merged commit 2f915a0 into Rust-GPU:main Apr 21, 2025
7 checks passed
@LegNeato LegNeato deleted the fixregression branch April 21, 2025 02:45
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.

Regression on main when allocating arrays of arrays
3 participants