Ran clang-format

This commit is contained in:
spectranator 2024-05-31 10:19:41 +02:00
parent 01d9c403f2
commit 910ffe7c10
2 changed files with 5 additions and 5 deletions

View file

@ -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:

View file

@ -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);
}