diff options
Diffstat (limited to 'src/panfrost/midgard/midgard_liveness.c')
-rw-r--r-- | src/panfrost/midgard/midgard_liveness.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/panfrost/midgard/midgard_liveness.c b/src/panfrost/midgard/midgard_liveness.c index 8320b918ed2..1aa4158e353 100644 --- a/src/panfrost/midgard/midgard_liveness.c +++ b/src/panfrost/midgard/midgard_liveness.c @@ -64,7 +64,8 @@ mir_liveness_ins_update(uint16_t *live, midgard_instruction *ins, unsigned max) mir_foreach_src(ins, src) { unsigned node = ins->src[src]; - unsigned mask = mir_mask_of_read_components(ins, node); + unsigned bytemask = mir_bytemask_of_read_components(ins, node); + unsigned mask = mir_from_bytemask(bytemask, midgard_reg_mode_32); liveness_gen(live, node, max, mask); } |