radv: rely on ac_compute_cmask() for CMASK info
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 13 Jun 2019 15:17:22 +0000 (17:17 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 17 Jun 2019 09:30:44 +0000 (11:30 +0200)
commitcf77d3abf1470a1fad6de05449f208c0badeedda
tree65322223306575e238ed93de8edecf6cacee5abf
parent6880b42cfc1a1b2f30ccd02df1956a78efbe5551
radv: rely on ac_compute_cmask() for CMASK info

Instead of re-computing in the driver. The 3d and cube flags
are correctly set, so the same values should returned by
ac_compute_surface().

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-By: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_image.c