[Mesa-dev] [PATCH] gl-3.0/api/drawpixels-integer: New test for GL 3.0 integer glDrawPixels.

Brian Paul brianp at vmware.com
Mon Nov 28 07:33:17 PST 2011


On 11/27/2011 07:08 PM, Eric Anholt wrote:
> When the extension was folded in, glDrawPixels of integer formats was
> disallowed.  Disable the GL_EXT_texture_integer if 3.0 is exposed, and
> replace it with a simple "make sure it throws the error" API test.
>
> I think actually the intent was that this is a correction to
> EXT_texture_integer, because I don't see how it was actually supposed
> to work back then (see comment in fbo-integer-precision-drawpixels).
> ---

Here's what I get with the NVIDIA driver:

$ bin/gl-3.0-drawpixels-integer -auto
PIGLIT: {'result': 'pass' }

$ bin/ext_texture_integer-fbo_integer_precision_drawpixels -auto
GL 3.0 obsoletes this test
PIGLIT: {'result': 'skip' }

$ bin/ext_texture_integer-api-drawpixels -auto
See tests/spec/gl-3.0/api/drawpixels-integer.c
PIGLIT: {'result': 'skip' }


Reviewed-by: Brian Paul <brianp at vmware.com>
Tested-by: Brian Paul <brianp at vmware.com>


More information about the mesa-dev mailing list