diff options
| author | Markus Wick <degasus@users.noreply.github.com> | 2017-04-12 01:09:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-12 01:09:30 +0200 |
| commit | 29344cb5ff7cfaae08349726a092b78689c17a45 (patch) | |
| tree | 64ac677546927d8565e0a7c1dc2dcfe3824fe244 /Source/Core/VideoCommon/TextureCacheBase.h | |
| parent | 8ecc5e9b7a43c346ffa87572d45ff7e38c83c632 (diff) | |
| parent | 5e7bd03d0b8aaf16b4baa716d73c4804760a84c0 (diff) | |
Merge pull request #5202 from stenzek/efb-copy-source-format
TextureConversionShader: Consider source format of EFB for EFB2RAM
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.h')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.h b/Source/Core/VideoCommon/TextureCacheBase.h index 3000491924..4c9582079b 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.h +++ b/Source/Core/VideoCommon/TextureCacheBase.h @@ -154,9 +154,9 @@ public: virtual TCacheEntryBase* CreateTexture(const TCacheEntryConfig& config) = 0; - virtual void CopyEFB(u8* dst, u32 format, u32 native_width, u32 bytes_per_row, u32 num_blocks_y, - u32 memory_stride, bool is_depth_copy, const EFBRectangle& srcRect, - bool isIntensity, bool scaleByHalf) = 0; + virtual void CopyEFB(u8* dst, const EFBCopyFormat& format, u32 native_width, u32 bytes_per_row, + u32 num_blocks_y, u32 memory_stride, bool is_depth_copy, + const EFBRectangle& src_rect, bool scale_by_half) = 0; virtual bool CompileShaders() = 0; virtual void DeleteShaders() = 0; |
