* perspective-correct Z interpolation

* fix depth buffering. support W-buffer mode.
* 3D/2D blending. doesn't do much yet, but the code is here.
This commit is contained in:
StapleButter
2017-03-06 23:57:04 +01:00
parent ed385ce0f5
commit 72209c51f9
4 changed files with 67 additions and 64 deletions

View File

@ -66,7 +66,7 @@ void CheckFIFOIRQ();
void CheckFIFODMA();
void VBlank();
u8* GetLine(int line);
u32* GetLine(int line);
u8 Read8(u32 addr);
u16 Read16(u32 addr);
@ -82,8 +82,8 @@ bool Init();
void DeInit();
void Reset();
void RenderFrame(Vertex* vertices, Polygon* polygons, int npolys);
u8* GetLine(int line);
void RenderFrame(u32 attr, Vertex* vertices, Polygon* polygons, int npolys);
u32* GetLine(int line);
}