diff options
| author | Lioncash <mathew1800@gmail.com> | 2020-12-07 00:41:47 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2020-12-07 00:41:50 -0500 |
| commit | 4c5f5c9bf301d3626df104dbed6fed6f115cedc8 (patch) | |
| tree | 968245c43735e546fff2a8c7dcecfe653dee33fd /src/video_core/shader/decode/arithmetic.cpp | |
| parent | 8a00a0ade66c1bf017bded5aa6a5947fce3c15f5 (diff) | |
video_core: Remove unnecessary enum class casting in logging messages
fmt now automatically prints the numeric value of an enum class member
by default, so we don't need to use casts any more.
Reduces the line noise a bit.
Diffstat (limited to 'src/video_core/shader/decode/arithmetic.cpp')
| -rw-r--r-- | src/video_core/shader/decode/arithmetic.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/shader/decode/arithmetic.cpp b/src/video_core/shader/decode/arithmetic.cpp index afef5948d..15eb700e7 100644 --- a/src/video_core/shader/decode/arithmetic.cpp +++ b/src/video_core/shader/decode/arithmetic.cpp @@ -110,8 +110,7 @@ u32 ShaderIR::DecodeArithmetic(NodeBlock& bb, u32 pc) { case SubOp::Sqrt: return Operation(OperationCode::FSqrt, PRECISE, op_a); default: - UNIMPLEMENTED_MSG("Unhandled MUFU sub op={0:x}", - static_cast<unsigned>(instr.sub_op.Value())); + UNIMPLEMENTED_MSG("Unhandled MUFU sub op={0:x}", instr.sub_op.Value()); return Immediate(0); } }(); |
