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

[glsl-in] Error on a matCx2 used with the std140 layout #1806

Merged

Conversation

teoxoy
Copy link
Member

@teoxoy teoxoy commented Apr 8, 2022

Our IR expects matrices of the form matCx2 to have a stride of 8 however matrices in the std140 layout have a stride of at least 16.

Copy link
Member

@kvark kvark left a comment

Choose a reason for hiding this comment

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

Nice!

@kvark kvark merged commit fa44d9d into gfx-rs:master Apr 11, 2022
@teoxoy teoxoy deleted the glsl-in-error-on-unsupported-matCx2-in-std140 branch April 11, 2022 07:39
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.

2 participants