aco: Fix -Wshadow warnings

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7430>
This commit is contained in:
Tony Wasserka
2020-11-03 14:40:05 +01:00
committed by Marge Bot
parent bc7f442d8e
commit 2bb8874320
16 changed files with 194 additions and 196 deletions
+2 -4
View File
@@ -46,10 +46,8 @@ typedef std::map<uint32_t, std::vector<std::pair<Definition, Operand>>> phi_info
struct cssa_ctx {
Program* program;
live& live_vars;
phi_info logical_phi_info;
phi_info linear_phi_info;
cssa_ctx(Program* program, live& live_vars) : program(program), live_vars(live_vars) {}
phi_info logical_phi_info {};
phi_info linear_phi_info {};
};
bool collect_phi_info(cssa_ctx& ctx)