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

[hlsl-out] Use wrapped constructors when loading from storage address space #1893

Merged
merged 1 commit into from
May 10, 2022

Conversation

teoxoy
Copy link
Member

@teoxoy teoxoy commented May 4, 2022

Use WrappedConstructors for structs that are loaded from AddressSpace::Storage since they might be padded.

fixes #1892

@kvark kvark merged commit e312a7a into gfx-rs:master May 10, 2022
@teoxoy teoxoy deleted the wrapped-constructor-for-storage-load branch May 10, 2022 08:25
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.

[hlsl-out] error X3017: '_expr1': initializer does not match type
2 participants