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/shift.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/shift.cpp')
| -rw-r--r-- | src/video_core/shader/decode/shift.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/shift.cpp b/src/video_core/shader/decode/shift.cpp index d4ffa8014..a53819c15 100644 --- a/src/video_core/shader/decode/shift.cpp +++ b/src/video_core/shader/decode/shift.cpp @@ -125,7 +125,7 @@ u32 ShaderIR::DecodeShift(NodeBlock& bb, u32 pc) { case OpCode::Id::SHF_LEFT_IMM: { UNIMPLEMENTED_IF(instr.generates_cc); UNIMPLEMENTED_IF_MSG(instr.shf.xmode != ShfXmode::None, "xmode={}", - static_cast<int>(instr.shf.xmode.Value())); + instr.shf.xmode.Value()); if (instr.is_b_imm) { op_b = Immediate(static_cast<u32>(instr.shf.immediate)); |
