diff options
author | Lioncash <mathew1800@gmail.com> | 2018-04-27 13:54:05 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-04-27 16:04:02 +0200 |
commit | 847549663090aeef89debc6213ef17b7f14e0b0e (patch) | |
tree | 899731d5c75a7b40a8aa72f5e115f86e10078745 /src/video_core | |
parent | Merge pull request #380 from ogniK5377/service-impl (diff) | |
download | yuzu-847549663090aeef89debc6213ef17b7f14e0b0e.tar yuzu-847549663090aeef89debc6213ef17b7f14e0b0e.tar.gz yuzu-847549663090aeef89debc6213ef17b7f14e0b0e.tar.bz2 yuzu-847549663090aeef89debc6213ef17b7f14e0b0e.tar.lz yuzu-847549663090aeef89debc6213ef17b7f14e0b0e.tar.xz yuzu-847549663090aeef89debc6213ef17b7f14e0b0e.tar.zst yuzu-847549663090aeef89debc6213ef17b7f14e0b0e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/engines/maxwell_3d.cpp | 4 | ||||
-rw-r--r-- | src/video_core/gpu.cpp | 2 | ||||
-rw-r--r-- | src/video_core/macro_interpreter.cpp | 6 | ||||
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_manager.cpp | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp index 4306b894f..835e5fe78 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp @@ -168,7 +168,7 @@ void Maxwell3D::ProcessQueryGet() { result = 0; break; default: - UNIMPLEMENTED_MSG("Unimplemented query select type %u", + UNIMPLEMENTED_MSG("Unimplemented query select type {}", static_cast<u32>(regs.query.query_get.select.Value())); } @@ -186,7 +186,7 @@ void Maxwell3D::ProcessQueryGet() { break; } default: - UNIMPLEMENTED_MSG("Query mode %u not implemented", + UNIMPLEMENTED_MSG("Query mode {} not implemented", static_cast<u32>(regs.query.query_get.mode.Value())); } } diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index 9eb143918..756518ee7 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -30,7 +30,7 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format) { case RenderTargetFormat::RGB10_A2_UNORM: return 4; default: - UNIMPLEMENTED_MSG("Unimplemented render target format %u", static_cast<u32>(format)); + UNIMPLEMENTED_MSG("Unimplemented render target format {}", static_cast<u32>(format)); } } diff --git a/src/video_core/macro_interpreter.cpp b/src/video_core/macro_interpreter.cpp index 993a67746..44ece01c1 100644 --- a/src/video_core/macro_interpreter.cpp +++ b/src/video_core/macro_interpreter.cpp @@ -113,7 +113,7 @@ bool MacroInterpreter::Step(const std::vector<u32>& code, bool is_delay_slot) { break; } default: - UNIMPLEMENTED_MSG("Unimplemented macro operation %u", + UNIMPLEMENTED_MSG("Unimplemented macro operation {}", static_cast<u32>(opcode.operation.Value())); } @@ -154,7 +154,7 @@ u32 MacroInterpreter::GetALUResult(ALUOperation operation, u32 src_a, u32 src_b) return ~(src_a & src_b); default: - UNIMPLEMENTED_MSG("Unimplemented ALU operation %u", static_cast<u32>(operation)); + UNIMPLEMENTED_MSG("Unimplemented ALU operation {}", static_cast<u32>(operation)); } } @@ -201,7 +201,7 @@ void MacroInterpreter::ProcessResult(ResultOperation operation, u32 reg, u32 res Send((result >> 12) & 0b111111); break; default: - UNIMPLEMENTED_MSG("Unimplemented result operation %u", static_cast<u32>(operation)); + UNIMPLEMENTED_MSG("Unimplemented result operation {}", static_cast<u32>(operation)); } } diff --git a/src/video_core/renderer_opengl/gl_shader_manager.cpp b/src/video_core/renderer_opengl/gl_shader_manager.cpp index 17b3925a0..ccdfc2718 100644 --- a/src/video_core/renderer_opengl/gl_shader_manager.cpp +++ b/src/video_core/renderer_opengl/gl_shader_manager.cpp @@ -17,7 +17,7 @@ void SetShaderUniformBlockBinding(GLuint shader, const char* name, GLint ub_size = 0; glGetActiveUniformBlockiv(shader, ub_index, GL_UNIFORM_BLOCK_DATA_SIZE, &ub_size); ASSERT_MSG(ub_size == expected_size, - "Uniform block size did not match! Got %d, expected %zu", + "Uniform block size did not match! Got {}, expected {}", static_cast<int>(ub_size), expected_size); glUniformBlockBinding(shader, ub_index, static_cast<GLuint>(binding)); } |