diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-03-14 20:34:35 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-03-14 22:03:12 -0400 |
| commit | 50a476c3714b3c423609ec04ce424c244bd2a1c1 (patch) | |
| tree | 68a1dadba4b9d61223401993865d0efa314e6a26 /Source/Core/VideoCommon/PixelShaderGen.cpp | |
| parent | 19d97f3fd972f1577ec821306bd438d2cf0232a8 (diff) | |
Assert: Uppercase assertion macros
Macros should be all upper-cased. This is also kind of a wart that's
been sticking out for quite a while now (we avoid prefixing
underscores).
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PixelShaderGen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp index 5e2d8e60ad..ddd3aa1015 100644 --- a/Source/Core/VideoCommon/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/PixelShaderGen.cpp @@ -947,7 +947,7 @@ static void WriteStage(ShaderCode& out, const pixel_shader_uid_data* uid_data, i } else if (tevind.mid <= 7 && bHasTexCoord) { // s matrix - _assert_(tevind.mid >= 5); + ASSERT(tevind.mid >= 5); int mtxidx = 2 * (tevind.mid - 5); out.SetConstantsUsed(C_INDTEXMTX + mtxidx, C_INDTEXMTX + mtxidx); @@ -969,7 +969,7 @@ static void WriteStage(ShaderCode& out, const pixel_shader_uid_data* uid_data, i } else if (tevind.mid <= 11 && bHasTexCoord) { // t matrix - _assert_(tevind.mid >= 9); + ASSERT(tevind.mid >= 9); int mtxidx = 2 * (tevind.mid - 9); out.SetConstantsUsed(C_INDTEXMTX + mtxidx, C_INDTEXMTX + mtxidx); |
