mesa/src
Eric Anholt 755f0a0a02 mesa: Make formats.c "datatype" values match glGetTexLevelParameter return.
The formats.c code's "datatype" value is "what does this value mean",
i.e. unorm or snorm or float, and is the return value from the
GL_TEXTURE_RED_TYPE class of queries.  The depth formats were marked
as GL_UNSIGNED_INT, which is what we use for integer, and not what we
should be returning from the glGetTexLevelParameter.

In texstore, we were inappropriately using it as an argument to
_mesa_unpack_depth_span() that was expecting a value like
GL_UNSIGNED_INT or GL_UNSIGNED_SHORT.  Just hardcode
_mesa_unpack_depth_span()'s arguments for now, though it looks like
the consumers of that interface would be happier with using
MESA_FORMAT.

Reviewed-by: Brian Paul <brianp@vmware.com>
2011-11-22 13:58:37 -08:00
..
egl egl: silence unused var warning 2011-11-10 16:00:46 -07:00
gallium r600g: handle all remaining CAPs 2011-11-22 20:56:51 +01:00
gbm gbm/dri: avoid crash in dri_screen_create 2011-08-04 14:09:34 +02:00
getopt getopt: Make code more portable. 2011-01-12 16:54:21 +00:00
glsl glsl: convervative_depth is not allowed in the vertex shader 2011-11-22 20:56:50 +01:00
glu glu: Fix deprecated conversion from string constant to ‘char*’ warning. 2011-11-09 10:24:37 +00:00
glx drisw: Enable SGI_make_current_read for direct contexts 2011-11-01 13:52:48 -04:00
mapi mesa,glsl,mapi: Put extern "C" { ... } where appropriate. 2011-11-09 10:24:37 +00:00
mesa mesa: Make formats.c "datatype" values match glGetTexLevelParameter return. 2011-11-22 13:58:37 -08:00
Makefile
SConscript scons: Unbreak mingw build. 2011-09-20 20:50:48 +01:00