diff options
| author | Techjar <tecknojar@gmail.com> | 2019-05-05 23:48:12 +0000 |
|---|---|---|
| committer | Techjar <tecknojar@gmail.com> | 2019-05-06 18:48:04 +0000 |
| commit | ff972e3673cf70c67e5daf52d5cc913b1df7a1ba (patch) | |
| tree | 4392c427ebeb64fd4aba1bdafb1959dc03dbfeb9 /Source/Core/VideoBackends/Software | |
| parent | d347867f2e4153c86535ef5e6eed6efa49818d65 (diff) | |
Reformat repo to clang-format 7.0 rules
Diffstat (limited to 'Source/Core/VideoBackends/Software')
14 files changed, 15 insertions, 15 deletions
diff --git a/Source/Core/VideoBackends/Software/Clipper.cpp b/Source/Core/VideoBackends/Software/Clipper.cpp index 8fb66ab070..f7c7d2dbe8 100644 --- a/Source/Core/VideoBackends/Software/Clipper.cpp +++ b/Source/Core/VideoBackends/Software/Clipper.cpp @@ -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 diff --git a/Source/Core/VideoBackends/Software/Clipper.h b/Source/Core/VideoBackends/Software/Clipper.h index 319b88552d..d19bbedf7b 100644 --- a/Source/Core/VideoBackends/Software/Clipper.h +++ b/Source/Core/VideoBackends/Software/Clipper.h @@ -18,4 +18,4 @@ bool CullTest(const OutputVertexData* v0, const OutputVertexData* v1, const Outp bool& backface); void PerspectiveDivide(OutputVertexData* vertex); -} +} // namespace Clipper diff --git a/Source/Core/VideoBackends/Software/CopyRegion.h b/Source/Core/VideoBackends/Software/CopyRegion.h index fd695b8d3a..c275dcb38d 100644 --- a/Source/Core/VideoBackends/Software/CopyRegion.h +++ b/Source/Core/VideoBackends/Software/CopyRegion.h @@ -30,4 +30,4 @@ void CopyRegion(const T* const source, const MathUtil::Rectangle<int>& srcrect, } } } -} +} // namespace SW diff --git a/Source/Core/VideoBackends/Software/DebugUtil.cpp b/Source/Core/VideoBackends/Software/DebugUtil.cpp index 54fe476f16..7f8edcc909 100644 --- a/Source/Core/VideoBackends/Software/DebugUtil.cpp +++ b/Source/Core/VideoBackends/Software/DebugUtil.cpp @@ -219,4 +219,4 @@ void OnObjectEnd() stats.thisFrame.numDrawnObjects++; } -} +} // namespace DebugUtil diff --git a/Source/Core/VideoBackends/Software/DebugUtil.h b/Source/Core/VideoBackends/Software/DebugUtil.h index 1b95b2b222..494ce1c9e9 100644 --- a/Source/Core/VideoBackends/Software/DebugUtil.h +++ b/Source/Core/VideoBackends/Software/DebugUtil.h @@ -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 diff --git a/Source/Core/VideoBackends/Software/EfbCopy.cpp b/Source/Core/VideoBackends/Software/EfbCopy.cpp index bba64ee7c1..d9b9790486 100644 --- a/Source/Core/VideoBackends/Software/EfbCopy.cpp +++ b/Source/Core/VideoBackends/Software/EfbCopy.cpp @@ -33,4 +33,4 @@ void ClearEfb() } } } -} +} // namespace EfbCopy diff --git a/Source/Core/VideoBackends/Software/EfbInterface.cpp b/Source/Core/VideoBackends/Software/EfbInterface.cpp index 0f74d4ebde..d64c519385 100644 --- a/Source/Core/VideoBackends/Software/EfbInterface.cpp +++ b/Source/Core/VideoBackends/Software/EfbInterface.cpp @@ -710,4 +710,4 @@ void IncPerfCounterQuadCount(PerfQueryType type) quad[type] = 0; ++perf_values[type]; } -} +} // namespace EfbInterface diff --git a/Source/Core/VideoBackends/Software/Rasterizer.cpp b/Source/Core/VideoBackends/Software/Rasterizer.cpp index e530e80e54..f35ccea26f 100644 --- a/Source/Core/VideoBackends/Software/Rasterizer.cpp +++ b/Source/Core/VideoBackends/Software/Rasterizer.cpp @@ -467,4 +467,4 @@ void DrawTriangleFrontFace(const OutputVertexData* v0, const OutputVertexData* v } } } -} +} // namespace Rasterizer diff --git a/Source/Core/VideoBackends/Software/Rasterizer.h b/Source/Core/VideoBackends/Software/Rasterizer.h index 215525be8c..9740371d19 100644 --- a/Source/Core/VideoBackends/Software/Rasterizer.h +++ b/Source/Core/VideoBackends/Software/Rasterizer.h @@ -40,4 +40,4 @@ struct RasterBlock s32 TextureLod[16]; bool TextureLinear[16]; }; -} +} // namespace Rasterizer diff --git a/Source/Core/VideoBackends/Software/TextureEncoder.cpp b/Source/Core/VideoBackends/Software/TextureEncoder.cpp index d3e76aa997..6ed13a0229 100644 --- a/Source/Core/VideoBackends/Software/TextureEncoder.cpp +++ b/Source/Core/VideoBackends/Software/TextureEncoder.cpp @@ -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 diff --git a/Source/Core/VideoBackends/Software/TextureSampler.cpp b/Source/Core/VideoBackends/Software/TextureSampler.cpp index 2d9e2d19ae..93ff4ba44e 100644 --- a/Source/Core/VideoBackends/Software/TextureSampler.cpp +++ b/Source/Core/VideoBackends/Software/TextureSampler.cpp @@ -247,4 +247,4 @@ void SampleMip(s32 s, s32 t, s32 mip, bool linear, u8 texmap, u8* sample) imageWidth); } } -} +} // namespace TextureSampler diff --git a/Source/Core/VideoBackends/Software/TextureSampler.h b/Source/Core/VideoBackends/Software/TextureSampler.h index a7e8a136f5..5b82fcfb6e 100644 --- a/Source/Core/VideoBackends/Software/TextureSampler.h +++ b/Source/Core/VideoBackends/Software/TextureSampler.h @@ -19,4 +19,4 @@ enum BLU_SMP, ALP_SMP }; -} +} // namespace TextureSampler diff --git a/Source/Core/VideoBackends/Software/TransformUnit.cpp b/Source/Core/VideoBackends/Software/TransformUnit.cpp index d8b7763669..4a55d1842f 100644 --- a/Source/Core/VideoBackends/Software/TransformUnit.cpp +++ b/Source/Core/VideoBackends/Software/TransformUnit.cpp @@ -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 diff --git a/Source/Core/VideoBackends/Software/TransformUnit.h b/Source/Core/VideoBackends/Software/TransformUnit.h index fea42c8104..41f8645b3a 100644 --- a/Source/Core/VideoBackends/Software/TransformUnit.h +++ b/Source/Core/VideoBackends/Software/TransformUnit.h @@ -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 |
