aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader_environment.cpp
diff options
context:
space:
mode:
authorTakoroka <137927095+Takoroka@users.noreply.github.com>2026-10-29 23:33:03 -0400
committerTakoroka <137927095+Takoroka@users.noreply.github.com>2026-10-29 23:33:03 -0400
commit1eb97beca0e7ca4998a24dd57aaddfedd2224947 (patch)
treee79f569f48ed9468dc66fa0db05a2e38b7aff8af /src/video_core/shader_environment.cpp
parent093fc7661800fc05419a1ab26e7b8859c55c0908 (diff)
nx2: log per-call GPU memory, syncpoint and shader lowering lines at debug level
GPU memory registration (gpu sub 101) and mapping (211) alone wrote two info lines per allocation, about 80% of every Switch 2 log (27,000 lines in five minutes of Mario Kart World), with slot jobs, semaphore pages, GPU-only region words, syncpoint waits and each lowered shader on top. They are still there at debug level; one-time messages, the GPU-only region backing and every warning about unexpected requests stay as they were.
Diffstat (limited to 'src/video_core/shader_environment.cpp')
-rw-r--r--src/video_core/shader_environment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader_environment.cpp b/src/video_core/shader_environment.cpp
index 96306d9a27..9d189ad4f0 100644
--- a/src/video_core/shader_environment.cpp
+++ b/src/video_core/shader_environment.cpp
@@ -458,7 +458,7 @@ void GenericEnvironment::InitializeNativeCode(u32 source_header_size) {
Shader::Ampere::AppendNativeAddressMap(code, lowered.source_instruction_offsets);
cached_lowest = 0;
cached_highest = static_cast<u32>((code.size() - 1) * sizeof(u64));
- LOG_INFO(Shader, "Lowered native shader at {:#x}: {} source bytes, {} instructions",
+ LOG_DEBUG(Shader, "Lowered native shader at {:#x}: {} source bytes, {} instructions",
program_base, native_source_size, lowered.instructions.size());
}