From 12ebea098ce801f79a4ea76a6fbdaf7528d71ddb Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 8 Apr 2024 12:01:56 -0400 Subject: [PATCH] asahi: drop rgb10a2_sint rendering Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/lib/agx_formats.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/asahi/lib/agx_formats.c b/src/asahi/lib/agx_formats.c index 997d6aae9fa..f4981e51e97 100644 --- a/src/asahi/lib/agx_formats.c +++ b/src/asahi/lib/agx_formats.c @@ -135,8 +135,11 @@ const struct agx_pixel_format_entry agx_pixel_format[PIPE_FORMAT_COUNT] = { AGX_FMT(R10G10B10A2_UINT, R10G10B10A2, UINT, I16), AGX_FMT(B10G10R10A2_UINT, R10G10B10A2, UINT, I16), - AGX_FMT(R10G10B10A2_SINT, R10G10B10A2, SINT, I16), - AGX_FMT(B10G10R10A2_SINT, R10G10B10A2, SINT, I16), + /* I don't see why this wouldn't be renderable, but it doesn't seem to work + * properly and it's not in Metal. + */ + AGX_FMT(R10G10B10A2_SINT, R10G10B10A2, SINT, _), + AGX_FMT(B10G10R10A2_SINT, R10G10B10A2, SINT, _), AGX_FMT(R11G11B10_FLOAT, R11G11B10, FLOAT, RG11B10F),