intel: Add support for blit copies of >32bpp formats.
authorEric Anholt <eric@anholt.net>
Sat, 16 Apr 2011 01:15:59 +0000 (18:15 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 20 Apr 2011 17:35:42 +0000 (10:35 -0700)
commit0bbbeba2db0f3fd382d2f591bebc248c5ed40fb5
tree1a3b202e92d1813535c6d782148075ab4939d7f4
parentb31a99367ca374e58ce8dda8a826e71fa9a922f3
intel: Add support for blit copies of >32bpp formats.

The blitter only does up 32bpp at a time, so we handle it by mangling
coordinates and calling the surface 32bpp.

Fixes ARB_texture_rg/fbo-generatemipmap-formats-float with ARB_texture_float.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/intel/intel_blit.c