mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-19 16:50:30 +01:00
pan/mdg: Fix max_comp calculation for constant printing
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5573>
This commit is contained in:
parent
5b351c801e
commit
b96d4449f4
1 changed files with 1 additions and 1 deletions
|
|
@ -246,7 +246,7 @@ mir_print_embedded_constant(midgard_instruction *ins, unsigned src_idx)
|
|||
unsigned *swizzle = ins->swizzle[src_idx];
|
||||
unsigned comp_mask = effective_writemask(&ins->alu, ins->mask);
|
||||
unsigned num_comp = util_bitcount(comp_mask);
|
||||
unsigned max_comp = mir_components_for_type(ins->dest_type) >> 1;
|
||||
unsigned max_comp = mir_components_for_type(ins->dest_type);
|
||||
bool first = true;
|
||||
|
||||
printf("#");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue