aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/compiler/brw_ir.h')
-rw-r--r--src/intel/compiler/brw_ir.h2
1 files changed, 1 insertions, 1 deletions
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 &reg) : brw_reg(reg) {}
+ backend_reg(const struct brw_reg &reg) : brw_reg(reg), offset(0) {}
const brw_reg &as_brw_reg() const
{