From c5d86198a4e8e7b35812a975fa30edc528de4ff0 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 29 Oct 2020 09:03:16 -0400 Subject: [PATCH] panfrost: Add missing 1/2/4/64-bit formats to XML Less than 8-bit formats may pack multiple pixels in a byte along a row, possibly padding along the edge. We already had one such format (RGBA4_UNORM), here are the rest. As far as I can tell, 64-bit formats are purely a theoretical curiousity. I don't think any implementation actually supports them, do not use. Might as well complete the list, though. I'm not actually piping any new formats into Gallium with this commit, that can come later if someone has a use case. Signed-off-by: Alyssa Rosenzweig Suggested-by: Icecream95 Tested-by: Christian Hewitt Part-of: --- src/panfrost/lib/midgard.xml | 71 ++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/src/panfrost/lib/midgard.xml b/src/panfrost/lib/midgard.xml index b16a764acff..938d76a0257 100644 --- a/src/panfrost/lib/midgard.xml +++ b/src/panfrost/lib/midgard.xml @@ -140,62 +140,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +