From bdad7f429a7df5dda2098042ecbc892e787da8ee Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Thu, 26 Mar 2020 15:01:13 -0700 Subject: [PATCH] intel/ir: Add missing initialization of backend_reg::offset during construction. Reviewed-by: Kenneth Graunke --- src/intel/compiler/brw_ir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.30.2