Browse Source

video_core/ast: Unindent most of IsFullyDecompiled() by one level

pull/15/merge
Lioncash 6 years ago
parent
commit
d82b181d44
  1. 6
      src/video_core/shader/ast.h

6
src/video_core/shader/ast.h

@ -340,8 +340,9 @@ public:
bool IsFullyDecompiled() const {
if (full_decompile) {
return gotos.size() == 0;
} else {
return gotos.empty();
}
for (ASTNode goto_node : gotos) {
auto label_index = goto_node->GetGotoLabel();
if (!label_index) {
@ -354,7 +355,6 @@ public:
}
return true;
}
}
ASTNode GetProgram() const {
return main_node;

Loading…
Cancel
Save