diff options
| author | Stenzek <stenzek@users.noreply.github.com> | 2018-05-22 13:52:26 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-22 13:52:26 +1000 |
| commit | 7eaba154a41c72826d4c660753386421f21336d7 (patch) | |
| tree | d47658663579320c3ec9cbf1e4432ff5d07877af /Source/Core/VideoBackends/Vulkan/TextureCache.cpp | |
| parent | f64bd401b692fae42dbc3894d5213b55f5517fdd (diff) | |
| parent | f74dbc794c124e6f1c5d5f60ff1d6fe65acc379f (diff) | |
Merge pull request #6936 from stenzek/copy-filter-depth-fix
EFB2RAM: Apply copy filter as a float coefficient after sampling
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/TextureCache.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/TextureCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/TextureCache.cpp b/Source/Core/VideoBackends/Vulkan/TextureCache.cpp index 364569baa3..334b3f9b1a 100644 --- a/Source/Core/VideoBackends/Vulkan/TextureCache.cpp +++ b/Source/Core/VideoBackends/Vulkan/TextureCache.cpp @@ -244,7 +244,7 @@ void TextureCache::CopyEFBToCacheEntry(TCacheEntry* entry, bool is_depth_copy, }; PixelUniforms uniforms; for (size_t i = 0; i < filter_coefficients.size(); i++) - uniforms.filter_coefficients[i] = filter_coefficients[i] / 64.0f; + uniforms.filter_coefficients[i] = filter_coefficients[i]; uniforms.gamma_rcp = 1.0f / gamma; uniforms.clamp_top = clamp_top ? src_rect.top / float(EFB_HEIGHT) : 0.0f; uniforms.clamp_bottom = clamp_bottom ? src_rect.bottom / float(EFB_HEIGHT) : 1.0f; |
