mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Merge pull request #11016 from Pokechu22/software-indirect-texture-bug
Software/Rasterizer: Fix indirect stage using texture coordinates/maps >= 4
This commit is contained in:
commit
6d61e6a601
@ -291,9 +291,9 @@ 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 & 3;
|
||||
u32 texmap = indref & 7;
|
||||
indref >>= 3;
|
||||
u32 texcoord = indref & 3;
|
||||
u32 texcoord = indref & 7;
|
||||
indref >>= 3;
|
||||
|
||||
CalculateLOD(&rasterBlock.IndirectLod[i], &rasterBlock.IndirectLinear[i], texmap, texcoord);
|
||||
|
Loading…
Reference in New Issue
Block a user