mesa: Let _mesa_swizzle_and_convert take array format types instead of GL types
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 27 Nov 2014 07:31:00 +0000 (08:31 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Mon, 12 Jan 2015 10:20:29 +0000 (11:20 +0100)
commitea79ab3e8c3766c17d3080e846b815d48c249186
tree61288ca44b2487d290dfcbc776d7d5a612fe9821
parenta55f67fcb064b4ed3019259a711b5be07f4e72ff
mesa: Let _mesa_swizzle_and_convert take array format types instead of GL types

In the future we would like to have a format conversion library that is
independent of GL so we can share it with Gallium. This is a step in that
direction.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/main/format_utils.c
src/mesa/main/format_utils.h