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 <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
Samuel Pitoiset 2018-12-12 14:15:53 +01:00
parent eb0034fe28
commit 5088ba2aeb

View file

@ -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;
}