[Piglit] [Bug 106052] shader-db crashes when running piglit shaders

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 17 14:05:44 UTC 2018


--- Comment #23 from Ilia Mirkin <imirkin at alum.mit.edu> ---
(In reply to ben at besd.de from comment #20)
> All it takes is
> -   if (consts->GLSLVersion >= 400)
> +   if (consts->GLSLVersion >= 150)
>        extensions->ARB_gpu_shader5 = GL_TRUE;
> and everything is fine (well not everything but that is ;)

You're mixing lots of different concepts.

The GLSL compiler supports a number of GLSL versions (as required by the
standard). Each version has its own features, and ability to be extended by
various extensions.

The *driver* supplies a maximum GLSL version that it supports, above which the
compiler will just error out.

This is all further complicated by compat vs core, in which case some
extensions are not made available, and maximum versions are restricted. Using
version overrides just messes everything up, of course, so any results with
that should be discounted.

Lastly remember that piglit also selects compat vs core depending on the GL
version you request. This also factors into the various test outcomes. Piglit
tests are real GL applications.

You're acting like a developer, so please be succinct and precise in what the
problem is. You're too focused on solutions.

You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20180417/6f992f80/attachment.html>

More information about the Piglit mailing list