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 arm_build #1463080
aarch64

00:00:19

passed arm_test #1463082
aarch64

00:00:21

passed x86_build #1463075

00:00:19

passed x86_build_old #1463078

00:00:20

passed x86_test-gl #1463077

00:00:18

 
  Build
passed meson-arm64 #1463090
aarch64

00:11:26

passed meson-armhf #1463088
aarch64

00:10:54

passed meson-clang #1463091

00:05:43

passed meson-clover #1463096

00:07:06

passed meson-clover-old-llvm #1463097

00:05:30

passed meson-i386 #1463099

00:04:30

passed meson-main #1463086

00:06:19

passed meson-mingw32-x86_64 #1463100

00:04:35

passed meson-testing #1463084

00:05:56

passed meson-vulkan #1463098

00:04:35

passed scons #1463101

00:05:20

passed scons-old-llvm #1463102

00:03:54

passed scons-swr #1463093

00:05:38

passed scons-win64 #1463095

00:05:31

 
  Test
passed arm64_a306_gles2 #1463121
db410c

00:06:14

passed arm64_a630_gles2 #1463118
mesa-cheza

00:01:59

passed arm64_a630_gles3 #1463120
mesa-cheza

00:06:13

passed arm64_a630_gles31 #1463119
mesa-cheza

00:04:26

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

00:06:44

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

00:08:30

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

00:06:16

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

00:05:26

passed piglit-glslparser #1463108

00:06:46

passed piglit-quick_gl #1463107

00:12:40

passed piglit-quick_shader #1463109

00:08:26

passed test-llvmpipe-gles2 #1463110

00:06:07

passed test-softpipe-gles2 #1463111

00:01:33

passed test-softpipe-gles31 1/4 #1463114

00:05:07

passed test-softpipe-gles3 1/2 #1463112

00:04:53

passed test-softpipe-gles31 2/4 #1463115

00:03:58

passed test-softpipe-gles31 3/4 #1463116

00:08:21

passed test-softpipe-gles31 4/4 #1463117

00:03:11

passed test-softpipe-gles3 2/2 #1463113

00:03:20