radv: Pass no_metadata_planes info in to ac_surface.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 24 May 2020 10:10:00 +0000 (12:10 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 5 Jun 2020 13:27:55 +0000 (13:27 +0000)
commitd3db633f6dfd960f4052d2e491f4a869e359b98e
treee249ff807ab70d3ebfe78b07303001884f3ae0fa
parent599ea341dd17cef54b5e083279cb5ec4748c7f9a
radv: Pass no_metadata_planes info in to ac_surface.

Also do not allocate aux surfaces for multi-plane images. I may
have messed up and used plane 1 offsets for the other planes as well.
I cannot imagine that sharing aux surfaces between the planes will
work well.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5194>
src/amd/vulkan/radv_image.c