Aaron O'Mullan
a7c6e6a8cf
fix(mvk): resumeLostDevice ( #4800 )
...
Command buffer errors currently trigger an exception "DeviceLost" crashing the process.
Looking at [MKV's code](53a4eb26f2/MoltenVK/MoltenVK/GPUObjects/MVKQueue.mm (L392-L408)
) we observe that:
- It hard fails if error is:
```
MTLCommandBufferErrorBlacklisted || MTLCommandBufferErrorNotPermitted || MTLCommandBufferErrorDeviceRemoved
```
- Otherwise fails conditionally if `config.resumeLostDevice == false` (current default)
For Ryujinx's use-case it's more graceful to resume on those errors rather than crashing the app, the error isn't totally silenced since `mvk` still logs it
Fixes #4704 , #4575
2023-05-10 03:31:52 +02:00
..
2023-04-27 23:51:14 +02:00
2023-05-10 03:31:52 +02:00
2023-04-27 23:51:14 +02:00
2023-05-01 16:05:12 -03:00
2023-05-08 12:45:12 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-05-08 12:45:12 +02:00
2023-05-01 16:05:12 -03:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-05-08 12:45:12 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-05-01 16:05:12 -03:00
2023-04-27 23:51:14 +02:00
2023-05-08 12:45:12 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-05-01 16:05:12 -03:00
2023-04-27 23:51:14 +02:00
2023-05-01 16:05:12 -03:00
2023-05-01 16:05:12 -03:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-05-01 16:05:12 -03:00
2023-05-01 16:05:12 -03:00
2023-04-27 23:51:14 +02:00
2023-05-08 12:45:12 +02:00
2023-04-27 23:51:14 +02:00
2023-05-08 12:45:12 +02:00
2023-05-08 10:59:26 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-05-01 16:05:12 -03:00
2023-05-01 16:05:12 -03:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-05-01 16:05:12 -03:00
2023-04-27 23:51:14 +02:00
2023-05-08 10:59:26 +02:00
2023-05-08 10:59:26 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-05-08 10:48:16 +00:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00
2023-05-08 13:05:37 +02:00
2023-04-27 23:51:14 +02:00
2023-04-27 23:51:14 +02:00