aco: fix convert_to_SDWA() check in add_subdword_definition()

v_or_b32 with a v2b definition should use SDWA if is_partial=true.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Fixes: 56345b8c ("aco: allow reading/writing upper halves/bytes when possible")
Part-of: <mesa/mesa!8577>
(cherry picked from commit fcda9b67)
91 jobs for staging/20.3 in 28 seconds (queued for 8 seconds)
latest
Status Name Job ID Coverage
  Container
manual arm_build #6763629
aarch64 manual
manual arm_test-base #6763630
manual
passed git_archive #6763631

00:00:17

manual x86_build-base #6763627
manual
manual x86_test-base #6763628
manual
 
  Container 2
created android_build #6763639
created arm64_test #6763642
created i386_build #6763636
created kernel+rootfs_amd64 #6763632
created kernel+rootfs_arm64 #6763633
aarch64
created kernel+rootfs_armhf #6763634
aarch64
created ppc64el_build #6763637
created s390x_build #6763638
created x86_build #6763635
created x86_test-gl #6763640
created x86_test-vk #6763641
 
  Sanity
passed check mr #6763643

00:00:11

 
  Deploy
manual test-docs #6763644
manual
 
  Meson X86 64
created meson-clang #6763650
created meson-classic #6763649
created meson-clover #6763651
created meson-clover-testing #6763646
created meson-gallium #6763647
created meson-release #6763648
created meson-testing #6763645
created meson-vulkan #6763652
 
  Scons
created scons-win64 #6763653
allowed to fail
 
  Meson Misc
created meson-android #6763654
created meson-arm64 #6763656
aarch64
created meson-arm64-build-test #6763657
aarch64
created meson-armhf #6763655
aarch64
created meson-i386 #6763658
created meson-mingw32-x86_64 #6763661
created meson-ppc64el #6763660
kvm
created meson-s390x #6763659
kvm
 
  Llvmpipe
created llvmpipe-gles2 #6763666
created llvmpipe-traces #6763667
created piglit-cl #6763662
created piglit-glslparser #6763664
created piglit-quick_gl #6763663
created piglit-quick_shader #6763665
 
  Softpipe
created softpipe-gl #6763672
created softpipe-gles2 #6763668
created softpipe-gles3 #6763669
created softpipe-gles31 1/2 #6763670
created softpipe-gles31 2/2 #6763671
 
  Freedreno
created arm64_a306_gles2 #6763685
google-freedreno-db410c
created arm64_a306_gles3 #6763686
google-freedreno-db410c
created arm64_a306_gles3_options #6763687
google-freedreno-db410c
created arm64_a530_gles2 1/2 #6763688
google-freedreno-db820c
created arm64_a530_gles2 2/2 #6763689
google-freedreno-db820c
created arm64_a530_gles3 #6763690
google-freedreno-db820c
created arm64_a530_gles31 #6763691
google-freedreno-db820c
created arm64_a630_bypass #6763677
google-freedreno-cheza
created arm64_a630_gl #6763680
google-freedreno-cheza
created arm64_a630_gles2 #6763673
google-freedreno-cheza
created arm64_a630_gles3 #6763675
google-freedreno-cheza
created arm64_a630_gles31 #6763674
google-freedreno-cheza
created arm64_a630_gles31_565nozs #6763682
google-freedreno-cheza
created arm64_a630_gles3_565nozs #6763681
google-freedreno-cheza
created arm64_a630_gmem #6763679
google-freedreno-cheza
created arm64_a630_noubo #6763676
google-freedreno-cheza
created arm64_a630_traces #6763678
google-freedreno-cheza
created arm64_a630_vk #6763683
google-freedreno-cheza
created arm64_a630_vk_sysmem #6763684
google-freedreno-cheza
 
  Panfrost
created panfrost-g52-gles2:arm64 #6763697
mesa-ci-aarch64-lava-collabora
created panfrost-t720-gles2:arm64 #6763692
mesa-ci-aarch64-lava-collabora
created panfrost-t860-gles2:arm64 #6763693
mesa-ci-aarch64-lava-collabora
created panfrost-t860-gles3:arm64 1/2 #6763694
mesa-ci-aarch64-lava-collabora
created panfrost-t860-gles3:arm64 2/2 #6763695
mesa-ci-aarch64-lava-collabora
created panfrost-t860-traces:arm64 #6763696
mesa-ci-aarch64-lava-collabora
 
  Radv
created radv-fossils #6763699
created radv-polaris10-traces #6763700
polaris10 manual
created radv_polaris10_vkcts #6763698
polaris10 manual
created radv-raven-traces #6763701
raven manual
 
  Virgl
created virgl-gl30-on-gl #6763706
created virgl-gl31-on-gl #6763707
created virgl-gl32-on-gl #6763708
created virgl-gles2-on-gl #6763702
created virgl-gles2-on-gles #6763709
manual
created virgl-gles31-on-gl 1/2 #6763704
created virgl-gles31-on-gl 2/2 #6763705
created virgl-gles31-on-gles 1/2 #6763711
manual
created virgl-gles31-on-gles 2/2 #6763712
manual
created virgl-gles3-on-gl #6763703
created virgl-gles3-on-gles #6763710
manual
created virgl-traces #6763713
 
  Radeonsi
created radeonsi-stoney-gles2:amd64 #6763714
mesa-ci-aarch64-lava-collabora
created radeonsi-stoney-gles31:amd64 #6763716
mesa-ci-aarch64-lava-collabora
created radeonsi-stoney-gles3:amd64 #6763715
mesa-ci-aarch64-lava-collabora
created radeonsi-stoney-traces:amd64 #6763717
mesa-ci-aarch64-lava-collabora