-
Notifications
You must be signed in to change notification settings - Fork 547
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
Provide "committed resource" semantics in HAL #2511
Comments
Is there a way we could make these optional so users could opt-in? i.e. thinking about the rendy-memory case where memory allocation is managed at the HAL abstraction level, not per backend. Maybe we could have an optional feature and expose entry points through a HAL extension? |
@grovesNL I think in this case we can just non-optionally expose the extra (2) entry points. If the user uses rendy-memory, they are just simply not using the new entry points. The only downside for them is dragging the vk-mem dependency. |
Right, it seems a bit unfortunate to always include the additional dependency (mostly since it requires building a C++ project). |
Now that I think of it, we don't have to include this dependency. We'll get the cleanest solution by having |
Primary motivation is getting advantage of vk-mem by @gwihlidal in our Vulkan backend. The new API entry points for buffers and images could return BoundXxx right away.
Implementing in D3D11/D3D12 and Metal is also going to be straightforward.
The text was updated successfully, but these errors were encountered: