-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
metal validation crash on macos #511
Comments
I think it's quad.vert,
so I think fix can be to have last float be a vec4 or have vec3 unused, so the expected sizeof matches:
|
Does the validation crash happen in a particular example? |
Sorry for delay, no it is just when I run iced integration in project inside xcode; if "Metal Validation" (default) is enabled, I see this crash. My proposed fix did not fix issue; I'm trying now with: layout (set = 0, binding = 0) uniform Globals {
mat4 u_Transform;
vec4 u_Scales;
}; to see if same error occurs. A workaround is to turn off metal validation in xcode. |
FYI: PR I posted fixes metal gpu validation error on macos/ios |
Using: ff15ebc (current master, wgpu 0.6)
Error:
Backtrace (release, sorry):
Is uniform iced uses aligned ok?
The text was updated successfully, but these errors were encountered: