GS/HW: Add PSM logging to ClearGSLocalMemory()

This commit is contained in:
Stenzek 2023-07-19 17:29:34 +10:00 committed by Connor McLaughlin
parent b3403c40e1
commit 0e21b6da3d
1 changed files with 2 additions and 2 deletions

View File

@ -5654,8 +5654,8 @@ bool GSRendererHW::TryGSMemClear()
void GSRendererHW::ClearGSLocalMemory(const GSOffset& off, const GSVector4i& r, u32 vert_color) void GSRendererHW::ClearGSLocalMemory(const GSOffset& off, const GSVector4i& r, u32 vert_color)
{ {
GL_INS( GL_INS("ClearGSLocalMemory(): %08X %d,%d => %d,%d @ BP %x BW %u %s", vert_color, r.x, r.y, r.z, r.w, off.bp(),
"ClearGSLocalMemory(): %08X %d,%d => %d,%d @ BP %x BW %u", vert_color, r.x, r.y, r.z, r.w, off.bp(), off.bw()); off.bw(), psm_str(off.psm()));
const u32 psm = (off.psm() == PSMCT32 && m_cached_ctx.FRAME.FBMSK == 0xFF000000u) ? PSMCT24 : off.psm(); const u32 psm = (off.psm() == PSMCT32 && m_cached_ctx.FRAME.FBMSK == 0xFF000000u) ? PSMCT24 : off.psm();
const int format = GSLocalMemory::m_psm[psm].fmt; const int format = GSLocalMemory::m_psm[psm].fmt;