Mesa (master): intel/ir: Add missing initialization of backend_reg::offset during construction.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Apr 29 06:49:40 UTC 2020
Module: Mesa
Branch: master
Commit: bdad7f429a7df5dda2098042ecbc892e787da8ee
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bdad7f429a7df5dda2098042ecbc892e787da8ee
Author: Francisco Jerez <currojerez at riseup.net>
Date: Thu Mar 26 15:01:13 2020 -0700
intel/ir: Add missing initialization of backend_reg::offset during construction.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
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
{
More information about the mesa-commit
mailing list