mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-01 12:08:12 +00:00
vk: Use gc to clean up stale surface cache resources instead of fudging with frame counters.
- This whole surface cache garbage management needs to be merged with gc
This commit is contained in:
parent
a058cf2ff0
commit
a6dada6c36
@ -219,6 +219,7 @@ namespace vk
|
||||
case rsx::problem_severity::severe:
|
||||
case rsx::problem_severity::fatal:
|
||||
// We're almost dead anyway. Remove forcefully.
|
||||
vk::get_resource_manager()->dispose(rtt);
|
||||
return true;
|
||||
default:
|
||||
fmt::throw_exception("Unreachable");
|
||||
|
Loading…
Reference in New Issue
Block a user