[Piglit] [PATCH 0/5] Enable shader tests to run on 3.1 without GL_ARB_compatibility

Ian Romanick idr at freedesktop.org
Tue Nov 13 17:00:17 PST 2012


Right now Mesa and Apple only expose GL versions > 3.0 without the
GL_ARB_compatilibity extension.  This means that applications that
want, say, OpenGL 3.1 so that they can test GLSL 1.40 have to
specifically ask for OpenGL 3.1.  This series modifies shader_runner
and glslparser test to request a versioned context when the test
requirements make that necessary.

As a result, the GLSL 1.40 tests actually run against Mesa in a
default piglit run.  This may require either updated xserver bits (so
that GLX_ARB_create_context is available) or running with
PIGLIT_PLATFORM=x11_egl.  This adds 111 tests to the run.




More information about the Piglit mailing list