diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-21 04:25:29 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-04-21 04:30:56 +0200 |
commit | 8b28dc55e6f5465302125923ef55175a2594173b (patch) | |
tree | e10a238f5d33f60aabd17f033b7ebf2271933122 /src/video_core/renderer_opengl | |
parent | shader_bytecode: Add several more instruction decodings. (diff) | |
download | yuzu-8b28dc55e6f5465302125923ef55175a2594173b.tar yuzu-8b28dc55e6f5465302125923ef55175a2594173b.tar.gz yuzu-8b28dc55e6f5465302125923ef55175a2594173b.tar.bz2 yuzu-8b28dc55e6f5465302125923ef55175a2594173b.tar.lz yuzu-8b28dc55e6f5465302125923ef55175a2594173b.tar.xz yuzu-8b28dc55e6f5465302125923ef55175a2594173b.tar.zst yuzu-8b28dc55e6f5465302125923ef55175a2594173b.zip |
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index 5919b3c9e..6e901f627 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -342,7 +342,7 @@ private: // Decoding failure if (!opcode) { - NGLOG_CRITICAL(HW_GPU, "Unhandled instruction: {}", instr.value); + NGLOG_CRITICAL(HW_GPU, "Unhandled instruction: {0:x}", instr.value); UNREACHABLE(); } @@ -425,16 +425,14 @@ private: SetDest(0, dest, "min(" + op_a + "," + op_b + ")", 1, 1, instr.alu.abs_d); break; default: - NGLOG_CRITICAL(HW_GPU, "Unhandled MUFU sub op: {}", + NGLOG_CRITICAL(HW_GPU, "Unhandled MUFU sub op: {0:x}", static_cast<unsigned>(instr.sub_op.Value())); UNREACHABLE(); } break; } default: { - NGLOG_CRITICAL(HW_GPU, "Unhandled arithmetic instruction: {} ({}): {}", - static_cast<unsigned>(opcode->GetId()), opcode->GetName(), - instr.value); + NGLOG_CRITICAL(HW_GPU, "Unhandled arithmetic instruction: {}", opcode->GetName()); UNREACHABLE(); } } @@ -468,9 +466,7 @@ private: break; } default: { - NGLOG_CRITICAL(HW_GPU, "Unhandled FFMA instruction: {} ({}): {}", - static_cast<unsigned>(opcode->GetId()), opcode->GetName(), - instr.value); + NGLOG_CRITICAL(HW_GPU, "Unhandled FFMA instruction: {}", opcode->GetName()); UNREACHABLE(); } } @@ -513,9 +509,7 @@ private: break; } default: { - NGLOG_CRITICAL(HW_GPU, "Unhandled memory instruction: {} ({}): {}", - static_cast<unsigned>(opcode->GetId()), opcode->GetName(), - instr.value); + NGLOG_CRITICAL(HW_GPU, "Unhandled memory instruction: {}", opcode->GetName()); UNREACHABLE(); } } @@ -592,9 +586,7 @@ private: break; } default: { - NGLOG_CRITICAL(HW_GPU, "Unhandled instruction: {} ({}): {}", - static_cast<unsigned>(opcode->GetId()), opcode->GetName(), - instr.value); + NGLOG_CRITICAL(HW_GPU, "Unhandled instruction: {}", opcode->GetName()); UNREACHABLE(); } } |