i965: do_blit_drawpixels: decode array formats
authorAlexander Monakov <amonakov@gmail.com>
Tue, 9 Jun 2015 17:58:22 +0000 (20:58 +0300)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 11 Jun 2015 07:15:37 +0000 (00:15 -0700)
commitbd38f91f8d80897ca91979962d80d4bc0acef586
tree290133d478d675818c65f6e616150541ebb76857
parentf9a18acb56c69b24c1e47cd326dc98e14fadcf94
i965: do_blit_drawpixels: decode array formats

Correct a regression introduced by commit 922c0c9fd526 by converting "array
format", if received from _mesa_format_from_format_and_type, to mesa_format.

References: https://bugs.freedesktop.org/show_bug.cgi?id=90839
Signed-off-by: Alexander Monakov <amonakov@gmail.com>
Tested-by: AnAkkk <anakin.cs@gmail.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: mesa-stable@lists.freedesktop.org
src/mesa/drivers/dri/i965/intel_pixel_draw.c