yuzu-emu
/
yuzu
Archived
1
0
Fork 0

dual_vertex_pass: Clang format

This commit is contained in:
ameerj 2021-07-02 12:45:23 -04:00
parent dbee32d302
commit 57f222c56e
1 changed files with 14 additions and 14 deletions

View File

@ -14,23 +14,23 @@
namespace Shader::Optimization { namespace Shader::Optimization {
void VertexATransformPass(IR::Program& program) { void VertexATransformPass(IR::Program& program) {
for (IR::Block* const block : program.blocks) { for (IR::Block* const block : program.blocks) {
for (IR::Inst& inst : block->Instructions()) { for (IR::Inst& inst : block->Instructions()) {
if (inst.GetOpcode() == IR::Opcode::Epilogue) { if (inst.GetOpcode() == IR::Opcode::Epilogue) {
return inst.Invalidate(); return inst.Invalidate();
} }
} }
} }
} }
void VertexBTransformPass(IR::Program& program) { void VertexBTransformPass(IR::Program& program) {
for (IR::Block* const block : program.blocks) { for (IR::Block* const block : program.blocks) {
for (IR::Inst& inst : block->Instructions()) { for (IR::Inst& inst : block->Instructions()) {
if (inst.GetOpcode() == IR::Opcode::Prologue) { if (inst.GetOpcode() == IR::Opcode::Prologue) {
return inst.Invalidate(); return inst.Invalidate();
} }
} }
} }
} }
} // namespace Shader::Optimization } // namespace Shader::Optimization