diff options
-rw-r--r-- | src/gallium/drivers/panfrost/pan_format.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_format.c b/src/gallium/drivers/panfrost/pan_format.c index cb1c71fca29..a61d7b19a55 100644 --- a/src/gallium/drivers/panfrost/pan_format.c +++ b/src/gallium/drivers/panfrost/pan_format.c @@ -194,6 +194,15 @@ panfrost_find_format(const struct util_format_description *desc) assert(0); break; + case PIPE_FORMAT_R32_FIXED: + return MALI_R32_FIXED; + case PIPE_FORMAT_R32G32_FIXED: + return MALI_RG32_FIXED; + case PIPE_FORMAT_R32G32B32_FIXED: + return MALI_RGB32_FIXED; + case PIPE_FORMAT_R32G32B32A32_FIXED: + return MALI_RGBA32_FIXED; + default: /* Fallthrough to default */ break; |