summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWPixelEngine.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-02-09 18:29:13 -0500
committerLioncash <mathew1800@gmail.com>2014-02-09 19:40:11 -0500
commitebb48d019eec1c29a37a406e2db16d7565367faa (patch)
tree254aa42356ced8de7c87d9da181cff4475c12ba4 /Source/Core/VideoBackends/Software/SWPixelEngine.h
parent40182a48a56b8e294e126c64f5f37910a40c67cd (diff)
Clean up some struct indentations
Also cleaned up the indentations of some variable declarations.
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWPixelEngine.h')
-rw-r--r--Source/Core/VideoBackends/Software/SWPixelEngine.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/Source/Core/VideoBackends/Software/SWPixelEngine.h b/Source/Core/VideoBackends/Software/SWPixelEngine.h
index 71cca73c2c..4a6c6ec2aa 100644
--- a/Source/Core/VideoBackends/Software/SWPixelEngine.h
+++ b/Source/Core/VideoBackends/Software/SWPixelEngine.h
@@ -48,10 +48,10 @@ namespace SWPixelEngine
u16 Hex;
struct
{
- u16 ZCompEnable : 1; // Z Comparator Enable
- u16 Function : 3;
- u16 ZUpdEnable : 1;
- u16 : 11;
+ u16 ZCompEnable : 1; // Z Comparator Enable
+ u16 Function : 3;
+ u16 ZUpdEnable : 1;
+ u16 : 11;
};
};
@@ -60,15 +60,15 @@ namespace SWPixelEngine
u16 Hex;
struct
{
- u16 BMMath : 1; // GX_BM_BLEND || GX_BM_SUBSTRACT
- u16 BMLogic : 1; // GX_BM_LOGIC
- u16 Dither : 1;
- u16 ColorUpdEnable : 1;
- u16 AlphaUpdEnable : 1;
- u16 DstFactor : 3;
- u16 SrcFactor : 3;
- u16 Substract : 1; // Additive mode by default
- u16 BlendOperator : 4;
+ u16 BMMath : 1; // GX_BM_BLEND || GX_BM_SUBSTRACT
+ u16 BMLogic : 1; // GX_BM_LOGIC
+ u16 Dither : 1;
+ u16 ColorUpdEnable : 1;
+ u16 AlphaUpdEnable : 1;
+ u16 DstFactor : 3;
+ u16 SrcFactor : 3;
+ u16 Substract : 1; // Additive mode by default
+ u16 BlendOperator : 4;
};
};
@@ -77,9 +77,9 @@ namespace SWPixelEngine
u16 Hex;
struct
{
- u16 DstAlpha : 8;
- u16 Enable : 1;
- u16 : 7;
+ u16 DstAlpha : 8;
+ u16 Enable : 1;
+ u16 : 7;
};
};
@@ -88,8 +88,8 @@ namespace SWPixelEngine
u16 Hex;
struct
{
- u16 Threshold : 8;
- u16 CompareMode : 8;
+ u16 Threshold : 8;
+ u16 CompareMode : 8;
};
};
@@ -98,8 +98,8 @@ namespace SWPixelEngine
u16 Hex;
struct
{
- u16 ReadMode : 3;
- u16 : 13;
+ u16 ReadMode : 3;
+ u16 : 13;
};
};
@@ -107,11 +107,11 @@ namespace SWPixelEngine
{
struct
{
- u16 PETokenEnable : 1;
- u16 PEFinishEnable : 1;
- u16 PEToken : 1; // write only
- u16 PEFinish : 1; // write only
- u16 : 12;
+ u16 PETokenEnable : 1;
+ u16 PEFinishEnable : 1;
+ u16 PEToken : 1; // write only
+ u16 PEFinish : 1; // write only
+ u16 : 12;
};
u16 Hex;
UPECtrlReg() {Hex = 0; }