Skip to content

Some tests fail under mesa, need to ask for GL core context for GLSL 1.50 support #64

Open
@stuaxo

Description

@stuaxo

Using pull request #63 I was able to build in Linux, some of the tests fail under mesa -

test array-globalconst-init-in.txt
  glsl compile error:
0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES

Mesa does support GLSL 1.50, but you need to ask for a core context, if you use the workaround of overridding the GL version, they all pass -

MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 ./hlsl2glsltest ../tests/

The solution is that the tests need to ask for the right version by setting the correct window hints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions