summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PixelEngine.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2021-08-09 13:50:07 -0700
committerPokechu22 <Pokechu022@gmail.com>2021-08-18 10:40:53 -0700
commit2519d14e36bf47f4ef6172928db13c5f7fae14e3 (patch)
tree89a82211d748993a519edb7e45d87bf48a191a26 /Source/Core/VideoCommon/PixelEngine.cpp
parent33154de614981f60a6d4dcd9328a86ed3af8808e (diff)
UberShaderVertex: Fix Tony Hawk Pro Skater 4
Fixes https://bugs.dolphin-emu.org/issues/12620 The changed code did not match the corresponding code in VertexShaderGen. Some parts of the sky have 2 color channels in each vertex, while others only have 1, despite only color channel 0 being used and XFMEM_SETNUMCHAN being set to 1 for both of them. The old code (from #4601) caused channel 0 to be set to channel 1 if the vertex contained both color channels but the number of channels was set to 1, which is wrong.
Diffstat (limited to 'Source/Core/VideoCommon/PixelEngine.cpp')
0 files changed, 0 insertions, 0 deletions