VERY experimental Nintendo Switch 2 emulator
C++
dual_vertex_pass: Clang format
ameerjd54c4880d1e8
diff --git a/src/shader_recompiler/ir_opt/dual_vertex_pass.cpp b/src/shader_recompiler/ir_opt/dual_vertex_pass.cppindex a926123f2d..3d2c205c2b 100644--- a/src/shader_recompiler/ir_opt/dual_vertex_pass.cpp+++ b/src/shader_recompiler/ir_opt/dual_vertex_pass.cpp@@ -14,23 +14,23 @@namespace Shader::Optimization {void VertexATransformPass(IR::Program& program) {- for (IR::Block* const block : program.blocks) {- for (IR::Inst& inst : block->Instructions()) {- if (inst.GetOpcode() == IR::Opcode::Epilogue) {- return inst.Invalidate();- }- }- }+ for (IR::Block* const block : program.blocks) {+ for (IR::Inst& inst : block->Instructions()) {+ if (inst.GetOpcode() == IR::Opcode::Epilogue) {+ return inst.Invalidate();+ }+ }+ }}void VertexBTransformPass(IR::Program& program) {- for (IR::Block* const block : program.blocks) {- for (IR::Inst& inst : block->Instructions()) {- if (inst.GetOpcode() == IR::Opcode::Prologue) {- return inst.Invalidate();- }- }- }+ for (IR::Block* const block : program.blocks) {+ for (IR::Inst& inst : block->Instructions()) {+ if (inst.GetOpcode() == IR::Opcode::Prologue) {+ return inst.Invalidate();+ }+ }+ }}} // namespace Shader::Optimization