diff options
author | Lioncash <mathew1800@gmail.com> | 2020-12-05 11:40:14 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-12-05 16:02:23 -0500 |
commit | f95602f15207851b849c57e2a2dd313a087b2493 (patch) | |
tree | ed6122ab0a30de177acb2a59dffc8109232870ec /src/video_core/shader/expr.h | |
parent | f2f346e1104106eb9323f0e141e0e67312c29849 (diff) |
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/expr.h')
-rw-r--r-- | src/video_core/shader/expr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/shader/expr.h b/src/video_core/shader/expr.h index 4e82643674..cda284c726 100644 --- a/src/video_core/shader/expr.h +++ b/src/video_core/shader/expr.h @@ -76,7 +76,7 @@ public: class ExprPredicate final { public: - explicit ExprPredicate(u32 predicate) : predicate{predicate} {} + explicit ExprPredicate(u32 predicate_) : predicate{predicate_} {} bool operator==(const ExprPredicate& b) const { return predicate == b.predicate; @@ -91,7 +91,7 @@ public: class ExprCondCode final { public: - explicit ExprCondCode(ConditionCode cc) : cc{cc} {} + explicit ExprCondCode(ConditionCode condition_code) : cc{condition_code} {} bool operator==(const ExprCondCode& b) const { return cc == b.cc; @@ -121,7 +121,7 @@ public: class ExprGprEqual final { public: - ExprGprEqual(u32 gpr, u32 value) : gpr{gpr}, value{value} {} + explicit ExprGprEqual(u32 gpr_, u32 value_) : gpr{gpr_}, value{value_} {} bool operator==(const ExprGprEqual& b) const { return gpr == b.gpr && value == b.value; |