mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 13:20:14 +01:00
pan/midgard: Remove unused variable
../src/panfrost/midgard/mir.c: In function ‘mir_bytemask_of_read_components_index’: ../src/panfrost/midgard/mir.c:471:18: warning: unused variable ‘mask’ [-Wunused-variable] 471 | uint16_t mask = 0; Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3684> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3684>
This commit is contained in:
parent
0f3eb7989b
commit
9cdd89a34b
1 changed files with 0 additions and 2 deletions
|
|
@ -468,8 +468,6 @@ mir_bytemask_of_read_components_single(unsigned *swizzle, unsigned inmask, midga
|
|||
uint16_t
|
||||
mir_bytemask_of_read_components_index(midgard_instruction *ins, unsigned i)
|
||||
{
|
||||
uint16_t mask = 0;
|
||||
|
||||
/* Branch writeout uses all components */
|
||||
if (ins->compact_branch && ins->writeout && (i == 0))
|
||||
return 0xFFFF;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue