mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
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:
parent
62e902101b
commit
8dfbbee054
1 changed files with 1 additions and 0 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue