diff options
| author | Markus Wick <markus@selfnet.de> | 2017-08-04 17:56:24 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2017-12-02 15:17:39 +0100 |
| commit | 491c10ec96e4cb58724f0768a76e0cece63f2b07 (patch) | |
| tree | 2bfcf3ff639a9f33fe3f22aa40aa4d443623f65a /Source/Core/VideoCommon/TextureCacheBase.h | |
| parent | 2b2941d0c9274ea04a2f6c5f816f2bf804d25407 (diff) | |
VideoBackends: Use VideoCommon shader generators for efb2tex copies.
This will generate one shader per copy format. For now, it is the same
shader with the colmat hard coded. So it should already improve the GPU
performance a bit, but a rewrite of the shader generator is suggested.
Half of the patch is done by linkmauve1:
VideoCommon: Reorganise the shader writes.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.h')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.h b/Source/Core/VideoCommon/TextureCacheBase.h index 38666faf77..f2353bd0fc 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.h +++ b/Source/Core/VideoCommon/TextureCacheBase.h @@ -316,7 +316,8 @@ private: virtual void CopyEFBToCacheEntry(TCacheEntry* entry, bool is_depth_copy, const EFBRectangle& src_rect, bool scale_by_half, - unsigned int cbuf_id, const float* colmat) = 0; + unsigned int cbuf_id, const float* colmat, + EFBCopyFormat dst_format, bool is_intensity) = 0; // Removes and unlinks texture from texture cache and returns it to the pool TexAddrCache::iterator InvalidateTexture(TexAddrCache::iterator t_iter); |
