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

Device.tick with new mach Core backends #1288

Closed
emidoots opened this issue Oct 21, 2024 · 0 comments · Fixed by #1289
Closed

Device.tick with new mach Core backends #1288

emidoots opened this issue Oct 21, 2024 · 0 comments · Fixed by #1289
Labels
bug Something isn't working

Comments

@emidoots
Copy link
Member

After removing GLFW, with the new pure-Zig mach Core backends, we need to invoke Device.tick() somewhere:

This issue might be related to a number of issues on the tracker.

Summary
For any given sysgpu backend (DX12, Vulcan, etc. etc.), Device.tick is not called.
which means processQueuedOperations is never called and device.submit_objects is never cleared.
it is called in deviceTick, but that is not called either.
Calling Device.tick in an example's tick method fixes the memory leak.

Possibly related issues:
#1232
#1252 (Pretty sure this issue is the same)
#1253
#1259 (I think commands are added to the queue as submit objects, and never end up getting sent)
#1270
#1271
#1275

@emidoots emidoots added the bug Something isn't working label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant