mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 20:40:09 +01:00
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:
parent
eb0034fe28
commit
5088ba2aeb
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue