lima: support rectangle texture

As Vasily discovered, the bit 7 of the word 1 of the texture descriptor
is set when reloading the framebuffer, to use framebuffer-based offset
rather than normalized one. This bit also works for regular textures to
enable accessing with non-normalized offset.

Add support for rectangle texture by setting this bit for
PIPE_TEXTURE_RECT.

Suggested-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
40 jobs for !2131 with lima-texture-rect in 35 minutes and 7 seconds (queued for 7 seconds)
latest detached
Status Name Job ID Coverage
  Containers
passed debian-10 #666626

00:00:21

passed debian-9 #666627

00:00:21

passed test-container:arm64 #666628
aarch64

00:00:21

 
  Build
passed meson-arm64 #666631

00:05:02

passed meson-armhf #666630

00:02:20

passed meson-clang #666633

00:07:40

passed meson-clover #666636

00:09:38

passed meson-clover-old-llvm #666637

00:05:55

passed meson-i386 #666639

00:02:52

passed meson-main #666629

00:11:49

passed meson-swr-glvnd #666632

00:07:33

passed meson-vulkan #666638

00:03:01

passed scons #666640

00:14:37

passed scons-old-llvm #666641

00:08:01

passed scons-swr #666634

00:10:15

passed scons-win64 #666635

00:07:51

 
  Test
passed arm64_a306_gles2 1/4 #666662
db410c

00:04:11

passed arm64_a306_gles2 2/4 #666663
db410c

00:06:01

passed arm64_a306_gles2 3/4 #666664
db410c

00:04:09

passed arm64_a306_gles2 4/4 #666665
db410c

00:04:24

passed arm64_a630_gles2 #666651
mesa-cheza

00:04:25

passed arm64_a630_gles31 1/4 #666652
mesa-cheza

00:06:43

passed arm64_a630_gles31 2/4 #666653
mesa-cheza

00:07:17

passed arm64_a630_gles31 3/4 #666654
mesa-cheza

00:07:21

passed arm64_a630_gles31 4/4 #666655
mesa-cheza

00:08:11

passed arm64_a630_gles3 1/6 #666656
mesa-cheza

00:04:51

passed arm64_a630_gles3 2/6 #666657
mesa-cheza

00:04:14

passed arm64_a630_gles3 3/6 #666658
mesa-cheza

00:03:58

passed arm64_a630_gles3 4/6 #666659
mesa-cheza

00:04:40

passed arm64_a630_gles3 5/6 #666660
mesa-cheza

00:04:15

passed arm64_a630_gles3 6/6 #666661
mesa-cheza

00:04:22

passed test-llvmpipe-gles2 1/4 #666642

00:04:56

passed test-llvmpipe-gles2 2/4 #666643

00:04:06

passed test-llvmpipe-gles2 3/4 #666644

00:04:23

passed test-llvmpipe-gles2 4/4 #666645

00:04:40

passed test-softpipe-gles2 1/4 #666646

00:01:38

passed test-softpipe-gles2 2/4 #666647

00:01:35

passed test-softpipe-gles2 3/4 #666648

00:01:32

passed test-softpipe-gles2 4/4 #666649

00:01:41

passed test-softpipe-gles3-limited #666650

00:04:08