lima/ppir: fix src read mask swizzling

The src mask can't be calculated from the dest write_mask.
Instead, it must be calculated from the swizzled operators of the src.
Otherwise, liveness calculation may report incorrect live components for
non-ssa registers.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Tested-by: Marge Bot <mesa/mesa!3502>
Part-of: <mesa/mesa!3502>
38 jobs for !3502 with ppir-liveness-fixes-2 in 20 minutes and 25 seconds (queued for 4 seconds)
detached
Status Job ID Name Coverage
  Container
passed #1463080
aarch64
arm_build

00:00:19

passed #1463082
aarch64
arm_test

00:00:21

passed #1463075
x86_build

00:00:19

passed #1463078
x86_build_old

00:00:20

passed #1463077
x86_test-gl

00:00:18

 
  Build
passed #1463090
aarch64
meson-arm64

00:11:26

passed #1463088
aarch64
meson-armhf

00:10:54

passed #1463091
meson-clang

00:05:43

passed #1463096
meson-clover

00:07:06

passed #1463097
meson-clover-old-llvm

00:05:30

passed #1463099
meson-i386

00:04:30

passed #1463086
meson-main

00:06:19

passed #1463100
meson-mingw32-x86_64

00:04:35

passed #1463084
meson-testing

00:05:56

passed #1463098
meson-vulkan

00:04:35

passed #1463101
scons

00:05:20

passed #1463102
scons-old-llvm

00:03:54

passed #1463093
scons-swr

00:05:38

passed #1463095
scons-win64

00:05:31

 
  Test
passed #1463121
db410c
arm64_a306_gles2

00:06:14

passed #1463118
mesa-cheza
arm64_a630_gles2

00:01:59

passed #1463120
mesa-cheza
arm64_a630_gles3

00:06:13

passed #1463119
mesa-cheza
arm64_a630_gles31

00:04:26

passed #1463106
lava-meson-gxl-s905x-libretech-cc
lima-mali450-test:arm64

00:06:44

passed #1463103
lava-sun50i-h6-pine-h64
panfrost-t720-test:arm64

00:08:30

passed #1463104
lava-rk3288-veyron-jaq
panfrost-t760-test:armhf

00:06:16

passed #1463105
lava-rk3399-gru-kevin
panfrost-t860-test:arm64

00:05:26

passed #1463108
piglit-glslparser

00:06:46

passed #1463107
piglit-quick_gl

00:12:40

passed #1463109
piglit-quick_shader

00:08:26

passed #1463110
test-llvmpipe-gles2

00:06:07

passed #1463111
test-softpipe-gles2

00:01:33

passed #1463114
test-softpipe-gles31 1/4

00:05:07

passed #1463112
test-softpipe-gles3 1/2

00:04:53

passed #1463115
test-softpipe-gles31 2/4

00:03:58

passed #1463116
test-softpipe-gles31 3/4

00:08:21

passed #1463117
test-softpipe-gles31 4/4

00:03:11

passed #1463113
test-softpipe-gles3 2/2

00:03:20