summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PixelEngine.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2022-05-18 18:03:10 -0700
committerPokechu22 <Pokechu022@gmail.com>2022-10-22 13:36:16 -0700
commit24b761acdadfb5613b0c5b79f161b621ffe87907 (patch)
treecc37dee66440b04139dcfed39bc82b54b80e3f40 /Source/Core/VideoCommon/PixelEngine.cpp
parent804e42150e03532e63ecc5a7f6f6eed751a132af (diff)
Fifo recorder: Fix position's type being used for normals/colors/texture coords
In most cases, games will use the same type for all vertex components (either Index8 or Index16 or Direct). However, RS2's deflection towers use Index16 for the texture coordinate and Index8 for everything else, meaning the texture coordinates were recorded incorrectly (the first byte was used, so only indices 0 and 1 were recorded instead of 0 through 0x0192). Worse still, some background elements in RS2 use direct positions but indexed normals or texture coordinates, and those would not be recorded at all. This is a regression from b5fd35f95145ecc8f88a179229ed69b390eb76be.
Diffstat (limited to 'Source/Core/VideoCommon/PixelEngine.cpp')
0 files changed, 0 insertions, 0 deletions