[spv-in] Support any value of MatrixStride
#4375
Labels
area: naga front-end
lang: SPIR-V
Vulkan's Shading Language
naga
Shader Translator
type: enhancement
New feature or request
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 ofnr of matrix columns
x (vec2
(data), padding) and also modify accesses accordingly.The text was updated successfully, but these errors were encountered: