freedreno/a2xx: fix compressed textures

Two problems:
* Multiply has higher priority than shift
* rsc->layout.format isn't initialized for a2xx

Fixes: 5a8718f0 ("freedreno: Make the slice pitch be bytes, not pixels.")

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
44 jobs for !5795 with a2xx-texture
latest detached
Status Job ID Name Coverage
  Container+Docs
manual #3493225
aarch64 manual
arm_build
manual #3493226
manual
arm_test-base
manual #3493222
manual
x86_build-base
manual #3493224
manual
x86_build_old
manual #3493223
manual
x86_test-base
 
  Container 2
created #3493235
arm64_test
created #3493230
i386_build
created #3493227
aarch64
kernel+rootfs_arm64
created #3493228
aarch64
kernel+rootfs_armhf
created #3493231
ppc64el_build
created #3493232
s390x_build
created #3493229
x86_build
created #3493233
x86_test-gl
created #3493234
x86_test-vk
 
  Meson X86 64
created #3493239
meson-clang
created #3493238
meson-classic
created #3493240
meson-clover
created #3493241
meson-clover-old-llvm
created #3493237
meson-gallium
created #3493236
meson-testing
created #3493242
meson-vulkan
 
  Scons
created #3493243
allowed to fail
scons-win64
 
  Meson Misc
created #3493245
aarch64
meson-arm64
created #3493246
aarch64
meson-arm64-build-test
created #3493244
aarch64
meson-armhf
created #3493247
meson-i386
created #3493250
meson-mingw32-x86_64
created #3493249
kvm
meson-ppc64el
created #3493248
kvm
meson-s390x
 
  Freedreno
created #3493260
google-freedreno-db410c
arm64_a306_gles2
created #3493261
google-freedreno-db410c
arm64_a306_gles3
created #3493262
google-freedreno-db410c
arm64_a306_gles3_options
created #3493263
google-freedreno-db820c
arm64_a530_gles2
created #3493264
google-freedreno-db820c
arm64_a530_gles3
created #3493265
google-freedreno-db820c
arm64_a530_gles31
created #3493255
google-freedreno-cheza
arm64_a630_bypass
created #3493251
google-freedreno-cheza
arm64_a630_gles2
created #3493253
google-freedreno-cheza
arm64_a630_gles3
created #3493252
google-freedreno-cheza
arm64_a630_gles31
created #3493257
google-freedreno-cheza
arm64_a630_gmem
created #3493254
google-freedreno-cheza
arm64_a630_noubo
created #3493256
google-freedreno-cheza
arm64_a630_traces
created #3493258
google-freedreno-cheza
arm64_a630_vk
created #3493259
google-freedreno-cheza
arm64_a630_vk_sysmem