radv: rework DCC/CMASK/FMASK/HTILE allocations
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 29 Sep 2017 14:48:07 +0000 (16:48 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 2 Oct 2017 09:56:20 +0000 (11:56 +0200)
commit219be27a095f7c0d164967ddf39a7200a2f2b5b8
tree5e638def0661f9a37f4619fd6556ae94a3c50254
parent1262e828e7b5a1eed61769050ec8f04b77a51251
radv: rework DCC/CMASK/FMASK/HTILE allocations

Add helpers and some comments to make the thing more readable.

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