gallium: Add an equivalent of MESA_FORMAT_BGR_UNORM8.
authorEric Anholt <eric@anholt.net>
Mon, 19 Aug 2019 21:24:12 +0000 (14:24 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 7 Nov 2019 19:43:41 +0000 (19:43 +0000)
commit6fab4a7b59d566269437c88798ae4c811136b927
tree22eea211f1f33806704d01ae778e9fb3256ef942
parent4bbaac3782ad83765698c3722a5e94cda94759fa
gallium: Add an equivalent of MESA_FORMAT_BGR_UNORM8.

This is the last unorm format that MESA_FORMAT had and PIPE_FORMAT
didn't.  Note that it's an array format on gallium's side as well,
since it's a NPOT pixel size.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/util/u_format.csv
src/gallium/include/pipe/p_format.h
src/mesa/state_tracker/st_format.c