radv: teach radv_htile_enabled() about the number of HTILE levels
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 16 Dec 2020 08:48:11 +0000 (09:48 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 27 Jan 2021 08:19:09 +0000 (09:19 +0100)
commit5417c6690e1013425500a6959c51c2157a97a565
treeb582c884725c313df82edd012540f97918c23c6b
parent13f34e65baf5dbae08106b3c9320e891acaf2fec
radv: teach radv_htile_enabled() about the number of HTILE levels

This is the main function that enables/disables HTILE for mipmaps.

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/8124>
src/amd/vulkan/radv_private.h