mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Split TevStageIndirect::mid into matrix_index and matrix_id
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user