summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-03-24 05:36:59 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:24 +0200
commit83a283fa867d0a09742faff11d9115acc95ea556 (patch)
tree1f78f927285a2230116b1c46293cac02282d0bf2 /src/shader_recompiler
parentshader: Fix F2I (diff)
downloadyuzu-83a283fa867d0a09742faff11d9115acc95ea556.tar
yuzu-83a283fa867d0a09742faff11d9115acc95ea556.tar.gz
yuzu-83a283fa867d0a09742faff11d9115acc95ea556.tar.bz2
yuzu-83a283fa867d0a09742faff11d9115acc95ea556.tar.lz
yuzu-83a283fa867d0a09742faff11d9115acc95ea556.tar.xz
yuzu-83a283fa867d0a09742faff11d9115acc95ea556.tar.zst
yuzu-83a283fa867d0a09742faff11d9115acc95ea556.zip
Diffstat (limited to 'src/shader_recompiler')
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_conversion_integer.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_conversion_integer.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_conversion_integer.cpp
index 7c5a72800..ef55b9c75 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_conversion_integer.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_conversion_integer.cpp
@@ -69,7 +69,8 @@ std::pair<f64, f64> ClampBounds(DestFormat format, bool is_signed) {
case DestFormat::I64:
return {static_cast<f64>(std::numeric_limits<s64>::max()),
static_cast<f64>(std::numeric_limits<s64>::min())};
- default: {}
+ default:
+ break;
}
} else {
switch (format) {
@@ -82,7 +83,8 @@ std::pair<f64, f64> ClampBounds(DestFormat format, bool is_signed) {
case DestFormat::I64:
return {static_cast<f64>(std::numeric_limits<u64>::max()),
static_cast<f64>(std::numeric_limits<u64>::min())};
- default: {}
+ default:
+ break;
}
}
throw NotImplementedException("Invalid destination format {}", format);