From 4d13f69dc146bff6e9f1debf4f51d38e6b1e19db Mon Sep 17 00:00:00 2001 From: iwubcode Date: Sun, 6 Aug 2017 23:06:03 -0500 Subject: [PATCH] Remove TODOs --- Source/Core/VideoBackends/Software/EfbInterface.cpp | 7 ------- Source/Core/VideoBackends/Software/EfbInterface.h | 1 - Source/Core/VideoCommon/TextureDecoder_Common.cpp | 1 - 3 files changed, 9 deletions(-) diff --git a/Source/Core/VideoBackends/Software/EfbInterface.cpp b/Source/Core/VideoBackends/Software/EfbInterface.cpp index 411839c852..d80bd02f5b 100644 --- a/Source/Core/VideoBackends/Software/EfbInterface.cpp +++ b/Source/Core/VideoBackends/Software/EfbInterface.cpp @@ -553,13 +553,6 @@ void CopyToXFB(yuv422_packed* xfb_in_ram, u32 fbWidth, u32 fbHeight, const EFBRe } } -// Like CopyToXFB, but we copy directly into the OpenGL color texture without going via GameCube -// main memory or doing a yuyv conversion -void BypassXFB(u8* texture, u32 fbWidth, u32 fbHeight, const EFBRectangle& sourceRc, float Gamma) -{ - // TODO: Upload directly to texture cache. -} - bool ZCompare(u16 x, u16 y, u32 z) { u32 offset = GetDepthOffset(x, y); diff --git a/Source/Core/VideoBackends/Software/EfbInterface.h b/Source/Core/VideoBackends/Software/EfbInterface.h index 244e1fc3cf..1e246db38f 100644 --- a/Source/Core/VideoBackends/Software/EfbInterface.h +++ b/Source/Core/VideoBackends/Software/EfbInterface.h @@ -59,7 +59,6 @@ u8* GetPixelPointer(u16 x, u16 y, bool depth); void CopyToXFB(yuv422_packed* xfb_in_ram, u32 fbWidth, u32 fbHeight, const EFBRectangle& sourceRc, float Gamma); -void BypassXFB(u8* texture, u32 fbWidth, u32 fbHeight, const EFBRectangle& sourceRc, float Gamma); extern u32 perf_values[PQ_NUM_MEMBERS]; inline void IncPerfCounterQuadCount(PerfQueryType type) diff --git a/Source/Core/VideoCommon/TextureDecoder_Common.cpp b/Source/Core/VideoCommon/TextureDecoder_Common.cpp index 90be3d8dc7..4351a819c0 100644 --- a/Source/Core/VideoCommon/TextureDecoder_Common.cpp +++ b/Source/Core/VideoCommon/TextureDecoder_Common.cpp @@ -640,7 +640,6 @@ void TexDecoder_DecodeTexel(u8* dst, const u8* src, int s, int t, int imageWidth break; case TextureFormat::XFB: { - // TODO: I should kind of like... ACTUALLY TEST THIS!!!!! size_t offset = (t * imageWidth + (s & (~1))) * 2; // We do this one color sample (aka 2 RGB pixles) at a time