VideoCommon: Split BBox* functions into common and backend implementation variants

This will allow for some aspects of bounding box to be handled in
VideoCommon instead of individual backends.
This commit is contained in:
Techjar
2021-05-21 21:54:19 -04:00
parent 40a4715074
commit 0f17990137
13 changed files with 48 additions and 29 deletions

View File

@ -126,12 +126,12 @@ u32 SWRenderer::AccessEFB(EFBAccessType type, u32 x, u32 y, u32 InputData)
return value;
}
u16 SWRenderer::BBoxRead(int index)
u16 SWRenderer::BBoxReadImpl(int index)
{
return BoundingBox::GetCoordinate(static_cast<BoundingBox::Coordinate>(index));
}
void SWRenderer::BBoxWrite(int index, u16 value)
void SWRenderer::BBoxWriteImpl(int index, u16 value)
{
BoundingBox::SetCoordinate(static_cast<BoundingBox::Coordinate>(index), value);
}