[Piglit] [PATCH 2/2] arb_direct_state_access: New test for glGetTextureImage.

Laura Ekstrand laura at jlekstrand.net
Mon Feb 16 13:36:26 PST 2015


Ah, crap, I forgot.  Here is the fixed version:
http://cgit.freedesktop.org/~ldeks/piglit/commit/?h=adsa-framebuffers&id=2ad76a9edcc564f5bedead5e519167a2eb862471



On Mon, Feb 16, 2015 at 1:03 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:

> On Mon, Feb 16, 2015 at 3:38 PM, Laura Ekstrand <laura at jlekstrand.net>
> wrote:
> > +enum piglit_result
> > +piglit_display(void)
> > +{
> > +       int i;
> > +
> > +       for (i = 0; i < 2; ++i) {
> > +               upload_subtest(GL_TEXTURE_1D, (bool) i);
> > +               upload_subtest(GL_TEXTURE_1D_ARRAY, (bool) i);
>
> Doesn't 1D_ARRAY also fall into GL_EXT_texture_array?
>
> > +               upload_subtest(GL_TEXTURE_2D, (bool) i);
> > +               upload_subtest(GL_TEXTURE_3D, (bool) i);
> > +               if
> (piglit_is_extension_supported("GL_ARB_texture_rectangle"))
> > +                       upload_subtest(GL_TEXTURE_RECTANGLE, (bool) i);
> > +               if
> (piglit_is_extension_supported("GL_EXT_texture_array"))
> > +                       upload_subtest(GL_TEXTURE_2D_ARRAY, (bool) i);
> > +               if
> (piglit_is_extension_supported("GL_ARB_texture_cube_map"))
> > +                       upload_subtest(GL_TEXTURE_CUBE_MAP, (bool) i);
> > +               if (piglit_is_extension_supported(
> > +                               "GL_ARB_texture_cube_map_array"))
> > +                       upload_subtest(GL_TEXTURE_CUBE_MAP_ARRAY, (bool)
> i);
> > +       }
> > +
> > +
> > +       return pass ? PIGLIT_PASS : PIGLIT_FAIL;
> > +}
> > --
> > 2.1.0
> >
> > _______________________________________________
> > 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/20150216/3d48fd9b/attachment.html>


More information about the Piglit mailing list