diff options
author | Ian Romanick <[email protected]> | 2016-09-15 11:16:02 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2016-09-27 12:06:46 -0700 |
commit | 5f7f7d582b1d6d3696506250743fd3f6be3277b8 (patch) | |
tree | 56266874994e9f3379f44d2eec79a8e13afc2fd7 /src/compiler/glsl/standalone.cpp | |
parent | 798d1b8816fed0a88674c6d89d56e478519a5a55 (diff) |
glsl/standalone: Enable GLSL 4.00 through 4.50
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/glsl/standalone.cpp')
-rw-r--r-- | src/compiler/glsl/standalone.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/compiler/glsl/standalone.cpp b/src/compiler/glsl/standalone.cpp index a7e625489f3..6b1c2cec849 100644 --- a/src/compiler/glsl/standalone.cpp +++ b/src/compiler/glsl/standalone.cpp @@ -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: |