radv: remove radv_layout_has_htile() helper
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 31 Mar 2020 13:26:00 +0000 (15:26 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 8 Apr 2020 05:55:16 +0000 (07:55 +0200)
commitcd99ea7318863aa61f8a4516cd153611de85989e
tree65601be5c302769f3d1d34854f4f0647981f4477
parentffea3e7348e70ad5a9485aefba428d518ca9476e
radv: remove radv_layout_has_htile() helper

The goal of this function was to return whether a depth-stencil image
has HTILE, in comparison to radv_layout_is_htile_compressed() which
is used to know whether a depth-stencil image has HTILE compressed.

These two functions are actually similar and they have never been
used for what they were supposed to. Remove radv_layout_has_htile()
in favour of radv_layout_is_htile_compressed() for now. If it's
needed in the future, I will re-introduce this concept properly.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4389>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_image.c
src/amd/vulkan/radv_private.h