-
Notifications
You must be signed in to change notification settings - Fork 7
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
Example do not work, out of the box #1
Comments
First of all, thanks for trying the example so quickly! Please make sure that you are using the latest version of Vulkan SDK in your environment and that you have installed it correctly. In the example, I use a validation layer called If the Vulkan SDK is not too old and it does not work, you should check if the installation is done correctly. |
Okay tested it, just downloaded latest tar ball and extract to folder + set the following envs (just as test by hand): envs:
Examples:
the other error is mostly the same: so far to the moment :-) |
I am using bytemuck in examples to convert the shader spv from This conversion should not fail because spv should be aligned by 4 bytes, but it appears that the conversion to Are |
Thanks for the confirmation! The only two places in example egui_ash_vulkan that use bytemuck are in the shader loading. I think the problem is that either For example, what would happen to assert if you edited L469-L488 as follows and ran it?
If assert fails, then something is wrong with |
Okay, I looked it up, and it seems that alignment was a different concept than length. I made a code to try to cast to an array of |
The image appears to use the main branch? |
I had the same issue, and the branch fixed it for me in "tiles" example. |
no, it is a seperate clone directly from fix-shade-import branch |
Hmm, the @GoWeasel If you don't mind, could you try showing backtrace with |
Today I published 0.2.0 with some fixes and some API changes. If you want, you can try the latest on the main branch and show me the backtrace with |
First of all, thanks for doing this, egui with vulkan could be a nice thing.
Just tried if it work out of the box, but something wrong
any idea?
The text was updated successfully, but these errors were encountered: