From: Francisco Jerez Date: Thu, 26 Mar 2020 22:01:13 +0000 (-0700) Subject: intel/ir: Add missing initialization of backend_reg::offset during construction. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bdad7f429a7df5dda2098042ecbc892e787da8ee;p=mesa.git intel/ir: Add missing initialization of backend_reg::offset during construction. Reviewed-by: Kenneth Graunke --- diff --git a/src/intel/compiler/brw_ir.h b/src/intel/compiler/brw_ir.h index c2c4893b3f6..a548eb393a0 100644 --- a/src/intel/compiler/brw_ir.h +++ b/src/intel/compiler/brw_ir.h @@ -36,7 +36,7 @@ struct backend_reg : private brw_reg { backend_reg() {} - backend_reg(const struct brw_reg ®) : brw_reg(reg) {} + backend_reg(const struct brw_reg ®) : brw_reg(reg), offset(0) {} const brw_reg &as_brw_reg() const {