Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

[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 subscribe to this conversation on GitHub. Already have an account? Sign in.
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