mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Split TevStageIndirect::mid into matrix_index and matrix_id
This commit is contained in:
parent
1d628d087b
commit
c3668e179c
5 changed files with 78 additions and 41 deletions
|
@ -336,9 +336,7 @@ void PixelShaderManager::SetIndTexScaleChanged(bool high)
|
|||
|
||||
void PixelShaderManager::SetIndMatrixChanged(int matrixidx)
|
||||
{
|
||||
int scale = ((u32)bpmem.indmtx[matrixidx].col0.s0 << 0) |
|
||||
((u32)bpmem.indmtx[matrixidx].col1.s1 << 2) |
|
||||
((u32)bpmem.indmtx[matrixidx].col2.s2 << 4);
|
||||
const u8 scale = bpmem.indmtx[matrixidx].GetScale();
|
||||
|
||||
// xyz - static matrix
|
||||
// w - dynamic matrix scale / 128
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue