From ccfc60ec9446ccd5dea4093b04aebcff66e84ba5 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 10 Jan 2025 20:06:53 +1000 Subject: [PATCH] GPU/HW: Remove extra barrier on VRAM download Seems to work around download texture corruption on AMD/Vulkan/Windows. --- src/core/gpu_hw.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/gpu_hw.cpp b/src/core/gpu_hw.cpp index 883f0fe45..845a3e1af 100644 --- a/src/core/gpu_hw.cpp +++ b/src/core/gpu_hw.cpp @@ -3312,7 +3312,6 @@ void GPU_HW::DownloadVRAMFromGPU(u32 x, u32 y, u32 width, u32 height) g_gpu_device->SetViewportAndScissor(0, 0, encoded_width, encoded_height); g_gpu_device->PushUniformBuffer(uniforms, sizeof(uniforms)); g_gpu_device->Draw(3, 0); - m_vram_readback_texture->MakeReadyForSampling(); // Stage the readback and copy it into our shadow buffer. if (m_vram_readback_download_texture->IsImported())