summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureConversionShader.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-08-04 20:14:14 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-12-02 19:29:01 +0100
commit85bb1d7bb073155985e92c88343a6911d7f0752b (patch)
treeaf9c38af16d090777e771a34eea834ebbca7d57e /Source/Core/VideoCommon/TextureConversionShader.cpp
parentd71f4168e94f1ced736461bd62ec39e46be3c78f (diff)
VideoCommon: Reimplement texture format conversion
This fixes the rendering of the scan visor in Metroid Prime 2: Echoes, as seen in https://fifoci.dolphin-emu.org/dff/mp2-scanner/ The alpha channel was off-by-one on Ivy Bridge due to the rounding after multiplication with colmat. This commit removes this matrix altogether in most cases, making them simple GLSL swizzles.
Diffstat (limited to 'Source/Core/VideoCommon/TextureConversionShader.cpp')
0 files changed, 0 insertions, 0 deletions