ir3: use OPC_GETBUF to get size of sampler buffers

The maximum value which OPC_GETSIZE could return for one dimension
is 0x007ff0, however sampler buffer could be much bigger.
Blob uses OPC_GETBUF for them.

Fixes tests:
 dEQP-VK.memory.pipeline_barrier.transfer_dst_uniform_texel_buffer.1048576

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <!9391>
55 jobs for !9391 with ir3/fix/wrong-sampler-buffer-texture-size in 19 minutes and 23 seconds (queued for 4 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed #7878016
sanity

00:00:16

 
  Container
passed #7878021
aarch64
arm_build

00:00:17

passed #7878023
arm_test-base

00:00:15

passed #7878024
windows shell 1809 mesa
windows_build_vs2019

00:00:08

passed #7878018
x86_build-base

00:00:15

passed #7878019
x86_test-base

00:00:13

 
  Container 2
passed #7878040
android_build

00:00:12

passed #7878045
arm64_test

00:00:12

passed #7878047
armhf_test

00:00:18

passed #7878035
i386_build

00:00:19

passed #7878027
kernel+rootfs_amd64

00:00:23

passed #7878029
aarch64
kernel+rootfs_arm64

00:01:15

passed #7878031
aarch64
kernel+rootfs_armhf

00:00:13

passed #7878036
ppc64el_build

00:00:22

passed #7878038
s390x_build

00:00:11

passed #7878033
x86_build

00:00:22

passed #7878042
x86_test-gl

00:00:20

passed #7878044
x86_test-vk

00:00:23

 
  Meson X86 64
passed #7878057
meson-clang

00:02:38

passed #7878059
meson-clover

00:01:54

passed #7878052
meson-clover-testing

00:01:52

passed #7878054
gstreamer
meson-gallium

00:01:47

passed #7878056
meson-release

00:01:22

passed #7878049
meson-testing

00:02:05

passed #7878051
meson-testing-asan

00:08:56

passed #7878061
meson-vulkan

00:03:01

 
  Build Misc
passed #7878062
meson-android

00:00:48

passed #7878066
aarch64
meson-arm64

00:01:48

passed #7878068
aarch64
meson-arm64-asan

00:03:33

passed #7878070
aarch64
meson-arm64-build-test

00:01:51

passed #7878064
aarch64
meson-armhf

00:01:54

passed #7878072
meson-i386

00:02:58

passed #7878078
meson-mingw32-x86_64

00:01:54

passed #7878076
kvm
meson-ppc64el

00:02:24

passed #7878074
kvm
meson-s390x

00:02:49

 
  Freedreno
passed #7878079
google-freedreno-db410c
a306_gles2

00:04:45

passed #7878081
google-freedreno-db410c
a306_gles3 1/3

00:09:00

passed #7878083
google-freedreno-db410c
a306_gles3 2/3

00:09:05

passed #7878085
google-freedreno-db410c
a306_gles3 3/3

00:09:04

passed #7878086
google-freedreno-db410c
a306_gles3_options

00:02:46

passed #7878087
google-freedreno-db820c
a530_gles2

00:06:11

passed #7878090
google-freedreno-db820c
a530_gles31 1/2

00:05:59

passed #7878088
google-freedreno-db820c
a530_gles3 1/2

00:08:02

passed #7878091
google-freedreno-db820c
a530_gles31 2/2

00:06:59

passed #7878089
google-freedreno-db820c
a530_gles3 2/2

00:07:44

passed #7878099
google-freedreno-cheza
a630_gl

00:02:36

passed #7878093
google-freedreno-cheza
a630_gles2

00:02:49

passed #7878097
google-freedreno-cheza
a630_gles3

00:06:05

passed #7878095
google-freedreno-cheza
a630_gles31

00:05:09

passed #7878103
google-freedreno-cheza
a630_gles_asan

00:03:41

passed #7878101
google-freedreno-cheza
a630_gles_others

00:03:53

passed #7878111
google-freedreno-cheza
a630-traces

00:07:45

passed #7878105
google-freedreno-cheza
a630_vk 1/2

00:08:01

passed #7878107
google-freedreno-cheza
a630_vk 2/2

00:07:41

passed #7878109
google-freedreno-cheza
a630_vk_sysmem

00:02:20