mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Reformat repo to clang-format 7.0 rules
This commit is contained in:
@ -453,4 +453,4 @@ void PerspectiveDivide(OutputVertexData* vertex)
|
||||
screen.y = projected.y * wInverse * xfmem.viewport.ht + xfmem.viewport.yOrig - 342;
|
||||
screen.z = projected.z * wInverse * xfmem.viewport.zRange + xfmem.viewport.farZ;
|
||||
}
|
||||
}
|
||||
} // namespace Clipper
|
||||
|
@ -18,4 +18,4 @@ bool CullTest(const OutputVertexData* v0, const OutputVertexData* v1, const Outp
|
||||
bool& backface);
|
||||
|
||||
void PerspectiveDivide(OutputVertexData* vertex);
|
||||
}
|
||||
} // namespace Clipper
|
||||
|
@ -30,4 +30,4 @@ void CopyRegion(const T* const source, const MathUtil::Rectangle<int>& srcrect,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace SW
|
||||
|
@ -219,4 +219,4 @@ void OnObjectEnd()
|
||||
|
||||
stats.thisFrame.numDrawnObjects++;
|
||||
}
|
||||
}
|
||||
} // namespace DebugUtil
|
||||
|
@ -23,4 +23,4 @@ void DrawObjectBuffer(s16 x, s16 y, const u8* color, int bufferBase, int subBuff
|
||||
|
||||
void DrawTempBuffer(const u8* color, int buffer);
|
||||
void CopyTempBuffer(s16 x, s16 y, int bufferBase, int subBuffer, const char* name);
|
||||
}
|
||||
} // namespace DebugUtil
|
||||
|
@ -33,4 +33,4 @@ void ClearEfb()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace EfbCopy
|
||||
|
@ -710,4 +710,4 @@ void IncPerfCounterQuadCount(PerfQueryType type)
|
||||
quad[type] = 0;
|
||||
++perf_values[type];
|
||||
}
|
||||
}
|
||||
} // namespace EfbInterface
|
||||
|
@ -467,4 +467,4 @@ void DrawTriangleFrontFace(const OutputVertexData* v0, const OutputVertexData* v
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace Rasterizer
|
||||
|
@ -40,4 +40,4 @@ struct RasterBlock
|
||||
s32 TextureLod[16];
|
||||
bool TextureLinear[16];
|
||||
};
|
||||
}
|
||||
} // namespace Rasterizer
|
||||
|
@ -1468,7 +1468,7 @@ void EncodeEfbCopy(u8* dst, const EFBCopyParams& params, u32 native_width, u32 b
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
|
||||
void Encode(AbstractStagingTexture* dst, const EFBCopyParams& params, u32 native_width,
|
||||
u32 bytes_per_row, u32 num_blocks_y, u32 memory_stride,
|
||||
@ -1493,4 +1493,4 @@ void Encode(AbstractStagingTexture* dst, const EFBCopyParams& params, u32 native
|
||||
bytes_per_row, num_blocks_y, memory_stride, src_rect, scale_by_half);
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace TextureEncoder
|
||||
|
@ -247,4 +247,4 @@ void SampleMip(s32 s, s32 t, s32 mip, bool linear, u8 texmap, u8* sample)
|
||||
imageWidth);
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace TextureSampler
|
||||
|
@ -19,4 +19,4 @@ enum
|
||||
BLU_SMP,
|
||||
ALP_SMP
|
||||
};
|
||||
}
|
||||
} // namespace TextureSampler
|
||||
|
@ -455,4 +455,4 @@ void TransformTexCoord(const InputVertexData* src, OutputVertexData* dst, bool s
|
||||
dst->texCoords[coordNum][1] *= (bpmem.texcoords[coordNum].t.scale_minus_1 + 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace TransformUnit
|
||||
|
@ -13,4 +13,4 @@ void TransformPosition(const InputVertexData* src, OutputVertexData* dst);
|
||||
void TransformNormal(const InputVertexData* src, bool nbt, OutputVertexData* dst);
|
||||
void TransformColor(const InputVertexData* src, OutputVertexData* dst);
|
||||
void TransformTexCoord(const InputVertexData* src, OutputVertexData* dst, bool specialCase);
|
||||
}
|
||||
} // namespace TransformUnit
|
||||
|
Reference in New Issue
Block a user