mesa: Add comments about bit-ordering of new XRGB/XBGR formats.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 29 Apr 2013 06:33:39 +0000 (23:33 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 12 May 2013 16:32:42 +0000 (09:32 -0700)
commita67b18e5a7c47fd38d526bac409c04daedec9f8c
tree81e097e920ca12faefaf90e07db59b7e3d86a1d6
parentf486c52f9e798ea59582e3a346e8e01980550e0c
mesa: Add comments about bit-ordering of new XRGB/XBGR formats.

Marek added these new formats in commit f9fa725690c470daf308, but
without comments relating to the packing.  Sometimes the naming is
confusing, so these comments are helpful in determining whether two
formats are compatible.

The new comments are based on my reading of format_unpack.c.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
src/mesa/main/formats.h