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

Remove top_level property of structs #1581

Merged
merged 1 commit into from
Dec 15, 2021
Merged

Remove top_level property of structs #1581

merged 1 commit into from
Dec 15, 2021

Conversation

kvark
Copy link
Member

@kvark kvark commented Dec 8, 2021

Fixes #1566
See gpuweb/gpuweb#2104 (comment) for explanation of how SPV/GLSL backends work with this change.

Copy link
Member

@jimblandy jimblandy left a comment

Choose a reason for hiding this comment

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

Looks good to me, except for the Block decorations in the SPIR-V output.

src/front/spv/mod.rs Show resolved Hide resolved
src/back/spv/writer.rs Outdated Show resolved Hide resolved
src/back/spv/helpers.rs Outdated Show resolved Hide resolved
src/back/spv/mod.rs Outdated Show resolved Hide resolved
src/back/spv/helpers.rs Outdated Show resolved Hide resolved
src/back/spv/writer.rs Outdated Show resolved Hide resolved
src/back/glsl/mod.rs Show resolved Hide resolved
@jimblandy
Copy link
Member

Really nice to see this. I think it's an improvement to the IR, even if it makes things a little thorny in SPIR-V and GLSL output.

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.

Remove Block decoration
2 participants