SW/Rasterizer: Use RAS1_IREF::getTexCoord and getTexMap
This commit is contained in:
parent
ae0fcd9a9f
commit
4206ac243b
|
@ -286,13 +286,10 @@ static void BuildBlock(s32 blockX, s32 blockY)
|
|||
}
|
||||
}
|
||||
|
||||
u32 indref = bpmem.tevindref.hex;
|
||||
for (unsigned int i = 0; i < bpmem.genMode.numindstages; i++)
|
||||
{
|
||||
u32 texmap = indref & 7;
|
||||
indref >>= 3;
|
||||
u32 texcoord = indref & 7;
|
||||
indref >>= 3;
|
||||
u32 texmap = bpmem.tevindref.getTexMap(i);
|
||||
u32 texcoord = bpmem.tevindref.getTexCoord(i);
|
||||
|
||||
CalculateLOD(&rasterBlock.IndirectLod[i], &rasterBlock.IndirectLinear[i], texmap, texcoord);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue