aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/encoder
diff options
context:
space:
mode:
Diffstat (limited to 'src/panfrost/encoder')
-rw-r--r--src/panfrost/encoder/pan_format.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/panfrost/encoder/pan_format.c b/src/panfrost/encoder/pan_format.c
index 26d3f7951eb..89f4695deaa 100644
--- a/src/panfrost/encoder/pan_format.c
+++ b/src/panfrost/encoder/pan_format.c
@@ -124,6 +124,9 @@ panfrost_find_format(const struct util_format_description *desc)
/* Z32F = R32F to the hardware */
return MALI_R32F;
+ case PIPE_FORMAT_R3G3B2_UNORM:
+ return MALI_RGB332_UNORM;
+
case PIPE_FORMAT_B5G6R5_UNORM:
return MALI_RGB565;