mesa: It is not possible to have GLSL < 1.20
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 13 Nov 2013 22:27:11 +0000 (14:27 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 21 Dec 2013 00:43:08 +0000 (16:43 -0800)
This hasn't been possible for a long time.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/getstring.c
src/mesa/main/version.c

index d8189115adcc79c3d119a91516f71b740428149d..b66e24788a480b984d6c27732eefe3178dc81fdf 100644 (file)
@@ -42,8 +42,6 @@ shading_language_version(struct gl_context *ctx)
    case API_OPENGL_COMPAT:
    case API_OPENGL_CORE:
       switch (ctx->Const.GLSLVersion) {
-      case 110:
-         return (const GLubyte *) "1.10";
       case 120:
          return (const GLubyte *) "1.20";
       case 130:
index 55411faf8c5a3312ef3c3ae8a9fcda76c2be9599..00eeca764cbc5d7f2c437bdad9452a8aa7cb7ca5 100644 (file)
@@ -224,7 +224,6 @@ compute_version(struct gl_context *ctx)
                              (ctx->Extensions.EXT_stencil_two_side
                               || ctx->Extensions.ATI_separate_stencil));
    const GLboolean ver_2_1 = (ver_2_0 &&
-                              ctx->Const.GLSLVersion >= 120 &&
                               ctx->Extensions.EXT_pixel_buffer_object &&
                               ctx->Extensions.EXT_texture_sRGB);
    const GLboolean ver_3_0 = (ver_2_1 &&