diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-25 17:42:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-25 17:42:59 +0200 |
commit | 22420612db08e6dd64a593d67ccb72dad774accd (patch) | |
tree | b9b82879eae3a58346ddb4d7cffaaca421e464a3 /src/video_core/command_processor.cpp | |
parent | Merge pull request #388 from bunnei/refactor-rasterizer-cache (diff) | |
parent | video-core: Move logging macros over to new fmt-capable ones (diff) | |
download | yuzu-22420612db08e6dd64a593d67ccb72dad774accd.tar yuzu-22420612db08e6dd64a593d67ccb72dad774accd.tar.gz yuzu-22420612db08e6dd64a593d67ccb72dad774accd.tar.bz2 yuzu-22420612db08e6dd64a593d67ccb72dad774accd.tar.lz yuzu-22420612db08e6dd64a593d67ccb72dad774accd.tar.xz yuzu-22420612db08e6dd64a593d67ccb72dad774accd.tar.zst yuzu-22420612db08e6dd64a593d67ccb72dad774accd.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; } |