diff options
| author | Stenzek <stenzek@gmail.com> | 2017-04-04 23:55:36 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2017-04-12 00:11:22 +1000 |
| commit | e9850aa0f270a1f735562db72d84860611ad7226 (patch) | |
| tree | 219ca0d2b272ebc1c8a480aaf25e69feb2e03cd1 /Source/Core/VideoBackends/D3D/TextureCache.cpp | |
| parent | 3847e226abd7e69d42796d47a61cfd539a430438 (diff) | |
VideoBackends: Support updated texture encoding shader generators
Diffstat (limited to 'Source/Core/VideoBackends/D3D/TextureCache.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/D3D/TextureCache.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoBackends/D3D/TextureCache.cpp b/Source/Core/VideoBackends/D3D/TextureCache.cpp index e3edf79695..d6369f290f 100644 --- a/Source/Core/VideoBackends/D3D/TextureCache.cpp +++ b/Source/Core/VideoBackends/D3D/TextureCache.cpp @@ -241,12 +241,12 @@ void TextureCache::TCacheEntry::FromRenderTarget(bool is_depth_copy, const EFBRe g_renderer->RestoreAPIState(); } -void TextureCache::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) +void TextureCache::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) { g_encoder->Encode(dst, format, native_width, bytes_per_row, num_blocks_y, memory_stride, - is_depth_copy, srcRect, isIntensity, scaleByHalf); + is_depth_copy, src_rect, scale_by_half); } const char palette_shader[] = |
