turnip: fix cube map array image size calculation

imageSize() expects the last component of the return value to be the
number of layers in the texture array. In the case of cube map array,
it will return a ivec3, with the third component being the number of
layer-faces.

Fixes: dEQP-VK.image.image_size.cube_array.*

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <!8087>
52 jobs for master
Status Job ID Name Coverage
  Container
manual #6255650
aarch64 manual
arm_build
manual #6255651
manual
arm_test-base
manual #6255652
windows shell 1809 mesa manual
windows_build_vs2019
manual #6255648
manual
x86_build-base
manual #6255649
manual
x86_test-base
 
  Container 2
created #6255660
android_build
created #6255663
arm64_test
created #6255664
armhf_test
created #6255657
i386_build
created #6255653
kernel+rootfs_amd64
created #6255654
aarch64
kernel+rootfs_arm64
created #6255655
aarch64
kernel+rootfs_armhf
created #6255658
ppc64el_build
created #6255659
s390x_build
created #6255656
x86_build
created #6255661
x86_test-gl
created #6255662
x86_test-vk
 
  Meson X86 64
created #6255670
meson-clang
created #6255671
meson-clover
created #6255667
meson-clover-testing
created #6255668
meson-gallium
created #6255669
meson-release
created #6255665
meson-testing
created #6255666
meson-testing-asan
created #6255672
meson-vulkan
 
  Build Misc
created #6255673
meson-android
created #6255675
aarch64
meson-arm64
created #6255676
aarch64
meson-arm64-build-test
created #6255674
aarch64
meson-armhf
created #6255678
meson-i386
created #6255681
meson-mingw32-x86_64
created #6255680
kvm
meson-ppc64el
created #6255679
kvm
meson-s390x
created #6255677
allowed to fail
scons-win64
 
  Freedreno
created #6255691
google-freedreno-db410c
arm64_a306_gles2
created #6255692
google-freedreno-db410c
arm64_a306_gles3
created #6255693
google-freedreno-db410c
arm64_a306_gles3_options
created #6255694
google-freedreno-db820c
arm64_a530_gles2 1/2
created #6255695
google-freedreno-db820c
arm64_a530_gles2 2/2
created #6255696
google-freedreno-db820c
arm64_a530_gles3
created #6255697
google-freedreno-db820c
arm64_a530_gles31
created #6255686
google-freedreno-cheza
arm64_a630_gl
created #6255682
google-freedreno-cheza
arm64_a630_gles2
created #6255684
google-freedreno-cheza
arm64_a630_gles3
created #6255683
google-freedreno-cheza
arm64_a630_gles31
created #6255687
google-freedreno-cheza
arm64_a630_gles_others
created #6255685
google-freedreno-cheza
arm64_a630_traces
created #6255688
google-freedreno-cheza
arm64_a630_vk 1/2
created #6255689
google-freedreno-cheza
arm64_a630_vk 2/2
created #6255690
google-freedreno-cheza
arm64_a630_vk_sysmem
 
  Software Renderer
created #6255698
lavapipe-vk
 
  External
passed continuous-integration/appveyor/branch