mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Software: Store offset in Slope
This is needed since we need a separate offset for zfreeze to work correctly. It also makes the code a bit less jank.
This commit is contained in:
@ -16,15 +16,6 @@ void DrawTriangleFrontFace(const OutputVertexData* v0, const OutputVertexData* v
|
||||
|
||||
void SetTevReg(int reg, int comp, s16 color);
|
||||
|
||||
struct Slope
|
||||
{
|
||||
float dfdx;
|
||||
float dfdy;
|
||||
float f0;
|
||||
|
||||
float GetValue(float dx, float dy) const { return f0 + (dfdx * dx) + (dfdy * dy); }
|
||||
};
|
||||
|
||||
struct RasterBlockPixel
|
||||
{
|
||||
float InvW;
|
||||
|
Reference in New Issue
Block a user