mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
ir3: initialize progress false before ir3_nir_lower_imul
Removes a compiler warning about uninitialized variable.
Fixes: c02ffd2700 "ir3: Use the new NIR lowering pass for integer multiplication"
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Rob Clark <robclark@gmail.com>
Reviewed-by: Eduardo Lima <elima@igalia.com>
This commit is contained in:
parent
749c544b84
commit
287b58f827
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ ir3_context_init(struct ir3_compiler *compiler,
|
|||
* However, we want a final swing of a few passes to have a chance
|
||||
* at optimizing the result.
|
||||
*/
|
||||
bool progress;
|
||||
bool progress = false;
|
||||
NIR_PASS(progress, ctx->s, ir3_nir_lower_imul);
|
||||
if (progress) {
|
||||
NIR_PASS_V(ctx->s, nir_opt_algebraic);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue