diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-03-31 04:34:22 +0000 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-03-31 04:42:37 +0000 |
commit | e4e6a3deaff4f84f0fb99b4dec950dc498d507ed (patch) | |
tree | f696834d2f99b52f429ba23751ac4f2da7383d0d /src/gallium/drivers | |
parent | ed160a11606889af24b92b563511b972e8516e0f (diff) |
panfrost: Implement FIXED formats
Fixes crash in dEQP-GLES2.functional.draw.random.9
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-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; |