Mesa (master): radv: don't check if format is depth in radv_image_can_enable_hile()
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Dec 13 08:20:28 UTC 2018
Module: Mesa
Branch: master
Commit: 5088ba2aeb69715cfe63216cf475e8a1f43e98b8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5088ba2aeb69715cfe63216cf475e8a1f43e98b8
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Wed Dec 12 14:15:53 2018 +0100
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 at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
---
src/amd/vulkan/radv_image.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c
index 0ac3d837fd..2cff4d5283 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;
}
More information about the mesa-commit
mailing list