i965: Accelerate uploads of RGBA and BGRA GL_UNSIGNED_INT_8_8_8_8_REV textures
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 19 Jul 2014 01:23:30 +0000 (18:23 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 23 Jul 2014 23:48:35 +0000 (16:48 -0700)
commit6bac86cd85bf85dd03df7e788232059dc63b9f65
treef08b1f447ac6d7952e294452b05b09e771945487
parent5072d0e7fc6120fe7d1a02f0d4ba3daed4a03573
i965: Accelerate uploads of RGBA and BGRA GL_UNSIGNED_INT_8_8_8_8_REV textures

Since intel is always going to be little-endian,
GL_UNSIGNED_INT_8_8_8_8_REV is the same as GL_UNSIGNED_BYTE for RGBA and
BGRA textures, so the same acceleration code will work.  We might as well
use it.

Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_tex_subimage.c