Currently device lost is mostly non-working/missing. We need to resolve lost promise of device using https://docs.rs/wgpu-core/latest/wgpu_core/global/struct.Global.html#method.device_set_device_lost_closure and implement device losing, we also need to take care of https://github.com/servo/servo/blob/9f32809671c8c8e79d59c95194dcc466452299fc/components/script/dom/globalscope.rs#L324 and of device hashmaps in WGPU struct. Errors should not be recorded after device is lost! SPEC: https://www.w3.org/TR/webgpu/#lose-the-device Some relevant talk in https://github.com/servo/servo/pull/32304#pullrequestreview-2069508748
Activity
[-]Implement device lost[/-][+][webgpu] Implement "lose the device"[/+]sagudev commentedon Jun 17, 2024
Fixed in #32354