Mesa (master): radv: drop Z24 support.

Dave Airlie airlied at kemper.freedesktop.org
Sun Mar 5 23:33:16 UTC 2017


Module: Mesa
Branch: master
Commit: cc59e24a6bc9bf8b51a22785beb07089770bec8d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc59e24a6bc9bf8b51a22785beb07089770bec8d

Author: Dave Airlie <airlied at redhat.com>
Date:   Sun Mar  5 23:26:16 2017 +0000

radv: drop Z24 support.

This isn't exposed in -pro, the hw docs say it is deprecated,
so let's not bother with it.

Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Cc: "13.0 17.0" <mesa-stable at lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/amd/vulkan/radv_formats.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/amd/vulkan/radv_formats.c b/src/amd/vulkan/radv_formats.c
index 7483b8d..3742dcf 100644
--- a/src/amd/vulkan/radv_formats.c
+++ b/src/amd/vulkan/radv_formats.c
@@ -743,9 +743,6 @@ uint32_t radv_translate_dbformat(VkFormat format)
 	case VK_FORMAT_D16_UNORM:
 	case VK_FORMAT_D16_UNORM_S8_UINT:
 		return V_028040_Z_16;
-	case VK_FORMAT_X8_D24_UNORM_PACK32:
-	case VK_FORMAT_D24_UNORM_S8_UINT:
-		return V_028040_Z_24; /* deprecated on SI */
 	case VK_FORMAT_D32_SFLOAT:
 	case VK_FORMAT_D32_SFLOAT_S8_UINT:
 		return V_028040_Z_32_FLOAT;




More information about the mesa-commit mailing list