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

[spv-in] Support any value of MatrixStride #4375

Open
teoxoy opened this issue Apr 8, 2022 · 0 comments
Open

[spv-in] Support any value of MatrixStride #4375

teoxoy opened this issue Apr 8, 2022 · 0 comments
Labels
area: naga front-end lang: SPIR-V Vulkan's Shading Language naga Shader Translator type: enhancement New feature or request

Comments

@teoxoy
Copy link
Member

teoxoy commented Apr 8, 2022

Our IR expects matrices to have a stride of 8 for 2 row matrices and 16 for 3 and 4 row matrices.

To support higher values for MatrixStride than those outlined above we would have to translate them to a sequence of nr of matrix columns x (vec2(data), padding) and also modify accesses accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: naga front-end lang: SPIR-V Vulkan's Shading Language naga Shader Translator type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants