mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
broadcom/compiler: fix unused value
Do not assign to a variable that won't be used. Fixes CID#1451708 and CID#1451710 "Unused value (UNUSED_VALUE)". Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9910>
This commit is contained in:
parent
d03a9fa50c
commit
cc1f070a27
1 changed files with 2 additions and 2 deletions
|
|
@ -1599,7 +1599,7 @@ vir_emit_tlb_color_write(struct v3d_compile *c, unsigned rt)
|
|||
QUNIFORM_CONSTANT,
|
||||
conf);
|
||||
} else {
|
||||
inst = vir_MOV_dest(c, tlb_reg, r);
|
||||
vir_MOV_dest(c, tlb_reg, r);
|
||||
}
|
||||
|
||||
if (num_components >= 2)
|
||||
|
|
@ -1619,7 +1619,7 @@ vir_emit_tlb_color_write(struct v3d_compile *c, unsigned rt)
|
|||
}
|
||||
|
||||
if (num_components >= 3)
|
||||
inst = vir_VFPACK_dest(c, tlb_reg, b, a);
|
||||
vir_VFPACK_dest(c, tlb_reg, b, a);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue