You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I talked with @jimblandy about this and we concluded that we don't need to address these leaks because they only affect programs that never actually submit work to the GPU/don't poll devices.
The fixes are also not trivial and will most likely have perf impact.
There are currently 2 instances where we leak:
mapped_at_creation
buffer withoutBufferUsages::MAP_WRITE
, unmap it, make sure to not call.submit()
BufferUsages::MAP_WRITE
, map it, unmap it, make sure to not call.maintain()
LifetimeTracker.mapped
won't get cleared because we don't call maintainwgpu-core
API should call maintain behind-the-scenesThe text was updated successfully, but these errors were encountered: