mesa/formats: add more MESA_FORMAT_LAYOUTs
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 7 Aug 2015 21:36:23 +0000 (14:36 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Wed, 19 Aug 2015 23:39:41 +0000 (16:39 -0700)
commit0872b042b13388bc870a3acf167a6ce692b734dd
treefac69c5f0b2c77aa8f66f49b4f3d31f00cd97396
parent2438e2fe326d7cb9f9d003f6edf77821e41ef22c
mesa/formats: add more MESA_FORMAT_LAYOUTs

Add the classes of compressed formats as layouts. This allows the detection
of compressed formats belonging to a certain category of compressed formats.

v2. simplify layout name construction (Ilia).

Reviewed-by: Chad Versace <chad.versace@intel.com>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
src/mesa/main/format_info.py
src/mesa/main/formats.c
src/mesa/main/formats.h
src/mesa/main/texcompress.c