mesa/pack: use _mesa_format_from_format_and_type in _mesa_pack_rgba_span_from_*
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Wed, 15 Oct 2014 11:03:06 +0000 (13:03 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Mon, 12 Jan 2015 10:20:28 +0000 (11:20 +0100)
commitdcef50b9b5cecbfe38c55059971ce80142585865
treec8749578360a2a2c5bb7ab596024b43145a95c35
parent559a1072dab3c67f06fe23f4ad0dc15b771608c9
mesa/pack: use _mesa_format_from_format_and_type in _mesa_pack_rgba_span_from_*

We had previously added the needed mesa formats, so we can simplify
the code further.

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