From ec685a66cc5ffb1c369d7cc4c45e725a6dae9028 Mon Sep 17 00:00:00 2001 From: Forrest Mark X Date: Tue, 30 Jun 2026 16:54:13 -0500 Subject: [PATCH] Remove the calls to TickCompletedSparseImages for now I forgot the emulator basically re-generates the sparse texture on remap so all this does is waste memory --- src/video_core/texture_cache/texture_cache.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index 102b507845..e874024f66 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h @@ -184,7 +184,7 @@ void TextureCache

::TickFrame() { sentenced_image_view.Tick(); TickAsyncDecode(); TickAsyncUnswizzle(); - TickCompletedSparseImages(); + //TickCompletedSparseImages(); runtime.TickFrame(); ++frame_tick; @@ -1586,7 +1586,7 @@ void TextureCache

::TickAsyncUnswizzle() { const bool all_submitted = slices_submitted >= total_slices; if (is_final_batch && all_submitted) { - if (task.is_sparse && !task.is_incremental) { + /*if (task.is_sparse && !task.is_incremental) { const auto segs = gpu_memory->GetSubmappedRange(image.gpu_addr, image.guest_size_bytes); CompletedSparseImage entry; @@ -1600,7 +1600,7 @@ void TextureCache

::TickAsyncUnswizzle() { entry.swizzled_slice_size = task.swizzled_slice_size; entry.swizzle_block_depth = task.swizzle_block_depth; completed_sparse_images.push_back(std::move(entry)); - } + }*/ runtime.FreeDeferredStagingBuffer(task.staging_buffer); image.flags &= ~ImageFlagBits::IsDecoding;