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

[spv-out] fix wrong MatrixStride for matCx2 and mat2xR #1781

Merged
merged 1 commit into from
Mar 20, 2022

Conversation

teoxoy
Copy link
Member

@teoxoy teoxoy commented Mar 19, 2022

Matrices should have a MatrixStride of 8 for matCx2 however the current implementation outputs a MatrixStride of 8 for mat2xR.

Copy link
Collaborator

@JCapucho JCapucho left a comment

Choose a reason for hiding this comment

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

It does makes sense to me, but I would like either @kvark or @jimblandy to also have a look since I'm not confident in my understanding of the MatrixStride decoration.

@teoxoy
Copy link
Member Author

teoxoy commented Mar 19, 2022

There is some more relevant info here: gpuweb/gpuweb#1258

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.

Nicely spotted!

@kvark kvark added the can backport PR that can be back-ported to a release branch label Mar 20, 2022
@kvark kvark merged commit e66a66a into gfx-rs:master Mar 20, 2022
@teoxoy teoxoy deleted the patch-1 branch March 23, 2022 09:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
can backport PR that can be back-ported to a release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants