summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-06-23 13:30:13 -0700
committerMatt Turner <[email protected]>2014-06-24 11:51:54 -0700
commit0e800dfe75d75c2c5c12bb3762aa9723854a241e (patch)
tree7bc969f8b89789d7eb23e6ebbda107fdec9a4ba2
parentc997007f66d402aea5a76da5b260b49a91c0fce1 (diff)
i965/vec4: Don't return void from a void function.
Reviewed-by: Ben Widawsky <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
index 7fd8c2b3761..f3316f8a148 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
@@ -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);
}
}