texformat: use MESA_FORMAT_ARGB2101010 with GL_UNSIGNED_INT_2_10_10_10_REV
authorJordan Justen <jordan.l.justen@intel.com>
Thu, 27 Dec 2012 20:34:03 +0000 (12:34 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Sat, 12 Jan 2013 09:46:12 +0000 (01:46 -0800)
commit3c3a2b51b85a90cfe670e1ca81ce86c8fa0d448d
tree41a10fe6d9010df0830d316110325cf7c20adb86
parent53e0f32efea2e3ef2cb725f84db5f3dfe4cad7f2
texformat: use MESA_FORMAT_ARGB2101010 with GL_UNSIGNED_INT_2_10_10_10_REV

Choose MESA_FORMAT_ARGB2101010 when storing
GL_RGBA + GL_UNSIGNED_INT_2_10_10_10_REV or
GL_RGB + GL_UNSIGNED_INT_2_10_10_10_REV.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/texformat.c