Mesa (master): radv: enable HTILE for images that might need variable sample locations
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Jun 7 11:09:10 UTC 2019
Module: Mesa
Branch: master
Commit: 05f5fa661f368b55a4105f7515f20aeae4025c52
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=05f5fa661f368b55a4105f7515f20aeae4025c52
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Thu May 30 10:26:43 2019 +0200
radv: enable HTILE for images that might need variable sample locations
This is now supported.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-By: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
---
src/amd/vulkan/radv_image.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c
index afb426fc3c5..777af25445c 100644
--- a/src/amd/vulkan/radv_image.c
+++ b/src/amd/vulkan/radv_image.c
@@ -76,13 +76,6 @@ radv_use_tc_compat_htile_for_image(struct radv_device *device,
(pCreateInfo->flags & VK_IMAGE_CREATE_EXTENDED_USAGE_BIT))
return false;
- /* TODO: Implement layout transitions with variable sample locations
- * before enabling HTILE for depth/stencil images created with this
- * flags because the depth decompress pass needs to know them.
- */
- if (pCreateInfo->flags & VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT)
- return false;
-
if (pCreateInfo->tiling == VK_IMAGE_TILING_LINEAR)
return false;
More information about the mesa-commit
mailing list