Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly request a context version. #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Explicitly request a context version. #66

wants to merge 1 commit into from

Conversation

computerquip
Copy link
Contributor

Mesa doesn't default to the latest context. We can either make a context, test GL_VERSION, and parse the result... or just use GLEW and test versions until we get a minimum of each level we need for a given GLSL version.

Alternatively, we can get rid of freeglut and create a GLX/Xlib context with pixmap. I don't really think it's worth the trouble though...

The code looks odd but it's easy to explain. glewInit is below of freeglut window initialization because glew requires a context to work. This context isn't created in glutInit but glutCreateWindow. We also have no way to create a context with the desired settings... so we create a dummy context to fetch capabilities, set the capabilities, destroy the dummy context/window, and create a new context/window with desired settings. A core profile is required because Mesa does not support ARB_compatibility.

Mesa doesn't support ARB_compatibility. It also doesn't default to the latest context. We can either make a context and test GL_VERSION... or just try to make contexts until we get one we can use.
@stuaxo
Copy link

stuaxo commented Aug 7, 2015

Tried checking out pr/66 and got a similar error

TESTING vertex...
test z-treeleaf-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

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

test decl-multiple-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

test funccalls2-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

test struct-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

test z-mia-lightmap-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

test global-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

test in-struct-dupe-sem-ret-struct-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

test token-pasting-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

test z-mia-rt-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

test in-struct-ret-struct-struct-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

test z-collectshadows-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

test basic-mul-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

test qualifiers-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

test index-matrix-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

test MF-GodRays-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

test funccalls-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

test const-arg-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

test z-WaterDisplRefr-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

test in-struct-ret-struct-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

test types-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

test if-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

test sampler2dshadow-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

test reserved-names-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

test z-particle-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

test z-ogre-grass2-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

test loops-for-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

test psize-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

test dupe-sem-name-mapping-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

test in-vals-ret-vals-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

test const-main-arg-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

test z-flare-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

test z-prepasslight-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

test const-expr-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

test return-struct-of-struct-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

test systemvals-in.txt
  glsl compile error:
0:2(12): error: extension `GL_EXT_gpu_shader4' unsupported in vertex shader

test dupe-sem-name-s-in-s-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

test in-vals-ret-struct-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

test funccalls3-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

test tex2dlod-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

test in-struct-ret-vals-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

test construct-matrix-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

test z-ogre-grass1-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

test loops-forvarious-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

test nestedscope-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

test loops-formultiple-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

test const-expr-arraysize-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

test z-ogre-pssm-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

TESTING fragment...
test z-fxaa-preset3-in.txt
  glsl compile error:
0:14(1): error: #extension directive is not allowed in the middle of a shader

test z-treeleaf-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

test z-SurfaceMutableUniform-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

test mrt-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

test pp-macro-with-arg-as-macro-arg-in.txt
test pp-line-directive-filename-in.txt
test z-fxaa3-11-consolepc-in.txt
  glsl compile error:
0:14(1): error: #extension directive is not allowed in the middle of a shader

test pp-tokenpaste-in.txt
test z-MotionBlur-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

test z-mia-lightmap-in.txt
  glsl compile error:
0:14(1): error: #extension directive is not allowed in the middle of a shader

test pp-after-block-comment-in.txt
test pp-concat-operator-stacked-override-in.txt
test z-mia-rt-in.txt
  glsl compile error:
0:14(1): error: #extension directive is not allowed in the middle of a shader

test tex2d-func-call-in.txt
  glsl compile error:
0:14(1): error: #extension directive is not allowed in the middle of a shader

test pp-pragma-directive-line-break-in.txt
test pp-line-directive-whitespace-filename-in.txt
test z-collectshadows-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

test texture-samplers-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

test uniforms-mutable-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

test z-ogre-radialblur-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

test pp-macro-arg-in.txt
test pp-concat-operator-define-override-in.txt
test pp-concat-operator-basic-in.txt
test const-global-matrix-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

test fragdepth-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

test z-treeleafloop-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

test z-ssao-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

test pp-macro-multi-args-with-whitespace-in.txt
test vpos-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

test z-WaterDisplRefr-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

test pos-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

test overloading-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

test const-float-from-int-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

test pp-linenumbers1-in.txt
test const-matrix-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

test pp-concat-operator-ignore-non-args-in.txt
test pp-macro-blank-arg-in.txt
test intrinsics-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

test array-unsized-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

test pp-elif-after-macro-in.txt
test pp-macro-args-with-whitespace-in.txt
test z-skin-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

test sampler2dshadow-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

test framebuffer_fetch-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

test ternary-vec4-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

test pp-if-with-embedded-parens-in.txt
test const-var-from-var-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

test pp-include-in.txt
test sv_target-works-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

test z-particle-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

test const-var-from-function-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

test pp-macro-arg-overrides-define-in.txt
test z-ogre-grass2-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

test array-const-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

test pp-macro-void-arg-in.txt
test pp-macro-paren-stacking-in.txt
test pp-macro-args-in.txt
test pp-macro-continuation-in.txt
test matrix-ops-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

test in-vals-ret-vals-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

test uniforms-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

test z-flare-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

test pp-nested-macro-args-in.txt
test z-prepasslight-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

test pp-macro-1-arg-accepts-void-in.txt
test texture-ops-in.txt
  glsl compile error:
0:14(1): error: #extension directive is not allowed in the middle of a shader

test ternary-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

test pp-line-macro-in.txt
test array-constconst-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

test pp-concat-operator-multiple-in.txt
test z-fxaa-preset1-in.txt
  glsl compile error:
0:14(1): error: #extension directive is not allowed in the middle of a shader

test pp-macro-empty-arg-in.txt
test pp-empty-macro-with-arg-in.txt
test z-fxaa3-11-pc39-in.txt
  glsl compile error:
0:14(1): error: #extension directive is not allowed in the middle of a shader

test vface-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

test tex2dlod-in.txt
  glsl compile error:
0:14(1): error: #extension directive is not allowed in the middle of a shader

test z-MotionBlurNeighborMax-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

test in-struct-ret-vals-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

test syntax-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

test z-ogre-grass1-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

test basic-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

test const-var-from-struct-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

test pp-linenumbers2-in.txt
test varyings-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

test pp-macro-longarg-in.txt
test loops-empty-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

test pp-complex1-in.txt
test samplerstate-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

test pp-complex2-in.txt
test derivatives-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

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

test arrays-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

test pp-elif-after-macro-with-args-in.txt
test pp-line-directive-no-filename-in.txt
test pos-unused-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

test z-ogre-pssm-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

TESTING combined...
test index-matrix-assignment-in.txt
  glsl compile error:
0:3(12): error: extension `GL_EXT_gpu_shader4' unsupported in vertex shader

  glsl compile error:
0:2(12): error: extension `GL_EXT_gpu_shader4' unsupported in fragment shader

TESTING vertex-120...
test global-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

test const-expr-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

TESTING fragment-120...
test decl-multiple-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

test array-unsized-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

test const-var-from-function-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

test uniforms-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

test matrix-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

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

TESTING vertex-failures...
test qualifiers-in.txt
test array-size-in.txt
test multiple-file-lines-in.txt
test missing-field-selection-no-assert-in.txt
test nested-unknown-types-in.txt
test error-lines-in.txt
test undefined-type-in.txt
test no-entry-point-in.txt
test const-expr-arraysize-in.txt
TESTING fragment-failures...
test pp-if-nonclosed-in.txt
test pp-undef-empty-in.txt
test ops-shiftbitwise-in.txt
test matrixnonsquare-in.txt
test pp-undef-filetwice-in.txt
test pp-else-error-in.txt
test pp-redefinition-in.txt
test pp-undef-file-in.txt
test pp-undef-line-in.txt
test pp-redefinitionline-in.txt
test non-matching-type-init-in.txt
test pp-ifdef-error-in.txt
test unknown-out-semantics-in.txt
test matrix-in.txt
test pp-too-many-macro-args-in.txt
test pp-redefinitionfile-in.txt
test pp-if-error-in.txt
179 tests, 118 FAILED, 0.90s

@computerquip
Copy link
Contributor Author

I might of misunderstood how FreeGLUT would react to this patch. I'll look into it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants