panfrost: Mark R5G6B5 as blendable

We support B5G6R5 as blendable, this is just a swizzle away. Reduces the
amount we hit blend shaders, and will fix a clear colour packing unit
test in a moment.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12365>
This commit is contained in:
Alyssa Rosenzweig 2021-08-13 20:20:28 +00:00 committed by Marge Bot
parent 62e902101b
commit 8dfbbee054

View file

@ -90,6 +90,7 @@ GENX(panfrost_blendable_formats)[PIPE_FORMAT_COUNT] = {
BFMT2(A8_UNORM, R8G8B8A8, R8, 0),
BFMT2(I8_UNORM, R8G8B8A8, R8, 0),
BFMT2(R5G6B5_UNORM, R5G6B5A0, R5G6B5, 0),
BFMT2(B5G6R5_UNORM, R5G6B5A0, R5G6B5, 0),
BFMT(A4B4G4R4_UNORM, R4G4B4A4),