diff options
| author | 2020-12-05 11:40:14 -0500 | |
|---|---|---|
| committer | 2020-12-05 16:02:23 -0500 | |
| commit | f95602f15207851b849c57e2a2dd313a087b2493 (patch) | |
| tree | ed6122ab0a30de177acb2a59dffc8109232870ec /src/video_core/shader/ast.cpp | |
| parent | Merge pull request #5133 from lioncash/video-shadow2 (diff) | |
| download | yuzu-f95602f15207851b849c57e2a2dd313a087b2493.tar.gz yuzu-f95602f15207851b849c57e2a2dd313a087b2493.tar.xz yuzu-f95602f15207851b849c57e2a2dd313a087b2493.zip | |
video_core: Resolve more variable shadowing scenarios pt.3
Cleans out the rest of the occurrences of variable shadowing and makes
any further occurrences of shadowing compiler errors.
Diffstat (limited to 'src/video_core/shader/ast.cpp')
| -rw-r--r-- | src/video_core/shader/ast.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/ast.cpp b/src/video_core/shader/ast.cpp index 3f96d9076..cc2dbe36c 100644 --- a/src/video_core/shader/ast.cpp +++ b/src/video_core/shader/ast.cpp | |||
| @@ -374,8 +374,8 @@ std::string ASTManager::Print() const { | |||
| 374 | return printer.GetResult(); | 374 | return printer.GetResult(); |
| 375 | } | 375 | } |
| 376 | 376 | ||
| 377 | ASTManager::ASTManager(bool full_decompile, bool disable_else_derivation) | 377 | ASTManager::ASTManager(bool do_full_decompile, bool disable_else_derivation_) |
| 378 | : full_decompile{full_decompile}, disable_else_derivation{disable_else_derivation} {}; | 378 | : full_decompile{do_full_decompile}, disable_else_derivation{disable_else_derivation_} {} |
| 379 | 379 | ||
| 380 | ASTManager::~ASTManager() { | 380 | ASTManager::~ASTManager() { |
| 381 | Clear(); | 381 | Clear(); |