glsl/standalone: Enable GLSL 4.00 through 4.50
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 15 Sep 2016 18:16:02 +0000 (11:16 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 27 Sep 2016 19:06:46 +0000 (12:06 -0700)
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/standalone.cpp

index a7e625489f387389385b9606620bc89e70a9c2f1..6b1c2cec8498875bd9c875f18af53a5123b2a431 100644 (file)
@@ -153,6 +153,12 @@ initialize_context(struct gl_context *ctx, gl_api api)
       break;
    case 150:
    case 330:
+   case 400:
+   case 410:
+   case 420:
+   case 430:
+   case 440:
+   case 450:
       ctx->Const.MaxClipPlanes = 8;
       ctx->Const.MaxDrawBuffers = 8;
       ctx->Const.MinProgramTexelOffset = -8;
@@ -324,6 +330,12 @@ standalone_compile_shader(const struct standalone_options *_options,
    case 140:
    case 150:
    case 330:
+   case 400:
+   case 410:
+   case 420:
+   case 430:
+   case 440:
+   case 450:
       glsl_es = false;
       break;
    default: