-
Notifications
You must be signed in to change notification settings - Fork 43
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 better design for vkMapMemory function #19
Comments
Hello @mackst, thanks for the example. I don't exactly understand your question, is it working with your example ? What do you want to change with |
Yes it works. What I want is VkMapMemory either can be a more lower or higher level function. lower level just like above user can define their data pointer to pass to VkMapMemory function. |
If I understand correctly your issue, you want to pass a custom Moreover, managing yourself the Is is what your are saying ? |
Yes |
OK @mackst. Maybe you are trying to resolve a no-issue. |
I try again. I think your are right |
I am looking at vulkan compute example. I think the vkMapMemory function can have better design for better performance.
Usually fill mapped memory data
Above is OK. But if you want to fetch the data from GPU buffer
array.array work with cffi example
So how about we can do something like this with vkMapMemory
The text was updated successfully, but these errors were encountered: