Browse Source

bleh

pull/4133/head
lizzie 2 months ago
parent
commit
16b55f5802
  1. 3
      src/video_core/texture_cache/texture_cache.h

3
src/video_core/texture_cache/texture_cache.h

@ -175,8 +175,7 @@ void TextureCache<P>::RunGarbageCollector() {
auto candidates = CollectBelow(frame_tick); auto candidates = CollectBelow(frame_tick);
for (const auto image_id : candidates) { for (const auto image_id : candidates) {
auto& image = slot_images[image_id]; auto& image = slot_images[image_id];
if (lowmemorydevice &&
image.info.is_sparse &&
if (image.info.is_sparse &&
image.guest_size_bytes >= 256_MiB && image.guest_size_bytes >= 256_MiB &&
image.allocation_tick < frame_tick - 3) { image.allocation_tick < frame_tick - 3) {
LOG_DEBUG(HW_GPU, "GC targeting old sparse texture at 0x{:X} ({} MiB, age: {} frames)", LOG_DEBUG(HW_GPU, "GC targeting old sparse texture at 0x{:X} ({} MiB, age: {} frames)",

Loading…
Cancel
Save