Add the slow comment to one more place

This commit is contained in:
Henrik Rydgård 2022-04-18 00:40:49 +02:00
parent b1af940d8e
commit dffc1a9196

View File

@ -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);
}
}