From: Samuel Pitoiset Date: Wed, 12 Dec 2018 13:15:53 +0000 (+0100) Subject: radv: don't check if format is depth in radv_image_can_enable_hile() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5088ba2aeb69715cfe63216cf475e8a1f43e98b8;p=mesa.git radv: don't check if format is depth in radv_image_can_enable_hile() This is always TRUE if htile_size is not 0. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c index 0ac3d837fdb..2cff4d5283e 100644 --- a/src/amd/vulkan/radv_image.c +++ b/src/amd/vulkan/radv_image.c @@ -934,7 +934,6 @@ radv_image_can_enable_htile(struct radv_image *image) { return radv_image_has_htile(image) && image->info.levels == 1 && - vk_format_is_depth(image->vk_format) && image->info.width * image->info.height >= 8 * 8; }