mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
st/mesa: use correct return statement for a void function
Analogous to previous commit. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
c1960e23ff
commit
01874d5278
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue