diff options
author | Francisco Jerez <[email protected]> | 2015-03-18 15:21:20 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2015-03-23 14:09:32 +0200 |
commit | 62fd3353387547504966d77f3350afc9b688ef93 (patch) | |
tree | f76a508ea83a622190b60a2b8172520bfdef25ac /src/mesa/drivers/dri/i965/brw_vec4.cpp | |
parent | 23bda945f570b4f566ed39b4c1de89a957247df7 (diff) |
i965/vec4: Pass argument by reference to src_reg/dst_reg conversion constructors.
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |