mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-23 15:30:09 +00:00
panfrost: v7 does not support RGB32_UNORM textures
Cc: mesa-stable
Fixes: c6bdd976e6
("panfrost: Split out v6/v7 format tables")
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12588>
This commit is contained in:
parent
b945262773
commit
19e29960e9
@ -337,7 +337,11 @@ const struct panfrost_format GENX(panfrost_pipe_format)[PIPE_FORMAT_COUNT] = {
|
||||
FMT(R32G32_UNORM, RG32_UNORM, RG01, L, VT__),
|
||||
FMT(R8G8B8_UNORM, RGB8_UNORM, RGB1, L, VTR_),
|
||||
FMT(R16G16B16_UNORM, RGB16_UNORM, RGB1, L, VT__),
|
||||
#if PAN_ARCH <= 6
|
||||
FMT(R32G32B32_UNORM, RGB32_UNORM, RGB1, L, VT__),
|
||||
#else
|
||||
FMT(R32G32B32_UNORM, RGB32_UNORM, RGB1, L, V___),
|
||||
#endif
|
||||
FMT(R4G4B4A4_UNORM, RGBA4_UNORM, RGBA, L, VTR_),
|
||||
FMT(B4G4R4A4_UNORM, RGBA4_UNORM, BGRA, L, VTR_),
|
||||
FMT(R16G16B16A16_UNORM, RGBA16_UNORM, RGBA, L, VT__),
|
||||
|
Loading…
Reference in New Issue
Block a user