mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Merge pull request #12712 from Dentomologist/remove_defined_out_code
Remove defined-out code
This commit is contained in:
@ -115,30 +115,14 @@ static inline void DecodeBytes_IA4(u32* dst, const u8* src)
|
||||
|
||||
static inline void DecodeBytes_RGB5A3(u32* dst, const u16* src)
|
||||
{
|
||||
#if 0
|
||||
for (int x = 0; x < 4; x++)
|
||||
dst[x] = DecodePixel_RGB5A3(Common::swap16(src[x]));
|
||||
#else
|
||||
dst[0] = DecodePixel_RGB5A3(Common::swap16(src[0]));
|
||||
dst[1] = DecodePixel_RGB5A3(Common::swap16(src[1]));
|
||||
dst[2] = DecodePixel_RGB5A3(Common::swap16(src[2]));
|
||||
dst[3] = DecodePixel_RGB5A3(Common::swap16(src[3]));
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline void DecodeBytes_RGBA8(u32* dst, const u16* src, const u16* src2)
|
||||
{
|
||||
#if 0
|
||||
for (int x = 0; x < 4; x++)
|
||||
{
|
||||
dst[x] = ((src[x] & 0xFF) << 24) | ((src[x] & 0xFF00)>>8) | (src2[x] << 8);
|
||||
}
|
||||
#else
|
||||
dst[0] = ((src[0] & 0xFF) << 24) | ((src[0] & 0xFF00) >> 8) | (src2[0] << 8);
|
||||
dst[1] = ((src[1] & 0xFF) << 24) | ((src[1] & 0xFF00) >> 8) | (src2[1] << 8);
|
||||
dst[2] = ((src[2] & 0xFF) << 24) | ((src[2] & 0xFF00) >> 8) | (src2[2] << 8);
|
||||
dst[3] = ((src[3] & 0xFF) << 24) | ((src[3] & 0xFF00) >> 8) | (src2[3] << 8);
|
||||
#endif
|
||||
dst[x] = ((src[x] & 0xFF) << 24) | ((src[x] & 0xFF00) >> 8) | (src2[x] << 8);
|
||||
}
|
||||
|
||||
static void DecodeDXTBlock(u32* dst, const DXTBlock* src, int pitch)
|
||||
|
@ -1051,19 +1051,6 @@ void VertexManagerBase::OnEndFrame()
|
||||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
{
|
||||
std::ostringstream ss;
|
||||
std::for_each(m_cpu_accesses_this_frame.begin(), m_cpu_accesses_this_frame.end(), [&ss](u32 idx) { ss << idx << ","; });
|
||||
WARN_LOG_FMT(VIDEO, "CPU EFB accesses in last frame: {}", ss.str());
|
||||
}
|
||||
{
|
||||
std::ostringstream ss;
|
||||
std::for_each(m_scheduled_command_buffer_kicks.begin(), m_scheduled_command_buffer_kicks.end(), [&ss](u32 idx) { ss << idx << ","; });
|
||||
WARN_LOG_FMT(VIDEO, "Scheduled command buffer kicks: {}", ss.str());
|
||||
}
|
||||
#endif
|
||||
|
||||
m_cpu_accesses_this_frame.clear();
|
||||
|
||||
// We invalidate the pipeline object at the start of the frame.
|
||||
|
Reference in New Issue
Block a user