Split TevStageIndirect::mid into matrix_index and matrix_id

This commit is contained in:
Pokechu22 committed 2021-05-07 16:27:52 -07:00
1 parent 1d628d087b
commit c3668e179c
5 files changed
+78 -41

No files matched your search

@@ -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