projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c997007
)
i965/vec4: Don't return void from a void function.
author
Matt Turner
<mattst88@gmail.com>
Mon, 23 Jun 2014 20:30:13 +0000
(13:30 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Tue, 24 Jun 2014 18:51:54 +0000
(11:51 -0700)
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
index 7fd8c2b37619614b770a288f488eeb74eeaf3fc5..f3316f8a148934c5402b88feb087ff2d6df7b00e 100644
(file)
--- 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);
}
}