diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-12-07 07:35:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-07 07:35:25 +0100 |
commit | 9ae6224f12db36cf78892b4116145599041713a6 (patch) | |
tree | 2ed48adfe1f36defba52c3f5b33329e81e262340 /src/video_core/shader/shader_ir.cpp | |
parent | Merge pull request #5148 from comex/xx-unused-fields (diff) | |
parent | video_core: Remove unnecessary enum class casting in logging messages (diff) | |
download | yuzu-9ae6224f12db36cf78892b4116145599041713a6.tar yuzu-9ae6224f12db36cf78892b4116145599041713a6.tar.gz yuzu-9ae6224f12db36cf78892b4116145599041713a6.tar.bz2 yuzu-9ae6224f12db36cf78892b4116145599041713a6.tar.lz yuzu-9ae6224f12db36cf78892b4116145599041713a6.tar.xz yuzu-9ae6224f12db36cf78892b4116145599041713a6.tar.zst yuzu-9ae6224f12db36cf78892b4116145599041713a6.zip |
Diffstat (limited to 'src/video_core/shader/shader_ir.cpp')
-rw-r--r-- | src/video_core/shader/shader_ir.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/video_core/shader/shader_ir.cpp b/src/video_core/shader/shader_ir.cpp index 879088a27..e1ab3e6e0 100644 --- a/src/video_core/shader/shader_ir.cpp +++ b/src/video_core/shader/shader_ir.cpp @@ -171,7 +171,7 @@ Node ShaderIR::ConvertIntegerSize(Node value, Register::Size size, bool is_signe // Default - do nothing return value; default: - UNREACHABLE_MSG("Unimplemented conversion size: {}", static_cast<u32>(size)); + UNREACHABLE_MSG("Unimplemented conversion size: {}", size); return value; } } @@ -336,15 +336,15 @@ OperationCode ShaderIR::GetPredicateCombiner(PredOperation operation) { return operation_table[index]; } -Node ShaderIR::GetConditionCode(Tegra::Shader::ConditionCode cc) const { +Node ShaderIR::GetConditionCode(ConditionCode cc) const { switch (cc) { - case Tegra::Shader::ConditionCode::NEU: + case ConditionCode::NEU: return GetInternalFlag(InternalFlag::Zero, true); - case Tegra::Shader::ConditionCode::FCSM_TR: + case ConditionCode::FCSM_TR: UNIMPLEMENTED_MSG("EXIT.FCSM_TR is not implemented"); return MakeNode<PredicateNode>(Pred::NeverExecute, false); default: - UNIMPLEMENTED_MSG("Unimplemented condition code: {}", static_cast<u32>(cc)); + UNIMPLEMENTED_MSG("Unimplemented condition code: {}", cc); return MakeNode<PredicateNode>(Pred::NeverExecute, false); } } |