diff options
author | Lioncash <mathew1800@gmail.com> | 2018-04-25 14:13:44 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-04-25 15:13:57 +0200 |
commit | b7551e457bacf972789136cfdc1e90c5a2e0dae6 (patch) | |
tree | b9b82879eae3a58346ddb4d7cffaaca421e464a3 /src/video_core/command_processor.cpp | |
parent | Merge pull request #388 from bunnei/refactor-rasterizer-cache (diff) | |
download | yuzu-b7551e457bacf972789136cfdc1e90c5a2e0dae6.tar yuzu-b7551e457bacf972789136cfdc1e90c5a2e0dae6.tar.gz yuzu-b7551e457bacf972789136cfdc1e90c5a2e0dae6.tar.bz2 yuzu-b7551e457bacf972789136cfdc1e90c5a2e0dae6.tar.lz yuzu-b7551e457bacf972789136cfdc1e90c5a2e0dae6.tar.xz yuzu-b7551e457bacf972789136cfdc1e90c5a2e0dae6.tar.zst yuzu-b7551e457bacf972789136cfdc1e90c5a2e0dae6.zip |
Diffstat (limited to 'src/video_core/command_processor.cpp')
-rw-r--r-- | src/video_core/command_processor.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp index 2c04daba3..f6a88f031 100644 --- a/src/video_core/command_processor.cpp +++ b/src/video_core/command_processor.cpp @@ -31,12 +31,14 @@ enum class BufferMethods { }; void GPU::WriteReg(u32 method, u32 subchannel, u32 value, u32 remaining_params) { - LOG_WARNING(HW_GPU, "Processing method %08X on subchannel %u value %08X remaining params %u", - method, subchannel, value, remaining_params); + NGLOG_WARNING(HW_GPU, + "Processing method {:08X} on subchannel {} value " + "{:08X} remaining params {}", + method, subchannel, value, remaining_params); if (method == static_cast<u32>(BufferMethods::SetGraphMacroEntry)) { // Prepare to upload a new macro, reset the upload counter. - LOG_DEBUG(HW_GPU, "Uploading GPU macro %08X", value); + NGLOG_DEBUG(HW_GPU, "Uploading GPU macro {:08X}", value); current_macro_entry = value; current_macro_code.clear(); return; @@ -58,7 +60,7 @@ void GPU::WriteReg(u32 method, u32 subchannel, u32 value, u32 remaining_params) if (method == static_cast<u32>(BufferMethods::BindObject)) { // Bind the current subchannel to the desired engine id. - LOG_DEBUG(HW_GPU, "Binding subchannel %u to engine %u", subchannel, value); + NGLOG_DEBUG(HW_GPU, "Binding subchannel {} to engine {}", subchannel, value); ASSERT(bound_engines.find(subchannel) == bound_engines.end()); bound_engines[subchannel] = static_cast<EngineID>(value); return; @@ -66,7 +68,7 @@ void GPU::WriteReg(u32 method, u32 subchannel, u32 value, u32 remaining_params) if (method < static_cast<u32>(BufferMethods::CountBufferMethods)) { // TODO(Subv): Research and implement these methods. - LOG_ERROR(HW_GPU, "Special buffer methods other than Bind are not implemented"); + NGLOG_ERROR(HW_GPU, "Special buffer methods other than Bind are not implemented"); return; } |