[Piglit] [patch] tex3d-maxsize.c

Marek Olšák maraeo at gmail.com
Wed Nov 24 11:18:02 PST 2010

Looks good, though the OUT_OF_MEMORY check should probably stay in my
opinion, as it's a valid GL error that can be expected in this case, isn't
it? Texture allocations may still fail in DRM and if that happens, NULL is
returned in pipe_screen::resource_create (r300g).


On Wed, Nov 24, 2010 at 7:55 PM, Brian Paul <brianp at vmware.com> wrote:

> Here's a patch for the new tex3d-maxsize test.  The test now uses a proxy
> texture to find the largest working texture size and uses that to render
> something.
> Before if we couldn't create a 3D texture of GL_MAX_3D_TEXTURE_SIZE ^ 3 we
> just gave up.
> -Brian
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20101124/7de62774/attachment.htm>

More information about the Piglit mailing list