diff --git a/kernel/orbis/include/orbis/thread/Thread.hpp b/kernel/orbis/include/orbis/thread/Thread.hpp index 35c0d216c..6872f4372 100644 --- a/kernel/orbis/include/orbis/thread/Thread.hpp +++ b/kernel/orbis/include/orbis/thread/Thread.hpp @@ -41,7 +41,7 @@ struct Thread { kvector queuedSignals; shared_atomic32 suspendFlags{0}; - utils::shared_atomic32 interruptedMtx{ 0 }; + utils::shared_atomic32 interruptedMtx{0}; std::int64_t hostTid = -1; lwpid_t tid = -1; diff --git a/rpcsx/gpu/lib/gcn-shader/include/shader/ir/Construct.hpp b/rpcsx/gpu/lib/gcn-shader/include/shader/ir/Construct.hpp index 25464cbce..31e196abe 100644 --- a/rpcsx/gpu/lib/gcn-shader/include/shader/ir/Construct.hpp +++ b/rpcsx/gpu/lib/gcn-shader/include/shader/ir/Construct.hpp @@ -3,8 +3,7 @@ #include "Block.hpp" namespace shader::ir { -template -struct ConstructWrapper : BlockWrapper { +template struct ConstructWrapper : BlockWrapper { using BlockWrapper::BlockWrapper; using BlockWrapper::operator=; @@ -14,9 +13,7 @@ struct ConstructWrapper : BlockWrapper { .template staticCast(); } - void setHeader(ir::Block block) { - this->impl->replaceOperand(0, block); - } + void setHeader(ir::Block block) { this->impl->replaceOperand(0, block); } ir::Block getMerge() { return this->impl->getOperand(1) @@ -24,9 +21,7 @@ struct ConstructWrapper : BlockWrapper { .template staticCast(); } - void setMerge(ir::Block block) { - this->impl->replaceOperand(1, block); - } + void setMerge(ir::Block block) { this->impl->replaceOperand(1, block); } }; struct ConstructImpl; diff --git a/rpcsx/gpu/lib/gcn-shader/include/shader/ir/RegionLikeImpl.hpp b/rpcsx/gpu/lib/gcn-shader/include/shader/ir/RegionLikeImpl.hpp index 0ff57ff6f..63e530770 100644 --- a/rpcsx/gpu/lib/gcn-shader/include/shader/ir/RegionLikeImpl.hpp +++ b/rpcsx/gpu/lib/gcn-shader/include/shader/ir/RegionLikeImpl.hpp @@ -23,7 +23,7 @@ struct RegionLikeImpl { void addChild(Instruction node); void printRegion(std::ostream &os, NameStorage &ns, - const PrintOptions &opts) const; + const PrintOptions &opts) const; auto getParent() const; };