diff options
author | Rob Clark <[email protected]> | 2020-04-16 10:13:24 -0700 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-01 02:05:00 +0000 |
commit | 9a7c179473f7afd126110ce18243b7061b661887 (patch) | |
tree | 62fe9b86d65a60403fbf94934f0d5243a61ee9e3 /src/gallium/drivers/freedreno | |
parent | 6f7d94580e3b603cb036bef9a1a235ee6b910bc0 (diff) |
freedreno/a6xx: add some more formats
u_vbuf was translating these for us.. which isn't really necessary.
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4812>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r-- | src/gallium/drivers/freedreno/a6xx/fd6_format.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_format.c b/src/gallium/drivers/freedreno/a6xx/fd6_format.c index f8431354502..1780fbcc941 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_format.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_format.c @@ -132,6 +132,8 @@ static struct fd6_format formats[PIPE_FORMAT_COUNT] = { V__(R8G8B8_SSCALED, 8_8_8_SINT, WZYX), /* 32-bit */ + V__(R32_UNORM, 32_UNORM, WZYX), + V__(R32_SNORM, 32_SNORM, WZYX), VTC(R32_UINT, 32_UINT, WZYX), VTC(R32_SINT, 32_SINT, WZYX), V__(R32_USCALED, 32_UINT, WZYX), @@ -232,6 +234,8 @@ static struct fd6_format formats[PIPE_FORMAT_COUNT] = { VTC(R16G16B16A16_FLOAT, 16_16_16_16_FLOAT, WZYX), VTC(R16G16B16X16_FLOAT, 16_16_16_16_FLOAT, WZYX), + V__(R32G32_UNORM, 32_32_UNORM, WZYX), + V__(R32G32_SNORM, 32_32_SNORM, WZYX), VTC(R32G32_UINT, 32_32_UINT, WZYX), VTC(R32G32_SINT, 32_32_SINT, WZYX), V__(R32G32_USCALED, 32_32_UINT, WZYX), @@ -243,6 +247,8 @@ static struct fd6_format formats[PIPE_FORMAT_COUNT] = { _T_(L32A32_SINT, 32_32_SINT, WZYX), /* 96-bit */ + V__(R32G32B32_UNORM, 32_32_32_UNORM, WZYX), + V__(R32G32B32_SNORM, 32_32_32_SNORM, WZYX), VT_(R32G32B32_UINT, 32_32_32_UINT, WZYX), VT_(R32G32B32_SINT, 32_32_32_SINT, WZYX), V__(R32G32B32_USCALED, 32_32_32_UINT, WZYX), @@ -251,6 +257,8 @@ static struct fd6_format formats[PIPE_FORMAT_COUNT] = { V__(R32G32B32_FIXED, 32_32_32_FIXED, WZYX), /* 128-bit */ + V__(R32G32B32A32_UNORM, 32_32_32_32_UNORM, WZYX), + V__(R32G32B32A32_SNORM, 32_32_32_32_SNORM, WZYX), VTC(R32G32B32A32_UINT, 32_32_32_32_UINT, WZYX), _TC(R32G32B32X32_UINT, 32_32_32_32_UINT, WZYX), VTC(R32G32B32A32_SINT, 32_32_32_32_SINT, WZYX), |