diff options
| author | Stenzek <stenzek@gmail.com> | 2016-12-14 23:58:23 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2016-12-15 02:20:46 +1000 |
| commit | accce4294aec05f59571c9983811624e2b4f5a70 (patch) | |
| tree | 4da845bbabebfaa1ac4aeb427b638089dc1869dc /Source/Core/VideoBackends/Vulkan/TextureCache.cpp | |
| parent | d6cdf4976955fd7c03e28f2fa5035cb3b84c1b21 (diff) | |
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]; } )"; |
