diff options
author | Emil Velikov <[email protected]> | 2017-01-26 13:18:40 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-01-27 17:56:56 +0000 |
commit | 01874d52783f043497b223934d73e8cb48ca0627 (patch) | |
tree | c84ea532d6f15760c0107b0c128fb1de45a7b3bd | |
parent | c1960e23ffb10f782cbcd09caabdd573d440c012 (diff) |
st/mesa: use correct return statement for a void function
Analogous to previous commit.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
-rw-r--r-- | src/mesa/state_tracker/st_atifs_to_tgsi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_atifs_to_tgsi.c b/src/mesa/state_tracker/st_atifs_to_tgsi.c index b28c55ceff9..9c4218e6723 100644 --- a/src/mesa/state_tracker/st_atifs_to_tgsi.c +++ b/src/mesa/state_tracker/st_atifs_to_tgsi.c @@ -245,7 +245,8 @@ emit_arith_inst(struct st_translate *t, struct ureg_dst *dst, struct ureg_src *args, unsigned argcount) { if (desc->TGSI_opcode == TGSI_OPCODE_NOP) { - return emit_special_inst(t, desc, dst, args, argcount); + emit_special_inst(t, desc, dst, args, argcount); + return; } ureg_insn(t->ureg, desc->TGSI_opcode, dst, 1, args, argcount); |