Freeing resources after device loss should use Device::trackers
to find resources, not Device::life_tracker
#4907
Labels
Milestone
At present, device loss uses
LifetimeTracker::release_gpu_resources
to find buffers to free. However,Device::life_tracker
does not hold a complete record of all resources created with the device. For buffers, for example, it only mentions buffers that are waiting to be mapped or ready to be mapped.Device::trackers
, however, holds aTracker
whosebuffers
field holds all buffers owned by theDevice
, which is exactly what device loss needs.The text was updated successfully, but these errors were encountered: