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

Remove overly restrictive array stride check #2215

Merged
merged 1 commit into from
Jan 18, 2023

Conversation

fintelia
Copy link
Contributor

Fixes #2211 by removing the stride check, as suggested in #2212 (comment). The alignments when used in uniforms and storage buffers are both validated below in the same function.

Copy link
Member

@teoxoy teoxoy left a comment

Choose a reason for hiding this comment

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

Thanks!

@teoxoy teoxoy merged commit 1cffd23 into gfx-rs:master Jan 18, 2023
@fintelia fintelia deleted the remove-stride-check branch January 18, 2023 17:12
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.

[glsl-in] Arrays in structs produce array stride errors
2 participants