diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-04-12 14:18:04 +0200 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2018-04-12 21:28:39 +0200 |
| commit | 40bb9974f21878e64fb03d70e717cb996bf13a29 (patch) | |
| tree | 1d8a9e7eea10820e5d645ad5028e506836b856de /Source/Core/VideoCommon/VertexLoader_Position.cpp | |
| parent | d27e85e9d70dfb41a5b8880fd3375a0ac9574f5d (diff) | |
Reformat all the things!
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader_Position.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoader_Position.cpp | 120 |
1 files changed, 80 insertions, 40 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader_Position.cpp b/Source/Core/VideoCommon/VertexLoader_Position.cpp index 86f1e76e36..a21061ac55 100644 --- a/Source/Core/VideoCommon/VertexLoader_Position.cpp +++ b/Source/Core/VideoCommon/VertexLoader_Position.cpp @@ -78,70 +78,90 @@ void Pos_ReadIndex(VertexLoader* loader) static TPipelineFunction tableReadPosition[4][8][2] = { { { - nullptr, nullptr, + nullptr, + nullptr, }, { - nullptr, nullptr, + nullptr, + nullptr, }, { - nullptr, nullptr, + nullptr, + nullptr, }, { - nullptr, nullptr, + nullptr, + nullptr, }, { - nullptr, nullptr, + nullptr, + nullptr, }, }, { { - Pos_ReadDirect<u8, 2>, Pos_ReadDirect<u8, 3>, + Pos_ReadDirect<u8, 2>, + Pos_ReadDirect<u8, 3>, }, { - Pos_ReadDirect<s8, 2>, Pos_ReadDirect<s8, 3>, + Pos_ReadDirect<s8, 2>, + Pos_ReadDirect<s8, 3>, }, { - Pos_ReadDirect<u16, 2>, Pos_ReadDirect<u16, 3>, + Pos_ReadDirect<u16, 2>, + Pos_ReadDirect<u16, 3>, }, { - Pos_ReadDirect<s16, 2>, Pos_ReadDirect<s16, 3>, + Pos_ReadDirect<s16, 2>, + Pos_ReadDirect<s16, 3>, }, { - Pos_ReadDirect<float, 2>, Pos_ReadDirect<float, 3>, + Pos_ReadDirect<float, 2>, + Pos_ReadDirect<float, 3>, }, }, { { - Pos_ReadIndex<u8, u8, 2>, Pos_ReadIndex<u8, u8, 3>, + Pos_ReadIndex<u8, u8, 2>, + Pos_ReadIndex<u8, u8, 3>, }, { - Pos_ReadIndex<u8, s8, 2>, Pos_ReadIndex<u8, s8, 3>, + Pos_ReadIndex<u8, s8, 2>, + Pos_ReadIndex<u8, s8, 3>, }, { - Pos_ReadIndex<u8, u16, 2>, Pos_ReadIndex<u8, u16, 3>, + Pos_ReadIndex<u8, u16, 2>, + Pos_ReadIndex<u8, u16, 3>, }, { - Pos_ReadIndex<u8, s16, 2>, Pos_ReadIndex<u8, s16, 3>, + Pos_ReadIndex<u8, s16, 2>, + Pos_ReadIndex<u8, s16, 3>, }, { - Pos_ReadIndex<u8, float, 2>, Pos_ReadIndex<u8, float, 3>, + Pos_ReadIndex<u8, float, 2>, + Pos_ReadIndex<u8, float, 3>, }, }, { { - Pos_ReadIndex<u16, u8, 2>, Pos_ReadIndex<u16, u8, 3>, + Pos_ReadIndex<u16, u8, 2>, + Pos_ReadIndex<u16, u8, 3>, }, { - Pos_ReadIndex<u16, s8, 2>, Pos_ReadIndex<u16, s8, 3>, + Pos_ReadIndex<u16, s8, 2>, + Pos_ReadIndex<u16, s8, 3>, }, { - Pos_ReadIndex<u16, u16, 2>, Pos_ReadIndex<u16, u16, 3>, + Pos_ReadIndex<u16, u16, 2>, + Pos_ReadIndex<u16, u16, 3>, }, { - Pos_ReadIndex<u16, s16, 2>, Pos_ReadIndex<u16, s16, 3>, + Pos_ReadIndex<u16, s16, 2>, + Pos_ReadIndex<u16, s16, 3>, }, { - Pos_ReadIndex<u16, float, 2>, Pos_ReadIndex<u16, float, 3>, + Pos_ReadIndex<u16, float, 2>, + Pos_ReadIndex<u16, float, 3>, }, }, }; @@ -149,70 +169,90 @@ static TPipelineFunction tableReadPosition[4][8][2] = { static int tableReadPositionVertexSize[4][8][2] = { { { - 0, 0, + 0, + 0, }, { - 0, 0, + 0, + 0, }, { - 0, 0, + 0, + 0, }, { - 0, 0, + 0, + 0, }, { - 0, 0, + 0, + 0, }, }, { { - 2, 3, + 2, + 3, }, { - 2, 3, + 2, + 3, }, { - 4, 6, + 4, + 6, }, { - 4, 6, + 4, + 6, }, { - 8, 12, + 8, + 12, }, }, { { - 1, 1, + 1, + 1, }, { - 1, 1, + 1, + 1, }, { - 1, 1, + 1, + 1, }, { - 1, 1, + 1, + 1, }, { - 1, 1, + 1, + 1, }, }, { { - 2, 2, + 2, + 2, }, { - 2, 2, + 2, + 2, }, { - 2, 2, + 2, + 2, }, { - 2, 2, + 2, + 2, }, { - 2, 2, + 2, + 2, }, }, }; |
