mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
BPMemory: Make TevKSel more clear
It stores both the konst selection value for alpha and color channels (for two tev stages per ksel), and half of a swap table row (there are 4 total swap tables, which can be used for swizzling the rasterized color and the texture color, and indices selecting which tables to use are stored per tev stage in the alpha combiner). Since these are indexed very differently, the old code was hard to follow.
This commit is contained in:
parent
f21798b9b6
commit
5ef8a7973e
6 changed files with 111 additions and 84 deletions
|
@ -200,7 +200,7 @@ class Tev
|
|||
INDIRECT = 32
|
||||
};
|
||||
|
||||
void SetRasColor(RasColorChan colorChan, int swaptable);
|
||||
void SetRasColor(RasColorChan colorChan, u32 swaptable);
|
||||
|
||||
void DrawColorRegular(const TevStageCombiner::ColorCombiner& cc, const InputRegType inputs[4]);
|
||||
void DrawColorCompare(const TevStageCombiner::ColorCombiner& cc, const InputRegType inputs[4]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue