tu: Move UBWC layout into fdl6_layout() and use that function.

This gets us shared non-UBWC layout code between gallium and turnip.
Until I fix up the rest of gallium to handle UBWC mipmapping, we do the
single-level UBWC setup in gallium as a fixup after layout.

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
42 jobs for !2892 with tu-fdl in 21 minutes and 45 seconds (queued for 4 seconds)
detached
Status Job ID Name Coverage
  Container
passed arm_build #1114736
aarch64

00:00:17

passed arm_test #1114737
aarch64

00:00:27

passed lava_arm64 #1114732

00:00:40

passed lava_armhf #1114731

00:00:42

passed x86_build #1114733

00:00:42

passed x86_build_old #1114735

00:00:40

passed x86_test-gl #1114734

00:00:43

 
  Build
passed lava-build:arm64 #1114739

00:03:24

passed lava-build:armhf #1114738

00:04:34

passed meson-arm64 #1114743
aarch64

00:06:31

passed meson-armhf #1114742
aarch64

00:04:04

passed meson-clang #1114744

00:07:25

passed meson-clover #1114747

00:08:40

passed meson-clover-old-llvm #1114748

00:08:44

passed meson-i386 #1114750

00:04:01

passed meson-main #1114741

00:07:34

passed meson-mingw32-x86_64 #1114751

00:03:55

passed meson-testing #1114740

00:09:25

passed meson-vulkan #1114749

00:04:39

passed scons #1114752

00:13:16

passed scons-old-llvm #1114753

00:08:15

passed scons-swr #1114745

00:05:53

passed scons-win64 #1114746

00:07:13

 
  Test
passed arm64_a306_gles2 #1114772
db410c

00:04:58

passed arm64_a630_gles2 #1114769
mesa-cheza

00:01:32

passed arm64_a630_gles3 #1114771
mesa-cheza

00:05:55

passed arm64_a630_gles31 #1114770
mesa-cheza

00:04:06

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

00:09:22

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

00:07:33

passed panfrost-t820-test:arm64 #1114757
lava-meson-gxm-khadas-vim2

00:04:32

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

00:05:24

passed piglit-glslparser #1114759

00:05:56

passed piglit-quick_gl #1114758

00:11:35

passed piglit-quick_shader #1114760

00:05:39

passed test-llvmpipe-gles2 #1114761

00:05:44

passed test-softpipe-gles2 #1114762

00:01:40

passed test-softpipe-gles31 1/4 #1114765

00:02:05

passed test-softpipe-gles3 1/2 #1114763

00:06:42

passed test-softpipe-gles31 2/4 #1114766

00:04:03

passed test-softpipe-gles31 3/4 #1114767

00:04:56

passed test-softpipe-gles31 4/4 #1114768

00:03:14

passed test-softpipe-gles3 2/2 #1114764

00:05:23