freedreno: a2xx: Handle samplerExternalOES like sampler2D

There should be no difference in handling these two samplers,
handle GLSL_SAMPLER_DIM_EXTERNAL just like GLSL_SAMPLER_DIM_2D
to fix "unimplemented sampler 6" error in case someone tries to
use samplerExternalOES in shader program.

Signed-off-by: Marek Vasut <marex@denx.de>
Part-of: <!12817>
59 jobs for !12817 with a2xx-externaloes in 25 minutes and 10 seconds (queued for 9 seconds)
latest detached
Status Name Job ID Coverage
  Sanity
passed sanity #13688707

00:00:15

 
  Container
passed debian/android_build #13688717

00:00:21

passed debian/arm_build #13688724
aarch64

00:00:26

passed debian/arm_test #13688733

00:00:23

passed debian/i386_build #13688712

00:00:28

passed debian/ppc64el_build #13688714

00:00:26

passed debian/s390x_build #13688716

00:00:28

passed debian/x86_build #13688710

00:00:23

passed debian/x86_build-base #13688709

00:00:22

passed debian/x86_test-base #13688719

00:00:21

passed debian/x86_test-gl #13688721

00:00:22

passed debian/x86_test-vk #13688722

00:00:28

passed fedora/x86_build #13688726

00:00:22

passed kernel+rootfs_amd64 #13688727

00:00:12

passed kernel+rootfs_arm64 #13688729
aarch64

00:01:11

passed kernel+rootfs_armhf #13688731
aarch64

00:00:11

passed windows_build_vs2019 #13688734
windows shell 1809 mesa

00:00:11

 
  Build X86 64
passed debian-clang #13688747

00:07:45

passed debian-clover #13688749

00:02:36

passed debian-clover-testing #13688740

00:02:16

passed debian-gallium #13688742

00:05:43

passed debian-release #13688744

00:03:01

passed debian-testing #13688737

00:02:24

passed debian-testing-asan #13688739

00:03:06

passed debian-vulkan #13688750

00:02:14

passed fedora-release #13688745

00:01:24

 
  Build Misc
passed debian-android #13688752

00:01:08

passed debian-arm64 #13688756
aarch64

00:01:30

passed debian-arm64-asan #13688758
aarch64

00:03:02

passed debian-arm64-build-test #13688760
aarch64

00:01:25

passed debian-armhf #13688754
aarch64

00:01:42

passed debian-i386 #13688761

00:00:49

passed debian-mingw32-x86_64 #13688763

00:01:53

 
  Freedreno
passed a306_gl 1/5 #13688765
google-freedreno-db410c

00:09:12

passed a306_gl 2/5 #13688767
google-freedreno-db410c

00:09:42

passed a306_gl 3/5 #13688769
google-freedreno-db410c

00:09:25

passed a306_gl 4/5 #13688771
google-freedreno-db410c

00:08:58

passed a306_gl 5/5 #13688773
google-freedreno-db410c

00:08:54

passed a306-traces #13688775
google-freedreno-db410c

00:02:44

passed a530_gl 1/5 #13688777
google-freedreno-db820c

00:09:34

passed a530_gl 2/5 #13688779
google-freedreno-db820c

00:11:32

passed a530_gl 3/5 #13688781
google-freedreno-db820c

00:10:38

passed a530_gl 4/5 #13688783
google-freedreno-db820c

00:09:36

passed a530_gl 5/5 #13688784
google-freedreno-db820c

00:10:53

passed a530_piglit_shader 1/2 #13688785
google-freedreno-db820c

00:08:21

passed a530_piglit_shader 2/2 #13688786
google-freedreno-db820c

00:08:07

passed a530-traces #13688787
google-freedreno-db820c

00:07:39

passed a630_egl #13688792
google-freedreno-cheza

00:02:21

passed a630_gl 1/4 #13688788
google-freedreno-cheza

00:06:39

passed a630_gl 2/4 #13688789
google-freedreno-cheza

00:07:39

passed a630_gl 3/4 #13688790
google-freedreno-cheza

00:06:12

passed a630_gl 4/4 #13688791
google-freedreno-cheza

00:06:50

passed a630_piglit #13688796
google-freedreno-cheza

00:08:44

passed a630-traces #13688797
google-freedreno-cheza

00:04:10

passed a630-traces-performance #13688799
google-freedreno-cheza manual

00:06:05

passed a630-traces-restricted #13688798
google-freedreno-cheza

00:03:13

passed a630_vk 1/3 #13688793
google-freedreno-cheza

00:08:25

passed a630_vk 2/3 #13688794
google-freedreno-cheza

00:09:58

passed a630_vk 3/3 #13688795
google-freedreno-cheza

00:09:52