From fe5bfa9d61ea25fc4b6f55255cf309f6ec6dbe46 Mon Sep 17 00:00:00 2001 From: IndecisiveTurtle <47210458+raphaelthegreat@users.noreply.github.com> Date: Mon, 1 Jul 2024 22:52:07 +0300 Subject: [PATCH] texture_cache: Always validate for now --- src/video_core/texture_cache/texture_cache.cpp | 2 +- src/video_core/texture_cache/tile_manager.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/video_core/texture_cache/texture_cache.cpp b/src/video_core/texture_cache/texture_cache.cpp index 752d0111..02811735 100644 --- a/src/video_core/texture_cache/texture_cache.cpp +++ b/src/video_core/texture_cache/texture_cache.cpp @@ -140,7 +140,7 @@ ImageId TextureCache::FindImage(const ImageInfo& info, VAddr cpu_address, bool r RegisterMeta(info, image_id); Image& image = slot_images[image_id]; - if (True(image.flags & ImageFlagBits::CpuModified) && refresh_on_create) { + if (True(image.flags & ImageFlagBits::CpuModified)) { RefreshImage(image); TrackImage(image, image_id); } diff --git a/src/video_core/texture_cache/tile_manager.cpp b/src/video_core/texture_cache/tile_manager.cpp index 3a431231..e9818d75 100644 --- a/src/video_core/texture_cache/tile_manager.cpp +++ b/src/video_core/texture_cache/tile_manager.cpp @@ -194,6 +194,7 @@ vk::Format DemoteImageFormatForDetiling(vk::Format format) { [[fallthrough]]; case vk::Format::eBc3UnormBlock: case vk::Format::eBc7SrgbBlock: + case vk::Format::eBc7UnormBlock: return vk::Format::eR32G32B32A32Uint; default: break;