From cee2c4624d05f49e15d03142305c5ae8a5422816 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 18 Nov 2022 22:28:05 -0500 Subject: [PATCH] asahi: Advertise all supported renderable formats Now that we have the new tilebuffer infrastructure in place, all renderable formats should be working. This reverts commit 32ab63b4fcaaaf832d549ddcf7b3a225c5f73df4. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/gallium/drivers/asahi/agx_pipe.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/drivers/asahi/agx_pipe.c b/src/gallium/drivers/asahi/agx_pipe.c index d3f553a..1e33729 100644 --- a/src/gallium/drivers/asahi/agx_pipe.c +++ b/src/gallium/drivers/asahi/agx_pipe.c @@ -1295,8 +1295,6 @@ agx_is_format_supported(struct pipe_screen* pscreen, if ((usage & PIPE_BIND_RENDER_TARGET) && !ent.renderable) return false; - if ((usage & PIPE_BIND_RENDER_TARGET) && !util_format_is_unorm8(util_format_description(format))) - return false; } /* TODO: formats */ -- 2.7.4