summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorTechjar <tecknojar@gmail.com>2019-05-05 23:48:12 +0000
committerTechjar <tecknojar@gmail.com>2019-05-06 18:48:04 +0000
commitff972e3673cf70c67e5daf52d5cc913b1df7a1ba (patch)
tree4392c427ebeb64fd4aba1bdafb1959dc03dbfeb9 /Source/Core/VideoCommon/TextureCacheBase.cpp
parentd347867f2e4153c86535ef5e6eed6efa49818d65 (diff)
Reformat repo to clang-format 7.0 rules
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp
index f6c9fdc407..fcf4c945f9 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.cpp
+++ b/Source/Core/VideoCommon/TextureCacheBase.cpp
@@ -1934,14 +1934,13 @@ void TextureCacheBase::ReleaseEFBCopyStagingTexture(std::unique_ptr<AbstractStag
void TextureCacheBase::UninitializeXFBMemory(u8* dst, u32 stride, u32 bytes_per_row,
u32 num_blocks_y)
{
-// Originally, we planned on using a 'key color'
-// for alpha to address partial xfbs (Mario Strikers / Chicken Little).
-// This work was removed since it was unfinished but there
-// was still a desire to differentiate between the old and the new approach
-// which is why we still set uninitialized xfb memory to fuchsia
-// (Y=1,U=254,V=254) instead of dark green (Y=0,U=0,V=0) in YUV
-// like is done in the EFB path.
-// This comment is indented wrong because of the silly linter, btw.
+ // Originally, we planned on using a 'key color'
+ // for alpha to address partial xfbs (Mario Strikers / Chicken Little).
+ // This work was removed since it was unfinished but there
+ // was still a desire to differentiate between the old and the new approach
+ // which is why we still set uninitialized xfb memory to fuchsia
+ // (Y=1,U=254,V=254) instead of dark green (Y=0,U=0,V=0) in YUV
+ // like is done in the EFB path.
#if defined(_M_X86) || defined(_M_X86_64)
__m128i sixteenBytes = _mm_set1_epi16((s16)(u16)0xFE01);