gallium: Add support for 5551 with the 1-bit field in the low bit.
authorEric Anholt <eric@anholt.net>
Mon, 1 May 2017 18:16:20 +0000 (11:16 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 10 Oct 2017 16:31:29 +0000 (09:31 -0700)
commitef874ee450b18e6d6189731f3160c56474bacbf5
tree7cbbeabefe1020d7854b07586411690dbe5c2604
parent30782962263d21e984826aef616e25f4ec82de2d
gallium: Add support for 5551 with the 1-bit field in the low bit.

This is how VC4 stores 5551 textures, which we need to support for
GL_OES_required_internalformat.

v2: Extend commit message, fix svga driver build, add BE ordering from
    Roland.
v3: Rebase on PIPE_FORMAT_R10G10B10X2_UNORM addition.

Reviewed-by: Marek Olšák <marek.olsak@amd.com> (v2)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> (v2)
src/gallium/auxiliary/util/u_format.csv
src/gallium/drivers/svga/svga_format.c
src/gallium/include/pipe/p_format.h
src/mesa/state_tracker/st_format.c