mesa: Add X1B5G5R5 along with A1B5G5R5.
authorEric Anholt <eric@anholt.net>
Mon, 1 May 2017 18:21:27 +0000 (11:21 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 10 Oct 2017 16:31:29 +0000 (09:31 -0700)
commit30782962263d21e984826aef616e25f4ec82de2d
tree5042d804c08a42a12f6765b1f959677208d3badd
parentfbcae1897be19203c95f3633dd38e3436768e3a8
mesa: Add X1B5G5R5 along with A1B5G5R5.

For supporting RGB5 in hardware with A in the low bit (vc4), we need this
format as well.

v2: Add proper _mesa_format_matches_format_and_type() support (from
    Nicolai).

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> (v1)
src/mesa/main/formats.c
src/mesa/main/formats.csv
src/mesa/main/formats.h
src/mesa/main/texformat.c
src/mesa/swrast/s_texfetch.c