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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user