Module: Mesa Branch: master Commit: bdad7f429a7df5dda2098042ecbc892e787da8ee URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bdad7f429a7df5dda2098042ecbc892e787da8ee
Author: Francisco Jerez <[email protected]> Date: Thu Mar 26 15:01:13 2020 -0700 intel/ir: Add missing initialization of backend_reg::offset during construction. Reviewed-by: Kenneth Graunke <[email protected]> --- 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 { _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
