diff options
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_ir_vec4.h | 4 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_ir_vec4.h b/src/mesa/drivers/dri/i965/brw_ir_vec4.h index 2b50565bced..def61ff8bae 100644 --- a/src/mesa/drivers/dri/i965/brw_ir_vec4.h +++ b/src/mesa/drivers/dri/i965/brw_ir_vec4.h @@ -53,7 +53,7 @@ public: src_reg(class vec4_visitor *v, const struct glsl_type *type); src_reg(class vec4_visitor *v, const struct glsl_type *type, int size); - explicit src_reg(dst_reg reg); + explicit src_reg(const dst_reg ®); unsigned swizzle; /**< BRW_SWIZZLE_XYZW macros from brw_reg.h. */ @@ -113,7 +113,7 @@ public: dst_reg(struct brw_reg reg); dst_reg(class vec4_visitor *v, const struct glsl_type *type); - explicit dst_reg(src_reg reg); + explicit dst_reg(const src_reg ®); bool equals(const dst_reg &r) const; diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp index 4f805f3f21b..5606e03dbca 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp @@ -123,7 +123,7 @@ src_reg::src_reg(struct brw_reg reg) this->type = reg.type; } -src_reg::src_reg(dst_reg reg) +src_reg::src_reg(const dst_reg ®) { init(); @@ -194,7 +194,7 @@ dst_reg::dst_reg(struct brw_reg reg) this->type = reg.type; } -dst_reg::dst_reg(src_reg reg) +dst_reg::dst_reg(const src_reg ®) { init(); |