diff options
| author | BhaaL <bhaal@0x1337.org> | 2017-01-04 12:45:40 +0100 |
|---|---|---|
| committer | BhaaL <bhaal@0x1337.org> | 2017-01-05 12:55:13 +0100 |
| commit | 23d99f2f2c6f3e16dce2371141702d07bef40e95 (patch) | |
| tree | 88d0f4139cc7b56cc6dff3510c242a5cc2c79f15 /Source/Core/VideoCommon/PixelEngine.cpp | |
| parent | 41101be545d4e2f10c77503a14b5236c870428ac (diff) | |
specify custom brace style to fix unions
BreakBeforeBraces: Allman apparently includes all styles,
except for AfterUnion (which is false) when using clang-format -dump-config
Diffstat (limited to 'Source/Core/VideoCommon/PixelEngine.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PixelEngine.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/PixelEngine.cpp b/Source/Core/VideoCommon/PixelEngine.cpp index 6818efa7b2..8a29f152e9 100644 --- a/Source/Core/VideoCommon/PixelEngine.cpp +++ b/Source/Core/VideoCommon/PixelEngine.cpp @@ -21,7 +21,8 @@ namespace PixelEngine { -union UPEZConfReg { +union UPEZConfReg +{ u16 Hex; struct { @@ -32,7 +33,8 @@ union UPEZConfReg { }; }; -union UPEAlphaConfReg { +union UPEAlphaConfReg +{ u16 Hex; struct { @@ -48,7 +50,8 @@ union UPEAlphaConfReg { }; }; -union UPEDstAlphaConfReg { +union UPEDstAlphaConfReg +{ u16 Hex; struct { @@ -58,7 +61,8 @@ union UPEDstAlphaConfReg { }; }; -union UPEAlphaModeConfReg { +union UPEAlphaModeConfReg +{ u16 Hex; struct { @@ -68,7 +72,8 @@ union UPEAlphaModeConfReg { }; // fifo Control Register -union UPECtrlReg { +union UPECtrlReg +{ struct { u16 PETokenEnable : 1; |
