mesa/formats: add new mesa formats and their pack/unpack functions.
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Wed, 8 Oct 2014 09:06:21 +0000 (11:06 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Mon, 12 Jan 2015 10:20:28 +0000 (11:20 +0100)
commitc5a5c9a7db898145774524415a3a94fe75ddb364
tree9a2d2796d04ae8533386f2b32e9ee6a73b1fc46c
parentf8d160fc96cccb46040d47b4dead31c81375e6b6
mesa/formats: add new mesa formats and their pack/unpack functions.

This  will be used to refactor code in pack.c and support conversion
to/from these types in a master convert function that will be added
later.

v2:
- Fix autogeneration of MESA_FORMAT_A2R10G10B10_UNORM pack/unpack
  functions

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/main/format_unpack.py
src/mesa/main/formats.c
src/mesa/main/formats.csv
src/mesa/main/formats.h
src/mesa/swrast/s_texfetch.c