mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 10:09:36 -06:00
Rename bpmem.copyMipMapStrideChannels to bpmem.copyDestStride
As far as I can tell, it has nothing to do with the mipmap/half_scale functionality, but does change based on the width of the destination texture (and the destination texture is half the width if half_scale is set). The comment that was there (which dates back to the initial megacommit) seems to not have accounted for the width aspect; it was first used as an actual stride in bbbe898839
(the first commit that used it at all).
This commit is contained in:
@ -605,7 +605,7 @@ void FifoPlayer::ClearEfb()
|
||||
wh.x = EFB_WIDTH - 1;
|
||||
wh.y = EFB_HEIGHT - 1;
|
||||
LoadBPReg(BPMEM_EFB_WH, wh.hex);
|
||||
LoadBPReg(BPMEM_MIPMAP_STRIDE, 0x140);
|
||||
LoadBPReg(BPMEM_EFB_STRIDE, 0x140);
|
||||
// The clear color and Z value have already been loaded via LoadRegisters()
|
||||
LoadBPReg(BPMEM_EFB_ADDR, 0);
|
||||
UPE_Copy copy = bpmem.triggerEFBCopy;
|
||||
@ -627,7 +627,7 @@ void FifoPlayer::ClearEfb()
|
||||
// probably a good idea.
|
||||
LoadBPReg(BPMEM_EFB_TL, m_File->GetBPMem()[BPMEM_EFB_TL]);
|
||||
LoadBPReg(BPMEM_EFB_WH, m_File->GetBPMem()[BPMEM_EFB_WH]);
|
||||
LoadBPReg(BPMEM_MIPMAP_STRIDE, m_File->GetBPMem()[BPMEM_MIPMAP_STRIDE]);
|
||||
LoadBPReg(BPMEM_EFB_STRIDE, m_File->GetBPMem()[BPMEM_EFB_STRIDE]);
|
||||
LoadBPReg(BPMEM_EFB_ADDR, m_File->GetBPMem()[BPMEM_EFB_ADDR]);
|
||||
// Wait for the EFB copy to finish. That way, the EFB copy (which will be performed at a later
|
||||
// time) won't clobber any memory updates.
|
||||
|
Reference in New Issue
Block a user