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:
kd-11 2023-05-14 22:53:31 +03:00 committed by kd-11
parent a058cf2ff0
commit a6dada6c36

View File

@ -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");