mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-08 16:39:57 +00:00
shader: Minor style nits
This commit is contained in:
parent
8cb9443cb9
commit
83a283fa86
1 changed files with 4 additions and 2 deletions
|
@ -69,7 +69,8 @@ std::pair<f64, f64> ClampBounds(DestFormat format, bool is_signed) {
|
||||||
case DestFormat::I64:
|
case DestFormat::I64:
|
||||||
return {static_cast<f64>(std::numeric_limits<s64>::max()),
|
return {static_cast<f64>(std::numeric_limits<s64>::max()),
|
||||||
static_cast<f64>(std::numeric_limits<s64>::min())};
|
static_cast<f64>(std::numeric_limits<s64>::min())};
|
||||||
default: {}
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
switch (format) {
|
switch (format) {
|
||||||
|
@ -82,7 +83,8 @@ std::pair<f64, f64> ClampBounds(DestFormat format, bool is_signed) {
|
||||||
case DestFormat::I64:
|
case DestFormat::I64:
|
||||||
return {static_cast<f64>(std::numeric_limits<u64>::max()),
|
return {static_cast<f64>(std::numeric_limits<u64>::max()),
|
||||||
static_cast<f64>(std::numeric_limits<u64>::min())};
|
static_cast<f64>(std::numeric_limits<u64>::min())};
|
||||||
default: {}
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
throw NotImplementedException("Invalid destination format {}", format);
|
throw NotImplementedException("Invalid destination format {}", format);
|
||||||
|
|
Loading…
Reference in a new issue