asahi: Advertise all supported renderable formats
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sat, 19 Nov 2022 03:28:05 +0000 (22:28 -0500)
committerMarge Bot <emma+marge@anholt.net>
Sat, 19 Nov 2022 20:25:41 +0000 (20:25 +0000)
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 <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19871>

src/gallium/drivers/asahi/agx_pipe.c

index d3f553a..1e33729 100644 (file)
@@ -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 */