From 456b649b19431d7bbb122d9e27d6809b921dfbc3 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Fri, 6 Aug 2021 21:37:06 +0300 Subject: [PATCH] vk: Do not force check for successful texture cache load The following set of conditions can fail 1. We hit a RTT owned texture 2. The texture is invalidated (failed memory integrity test) and set to write/read-through In this situation, RTT overlap check will skip this surface, and a match can be found in texture cache if WCB/WDB is enabled. The incoming hit however has no managed payload. This is expected behavior, the search should load from CPU. --- rpcs3/Emu/RSX/VK/VKPresent.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/rpcs3/Emu/RSX/VK/VKPresent.cpp b/rpcs3/Emu/RSX/VK/VKPresent.cpp index 6c40f62395..1741f0a895 100644 --- a/rpcs3/Emu/RSX/VK/VKPresent.cpp +++ b/rpcs3/Emu/RSX/VK/VKPresent.cpp @@ -335,7 +335,6 @@ vk::viewable_image* VKGSRender::get_present_source(vk::present_surface_info* inf // Hack - this should be the first location to check for output // The render might have been done offscreen or in software and a blit used to display image_to_flip = dynamic_cast(surface->get_raw_texture()); - ensure(image_to_flip); } if (!image_to_flip)