[Mesa-dev] [PATCH] radv: support S8_UINT as a depth/stencil format.

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Thu Apr 13 19:40:48 UTC 2017


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

On Thu, Apr 13, 2017 at 9:35 PM, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> This enables a bunch of NotSupported CTS tests.
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>  src/amd/vulkan/radv_formats.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/amd/vulkan/radv_formats.c b/src/amd/vulkan/radv_formats.c
> index 9b21e04..07942e4 100644
> --- a/src/amd/vulkan/radv_formats.c
> +++ b/src/amd/vulkan/radv_formats.c
> @@ -537,7 +537,7 @@ bool radv_is_colorbuffer_format_supported(VkFormat format, bool *blendable)
>
>  static bool radv_is_zs_format_supported(VkFormat format)
>  {
> -       return radv_translate_dbformat(format) != V_028040_Z_INVALID;
> +       return radv_translate_dbformat(format) != V_028040_Z_INVALID || format == VK_FORMAT_S8_UINT;
>  }
>
>  static void
> --
> 2.9.3
>
> _______________________________________________
> 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