summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorMarkus Wick <degasus@users.noreply.github.com>2017-12-02 16:28:12 +0100
committerGitHub <noreply@github.com>2017-12-02 16:28:12 +0100
commit7498d80a6fe8aced9449e537c3a63203247aba09 (patch)
tree90d36b105f8595b3e846acb5e702adb618556c16 /Source/Core/VideoCommon/TextureCacheBase.cpp
parent2b2941d0c9274ea04a2f6c5f816f2bf804d25407 (diff)
parente2a9ee384f737b78f55a1bdd56e928bd33d802ba (diff)
Merge pull request #5882 from degasus/efb2tex_copies
Use VideoCommon shader generators for efb2tex copies.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp
index d6290001a9..7a8337895e 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.cpp
+++ b/Source/Core/VideoCommon/TextureCacheBase.cpp
@@ -1997,7 +1997,8 @@ void TextureCacheBase::CopyRenderTargetToTexture(u32 dstAddr, EFBCopyFormat dstF
entry->may_have_overlapping_textures = false;
entry->is_custom_tex = false;
- CopyEFBToCacheEntry(entry, is_depth_copy, srcRect, scaleByHalf, cbufid, colmat);
+ CopyEFBToCacheEntry(entry, is_depth_copy, srcRect, scaleByHalf, cbufid, colmat, dstFormat,
+ isIntensity);
u64 hash = entry->CalculateHash();
entry->SetHashes(hash, hash);