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

api misuse can leak command buffer objects #209

Open
nicebyte opened this issue Sep 15, 2024 · 0 comments
Open

api misuse can leak command buffer objects #209

nicebyte opened this issue Sep 15, 2024 · 0 comments
Labels
bug Something isn't working vulkan stuff related to the vulkan backend

Comments

@nicebyte
Copy link
Owner

if one repeatedly calls ngf_start_cmd_buffer on the same command buffer every frame, without ever submitting the command buffer, the vulkan backend will leak command buffer objects. either this pattern needs to be guarded against, or ngf_start_cmd_buffer needs to decommission any pre-existing resources in the given ngf_command_buffer before doing anything else.

@nicebyte nicebyte added bug Something isn't working vulkan stuff related to the vulkan backend labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working vulkan stuff related to the vulkan backend
Projects
None yet
Development

No branches or pull requests

1 participant