radv: allocate metadata space for mipmapped depth/stencil images
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 23 Aug 2019 08:48:20 +0000 (10:48 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 26 Aug 2019 13:56:51 +0000 (15:56 +0200)
commit9db0dc6b8e18d7cfd60b900da72264f7a5e39484
treeb0d761bceb7aaa988fca291ac0d38985513227e5
parent76812339f7cf4c742cec5b65bf3598dd965cfc53
radv: allocate metadata space for mipmapped depth/stencil images

For each mipmaps, the driver will store the clear values (8-bytes)
and the TC-compat zrange value (4-bytes).

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