intel/ir: Add missing initialization of backend_reg::offset during construction.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user