[Mesa-dev] [PATCH] glsl: allow ForceGLSLVersion to override #version directives

Ilia Mirkin imirkin at alum.mit.edu
Fri Mar 27 11:49:30 PDT 2015


On Fri, Mar 27, 2015 at 2:44 PM, Brian Paul <brianp at vmware.com> wrote:
>
> The Geeks3d GpuTest GiMark test for Windows has several shaders with
> #version 330 that don't actually use any 3.30 features.  Other shaders in
> the test use #version 130.  Furthermore, when a context is created, only a
> 3.0 context is requested.  We don't support GL 3.0 w/ 3.30 shaders but if I
> override the #version 330 with 130 then everything works fine.

That's incredibly annoying. Well your patch looks like it'll work as
advertised, so

Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

But perhaps leave it on the list for a bit in case there are
dissenting opinions on the actual functionality?

  -ilia


More information about the mesa-dev mailing list