-
Notifications
You must be signed in to change notification settings - Fork 12
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
Supporting MemoryRef
?
#48
Comments
Thanks for reporting this! Indeed, we need to get the number of elements in the array in One fix might be to tweak the generated code such that for Can't really think of another solution though. The accurate size is encoded in |
Thanks for the quick reply!
Yes, looks like it.
Yes, that is correct! If you haven't yet, the |
I'll get that done soon then. Shouldn't be hard to fix but one needs to know his way around a few significant portions of the generator to implement it. Unless you really want to give it a try that is 😄 |
I dug into it a bit at first, but pretty much decided to leave this to you once I saw that this will have to touch the generator 😂 Thank you for fixing this! |
Should be fixed in a619f63 and available in the newly released 0.6.10. |
Hi! With the new
Memory
PR on 1.11/nightly, it seems there's a new failure mode in the generated code here (or I'm doing something wrong again). The top-level call I'm doing isVulkan.create_device
, like so:This is the stacktrace I get:
If I'm reading the existing definition for
pointer_length
right, this assumed that everything worked withRefArray
(as it did in the past), though this now gets aMemoryRef
, which isn't supported (and doesn't have the link back to the parent array). Not entirely sure how to fix this best.The text was updated successfully, but these errors were encountered: