[Mesa-dev] [PATCH] radv: drop Z24 support.

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Sun Mar 5 23:31:13 UTC 2017


Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>

On Mon, Mar 6, 2017 at 12:27 AM, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> This isn't exposed in -pro, the hw docs say it is deprecated,
> so let's not bother with it.
>
> 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;
> --
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list