Skip to content

Commit

Permalink
rsx: Lower some performance warnings to trace to reduce log spam
Browse files Browse the repository at this point in the history
  • Loading branch information
kd-11 authored and Megamouse committed Feb 11, 2024
1 parent c17014a commit c2631c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rpcs3/Emu/RSX/GL/GLTextureCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ namespace gl
{
// This format is completely worthless to CPU processing algorithms where cache lines on die are linear.
// If this is happening, usually it means it was not a planned readback (e.g shared pages situation)
rsx_log.warning("[Performance warning] CPU readback of swizzled data");
rsx_log.trace("[Performance warning] CPU readback of swizzled data");

// Read-modify-write to avoid corrupting already resident memory outside texture region
std::vector<u8> tmp_data(rsx_pitch * height);
Expand Down
2 changes: 1 addition & 1 deletion rpcs3/Emu/RSX/VK/VKTextureCache.h
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ namespace vk
{
// This format is completely worthless to CPU processing algorithms where cache lines on die are linear.
// If this is happening, usually it means it was not a planned readback (e.g shared pages situation)
rsx_log.warning("[Performance warning] CPU readback of swizzled data");
rsx_log.trace("[Performance warning] CPU readback of swizzled data");

// Read-modify-write to avoid corrupting already resident memory outside texture region
void* data = get_ptr(range.start);
Expand Down

0 comments on commit c2631c9

Please sign in to comment.