From dffc1a9196fcbab89c4e5f6f336c33f0eb3abfc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 18 Apr 2022 00:40:49 +0200 Subject: [PATCH] Add the slow comment to one more place --- GPU/Vulkan/TextureCacheVulkan.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/GPU/Vulkan/TextureCacheVulkan.cpp b/GPU/Vulkan/TextureCacheVulkan.cpp index 29f06d09ee..64ee0aba06 100644 --- a/GPU/Vulkan/TextureCacheVulkan.cpp +++ b/GPU/Vulkan/TextureCacheVulkan.cpp @@ -880,6 +880,7 @@ void TextureCacheVulkan::BuildTexture(TexCacheEntry *const entry) { // When hardware texture scaling is enabled, this saves the original. int w = dataScaled ? mipWidth : mipUnscaledWidth; int h = dataScaled ? mipHeight : mipUnscaledHeight; + // NOTE: Reading the decoded texture here may be very slow, if we just wrote it to write-combined memory. replacer_.NotifyTextureDecoded(replacedInfo, data, stride, i, w, h); } }