GPU: Partially implemented the Fermi2D surface copy operation.

The hardware allows for some rather complicated operations to be performed on the data during the copy, this is not implemented.
Only same-format same-size raw copies are implemented for now.
This commit is contained in:
Subv 2018-04-24 22:00:40 -05:00
parent 6418127891
commit 0c04a308d1
2 changed files with 59 additions and 0 deletions

View file

@ -88,6 +88,11 @@ public:
} regs{};
MemoryManager& memory_manager;
private:
/// Performs the copy from the source surface to the destination surface as configured in the
/// registers.
void HandleSurfaceCopy();
};
#define ASSERT_REG_POSITION(field_name, position) \