mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2025-04-20 03:24:48 +00:00
Ran clang-format
This commit is contained in:
parent
01d9c403f2
commit
910ffe7c10
2 changed files with 5 additions and 5 deletions
|
@ -384,7 +384,8 @@ private:
|
|||
get_server_cert_chain = static_cast<bool>(parameters.value);
|
||||
break;
|
||||
case OptionType::EnableAlpn:
|
||||
LOG_ERROR(Service_SSL, "Called with option={}, value={} (STUBBED)", parameters.option, parameters.value);
|
||||
LOG_ERROR(Service_SSL, "Called with option={}, value={} (STUBBED)", parameters.option,
|
||||
parameters.value);
|
||||
enable_alpn = static_cast<bool>(parameters.value);
|
||||
break;
|
||||
default:
|
||||
|
|
|
@ -1207,13 +1207,12 @@ void RasterizerOpenGL::SyncLogicOpState() {
|
|||
auto regs = maxwell3d->regs;
|
||||
|
||||
if (device.IsAmd()) {
|
||||
auto IsFloat = [] (Tegra::Engines::Maxwell3D::Regs::VertexAttribute n) {
|
||||
auto IsFloat = [](Tegra::Engines::Maxwell3D::Regs::VertexAttribute n) {
|
||||
return n.type == Tegra::Engines::Maxwell3D::Regs::VertexAttribute::Type::Float;
|
||||
};
|
||||
|
||||
bool has_float =
|
||||
std::any_of(regs.vertex_attrib_format.begin(), regs.vertex_attrib_format.end(),
|
||||
IsFloat);
|
||||
bool has_float = std::any_of(regs.vertex_attrib_format.begin(),
|
||||
regs.vertex_attrib_format.end(), IsFloat);
|
||||
regs.logic_op.enable = static_cast<u32>(!has_float);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue