i965/vec4: Don't return void from a void function.

Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Matt Turner
2014-06-23 13:30:13 -07:00
parent c997007f66
commit 0e800dfe75
@@ -366,9 +366,9 @@ vec4_visitor::emit_math(opcode opcode, dst_reg dst, src_reg src)
}
if (brw->gen >= 6) {
return emit_math1_gen6(opcode, dst, src);
emit_math1_gen6(opcode, dst, src);
} else {
return emit_math1_gen4(opcode, dst, src);
emit_math1_gen4(opcode, dst, src);
}
}
@@ -418,9 +418,9 @@ vec4_visitor::emit_math(enum opcode opcode,
}
if (brw->gen >= 6) {
return emit_math2_gen6(opcode, dst, src0, src1);
emit_math2_gen6(opcode, dst, src0, src1);
} else {
return emit_math2_gen4(opcode, dst, src0, src1);
emit_math2_gen4(opcode, dst, src0, src1);
}
}