diff options
author | Jason Ekstrand <[email protected]> | 2015-08-10 11:48:14 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-08-10 12:04:06 -0700 |
commit | 7068a6409c897e44cd98377df310691592ef6d0d (patch) | |
tree | 466c0a9303eb9158169f7f36947263e7d12000c2 /src/mesa/drivers/dri/i965/brw_vec4.h | |
parent | 1bb339493cd892c8065266b93a296a84b1dfce9b (diff) |
i965/vec4_visitor: Make some function arguments const references
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h b/src/mesa/drivers/dri/i965/brw_vec4.h index 0c13d43a7d3..341c516b39a 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.h +++ b/src/mesa/drivers/dri/i965/brw_vec4.h @@ -319,13 +319,13 @@ public: void emit_scalar(ir_instruction *ir, enum prog_opcode op, dst_reg dst, src_reg src0, src_reg src1); - src_reg fix_3src_operand(src_reg src); - src_reg resolve_source_modifiers(const src_reg& src); + src_reg fix_3src_operand(const src_reg &src); + src_reg resolve_source_modifiers(const src_reg &src); vec4_instruction *emit_math(enum opcode opcode, const dst_reg &dst, const src_reg &src0, const src_reg &src1 = src_reg()); - src_reg fix_math_operand(src_reg src); + src_reg fix_math_operand(const src_reg &src); void emit_pack_half_2x16(dst_reg dst, src_reg src0); void emit_unpack_half_2x16(dst_reg dst, src_reg src0); |