swrast: Add support for glReadPixels() to integer types.
authorEric Anholt <eric@anholt.net>
Fri, 4 Nov 2011 00:27:23 +0000 (17:27 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 9 Nov 2011 20:59:20 +0000 (12:59 -0800)
commit11a90af1ef6384b3ac7730d16db9a65b4a799466
tree8ad6c5ec5e050a2dda56f85d9e637e50faf71d1f
parente34c9edcda9167c634fe8381bd039f1a65925d0a
swrast: Add support for glReadPixels() to integer types.

With this change, i965 passes
GL_EXT_texture_integer/fbo_integer_precision_clear

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/swrast/s_readpix.c