[Piglit] running piglit tests with gl_version > 31

Tapani Pälli tapani.palli at intel.com
Mon Jun 9 22:42:26 PDT 2014

On 06/09/2014 05:44 PM, Ilia Mirkin wrote:
> On Mon, Jun 9, 2014 at 5:58 AM, Tapani Pälli <tapani.palli at intel.com> wrote:
>> Hi;
>> I'm running Piglit tests on SNB machine and many of the tests crash like
>> this:
>> [tpalli at localhost piglit]$ /home/tpalli/sc/fdo/piglit/bin/textureGather
>> fs offsets rg 1 int 2DArray repeat -fbo -auto
>> textureGather:
>> /home/tpalli/sc/fdo/piglit/tests/util/piglit-framework-gl/piglit_wfl_framework.c:371:
>> special_case_gl_31: Assertion `gl_version >= 31' failed.
>> The assert happens because the build is Debug build. With a Release
>> build I get:
>> [tpalli at localhost piglit]$ /home/tpalli/sc/fdo/piglit/bin/textureGather
>> fs offsets rg 1 int 2DArray repeat -fbo -auto
>> Mesa: User error: GL_INVALID_ENUM in glGetString(GL_EXTENSIONS)
>> Segmentation fault (core dumped)
>> Because it is using the old extensions query (new one would not work
>> either though). According to logging what I really have is a Opengl 2.1
>> context with core profile) but I wanted to ask first if anyone else saw
> I didn't think you could have GL2.1 + Core -- that's probably why the
> assert is failing. Most likely you built mesa without
> --enable-texture-float (which is required for 3.0+), but that still
> shouldn't be happening...

I don't have '--enable-texture-float', I've just tested by enabling it
when configuring Mesa but it does not seem to change this though. The
version string piglit_get_gl_version() gets from Mesa is "2.1 (Core
Profile) Mesa 10.3.0-devel (git-8e115b0)". This leads to some madness as
both of the extension query versions fail, new and the old one :) Will
try to figure out more how this happens.

>> this before or could it be that something is just wrong with my setup
>> here? I'm not giving any special build options and I'm running against
>> current Mesa master.
>> Thanks;
>> // Tapani
>> _______________________________________________
>> Piglit mailing list
>> Piglit at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/piglit

More information about the Piglit mailing list