---
src/mesa/drivers/dri/i965/brw_vec4.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp
b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index c61b385..121e698 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
@@ -139,6 +139,8 @@ src_reg::src_reg(const dst_reg ®)
this->reladdr = reg.reladdr;
this->fixed_hw_reg = reg.fixed_hw_reg;
this->swizzle = brw_swizzle_for_mask(reg.writemask);
+ this->negate = reg.negate;
+ this->abs = reg.abs;
}
void
@@ -204,6 +206,8 @@ dst_reg::dst_reg(const src_reg ®)
this->writemask = brw_mask_for_swizzle(reg.swizzle);
this->reladdr = reg.reladdr;
this->fixed_hw_reg = reg.fixed_hw_reg;
+ this->abs = reg.abs;
+ this->negate = reg.negate;
}
bool
--
2.1.4
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev