radv: drop Z24 support.
authorDave Airlie <airlied@redhat.com>
Sun, 5 Mar 2017 23:26:16 +0000 (23:26 +0000)
committerDave Airlie <airlied@redhat.com>
Sun, 5 Mar 2017 23:32:36 +0000 (23:32 +0000)
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@basnieuwenhuizen.nl>
Cc: "13.0 17.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_formats.c

index 7483b8dedfc5c52ff1fa46ef832351c36d9d111d..3742dcfed0f5a8ee7c40cacefd26a49ddeb3cc37 100644 (file)
@@ -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;