-
Notifications
You must be signed in to change notification settings - Fork 438
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
A struct with an aray in a glsl shader will crash vulkano-shaders #1683
Comments
is this a fixed length array? Can you provide the binding code used in your shader with the struct declaration. |
Yes sorry I should have said that. It was a fixed length array, I can easily reproduce the bug by pasting the following comment in the vulkan-shaders documentation and running cargo test:
The struct has to be used in order for the error to appear. |
@AustinJ235 any idea? |
If it were a vec4 instead would it work? Might be a stride issue. |
I've tried a vec4 array with 4 elements and the same happens |
Does this problem still occur with the newest version of Vulkano? |
I'm able to reproduce it in the latest version cloned from master |
This was fixed in #1945. |
happens on src/structs.rs:526
The text was updated successfully, but these errors were encountered: