radv: Fix hang width YCBCR array textures.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 29 Apr 2019 19:34:28 +0000 (21:34 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 2 May 2019 00:29:51 +0000 (02:29 +0200)
commit2c57d3361a440085a1b85c39d51739d6e963e797
tree01474da090b7e682aaf60437e66bf22c489f84b4
parent257a9b0a94ddf2e88bc29771f1f46abdd2d4464d
radv: Fix hang width YCBCR array textures.

Forgot to apply the width/height divisor for CB writes resulting in
the CB using larger than expected slice sizes.

Fixes: 42d159f2766 "radv: Add multiple planes to images."
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110530
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110526
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_device.c