mesa/pack: use autogenerated format_pack functions
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Fri, 10 Oct 2014 08:38:06 +0000 (10:38 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Mon, 12 Jan 2015 10:20:28 +0000 (11:20 +0100)
commit1a5ec9624a64c90455c9174143454c592efce89e
tree2a2a9d478677c0a7845b66571753e931a207bb31
parent8c82b22a16003c209a3a955d8565fbf773cba6e3
mesa/pack: use autogenerated format_pack functions

Take advantage of new mesa formats and new format_pack functions to
reduce source code in _mesa_pack_rgba_span_from_ints() and
_mesa_pack_rgba_span_from_uints().

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/main/pack.c