diff options
| author | Stenzek <stenzek@users.noreply.github.com> | 2016-12-19 22:11:38 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-19 22:11:38 +1000 |
| commit | 01047319f82e6ee50e89ed8045cf713ee3ae0a56 (patch) | |
| tree | 8d87b853e39e793f1763fc59b5030727653c49ae /Source/Core/VideoBackends/Vulkan/TextureCache.cpp | |
| parent | b15a40a825be9604977fcacb72d42806bbbf512d (diff) | |
| parent | accce4294aec05f59571c9983811624e2b4f5a70 (diff) | |
Merge pull request #4517 from stenzek/mp3-blotches
TextureCache: Use same color coefficients for EFB2Tex as EFB2RAM
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 b08ae89f91..a860e8601d 100644 --- a/Source/Core/VideoBackends/Vulkan/TextureCache.cpp +++ b/Source/Core/VideoBackends/Vulkan/TextureCache.cpp @@ -602,7 +602,7 @@ bool TextureCache::CompileShaders() void main() { float4 texcol = texture(samp0, uv0); - texcol = round(texcol * C.colmat[5]) * C.colmat[6]; + texcol = floor(texcol * C.colmat[5]) * C.colmat[6]; ocol0 = texcol * mat4(C.colmat[0], C.colmat[1], C.colmat[2], C.colmat[3]) + C.colmat[4]; } )"; |
