Skip to content
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

Do not access baseResourceMem on unbound buffer #3474

Merged
merged 2 commits into from
Nov 4, 2024

Conversation

cmannett85-arm
Copy link
Collaborator

If a VkBuffer handle is destroyed before being bound, then its removal will be attempted by the GPU address range tracker which will access the base mem record - but this will be NULL on an unbound buffer. Buffers aren't added to the tracker unless bound, so exiting early is the correct thing to do in this case.

@baldurk baldurk merged commit 1ce89df into baldurk:v1.x Nov 4, 2024
16 checks passed
@cmannett85-arm cmannett85-arm deleted the unbound_bda_fix branch November 4, 2024 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants