aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/encoder
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-05-19 17:25:14 -0400
committerAlyssa Rosenzweig <[email protected]>2020-05-21 14:43:32 -0400
commit5a4eeb21bf69fa0ab4e1a5954c1dd0f79441341a (patch)
treed5a16ed23ea2bb088a95d96b96454eed376a16ec /src/panfrost/encoder
parent98fc955c6e2f034d1357ea436416d9faaeb1f694 (diff)
panfrost: Fill in SCALED formats to format table
Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5124>
Diffstat (limited to 'src/panfrost/encoder')
-rw-r--r--src/panfrost/encoder/pan_format.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/panfrost/encoder/pan_format.c b/src/panfrost/encoder/pan_format.c
index 02167275034..30423fa4e48 100644
--- a/src/panfrost/encoder/pan_format.c
+++ b/src/panfrost/encoder/pan_format.c
@@ -108,6 +108,32 @@ struct panfrost_format panfrost_pipe_format_table[PIPE_FORMAT_COUNT] = {
[PIPE_FORMAT_B8G8R8A8_SSCALED] = { MALI_RGBA8I, _V },
[PIPE_FORMAT_A8B8G8R8_SSCALED] = { MALI_RGBA8I, _V },
+ [PIPE_FORMAT_R8_USCALED] = { MALI_R8UI, _V },
+ [PIPE_FORMAT_R8G8_USCALED] = { MALI_RG8UI, _V },
+ [PIPE_FORMAT_R8G8B8_USCALED] = { MALI_RGB8UI, _V },
+ [PIPE_FORMAT_B8G8R8_USCALED] = { MALI_RGB8UI, _V },
+ [PIPE_FORMAT_R8G8B8A8_USCALED] = { MALI_RGBA8UI, _V },
+ [PIPE_FORMAT_B8G8R8A8_USCALED] = { MALI_RGBA8UI, _V },
+ [PIPE_FORMAT_A8B8G8R8_USCALED] = { MALI_RGBA8UI, _V },
+
+ [PIPE_FORMAT_R16_USCALED] = { MALI_R16UI, _V },
+ [PIPE_FORMAT_R16G16_USCALED] = { MALI_RG16UI, _V },
+ [PIPE_FORMAT_R16G16B16_USCALED] = { MALI_RGB16UI, _V },
+ [PIPE_FORMAT_R16G16B16A16_USCALED] = { MALI_RGBA16UI, _V },
+ [PIPE_FORMAT_R16_SSCALED] = { MALI_R16I, _V },
+ [PIPE_FORMAT_R16G16_SSCALED] = { MALI_RG16I, _V },
+ [PIPE_FORMAT_R16G16B16_SSCALED] = { MALI_RGB16I, _V },
+ [PIPE_FORMAT_R16G16B16A16_SSCALED] = { MALI_RGBA16I, _V },
+
+ [PIPE_FORMAT_R32_USCALED] = { MALI_R32UI, _V },
+ [PIPE_FORMAT_R32G32_USCALED] = { MALI_RG32UI, _V },
+ [PIPE_FORMAT_R32G32B32_USCALED] = { MALI_RGB32UI, _V },
+ [PIPE_FORMAT_R32G32B32A32_USCALED] = { MALI_RGBA32UI, _V },
+ [PIPE_FORMAT_R32_SSCALED] = { MALI_R32I, _V },
+ [PIPE_FORMAT_R32G32_SSCALED] = { MALI_RG32I, _V },
+ [PIPE_FORMAT_R32G32B32_SSCALED] = { MALI_RGB32I, _V },
+ [PIPE_FORMAT_R32G32B32A32_SSCALED] = { MALI_RGBA32I, _V },
+
[PIPE_FORMAT_R3G3B2_UNORM] = { MALI_RGB332_UNORM, _VT },
[PIPE_FORMAT_Z24_UNORM_S8_UINT] = { MALI_Z24X8_UNORM, _TZ },