diff options
Diffstat (limited to 'src/video_core/shader/ast.cpp')
| -rw-r--r-- | src/video_core/shader/ast.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/shader/ast.cpp b/src/video_core/shader/ast.cpp index f2ab0cc00..6eba78025 100644 --- a/src/video_core/shader/ast.cpp +++ b/src/video_core/shader/ast.cpp | |||
| @@ -468,10 +468,10 @@ void ASTManager::Decompile() { | |||
| 468 | } | 468 | } |
| 469 | labels.clear(); | 469 | labels.clear(); |
| 470 | } else { | 470 | } else { |
| 471 | auto it = labels.begin(); | 471 | auto label_it = labels.begin(); |
| 472 | while (it != labels.end()) { | 472 | while (label_it != labels.end()) { |
| 473 | bool can_remove = true; | 473 | bool can_remove = true; |
| 474 | ASTNode label = *it; | 474 | ASTNode label = *label_it; |
| 475 | for (const ASTNode& goto_node : gotos) { | 475 | for (const ASTNode& goto_node : gotos) { |
| 476 | const auto label_index = goto_node->GetGotoLabel(); | 476 | const auto label_index = goto_node->GetGotoLabel(); |
| 477 | if (!label_index) { | 477 | if (!label_index) { |