mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Reformat all the things. Have fun with merge conflicts.
This commit is contained in:
@ -10,33 +10,33 @@ struct OutputVertexData;
|
||||
|
||||
namespace Rasterizer
|
||||
{
|
||||
void Init();
|
||||
void Init();
|
||||
|
||||
void DrawTriangleFrontFace(OutputVertexData *v0, OutputVertexData *v1, OutputVertexData *v2);
|
||||
void DrawTriangleFrontFace(OutputVertexData* v0, OutputVertexData* v1, OutputVertexData* v2);
|
||||
|
||||
void SetTevReg(int reg, int comp, s16 color);
|
||||
void SetTevReg(int reg, int comp, s16 color);
|
||||
|
||||
struct Slope
|
||||
{
|
||||
float dfdx;
|
||||
float dfdy;
|
||||
float f0;
|
||||
struct Slope
|
||||
{
|
||||
float dfdx;
|
||||
float dfdy;
|
||||
float f0;
|
||||
|
||||
float GetValue(float dx, float dy) { return f0 + (dfdx * dx) + (dfdy * dy); }
|
||||
};
|
||||
float GetValue(float dx, float dy) { return f0 + (dfdx * dx) + (dfdy * dy); }
|
||||
};
|
||||
|
||||
struct RasterBlockPixel
|
||||
{
|
||||
float InvW;
|
||||
float Uv[8][2];
|
||||
};
|
||||
struct RasterBlockPixel
|
||||
{
|
||||
float InvW;
|
||||
float Uv[8][2];
|
||||
};
|
||||
|
||||
struct RasterBlock
|
||||
{
|
||||
RasterBlockPixel Pixel[2][2];
|
||||
s32 IndirectLod[4];
|
||||
bool IndirectLinear[4];
|
||||
s32 TextureLod[16];
|
||||
bool TextureLinear[16];
|
||||
};
|
||||
struct RasterBlock
|
||||
{
|
||||
RasterBlockPixel Pixel[2][2];
|
||||
s32 IndirectLod[4];
|
||||
bool IndirectLinear[4];
|
||||
s32 TextureLod[16];
|
||||
bool TextureLinear[16];
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user