diff options
author | Eric Anholt <[email protected]> | 2012-03-08 13:49:15 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-03-15 08:33:54 -0700 |
commit | c5ff9a8b9e3cafb3764e620add2900656c59606b (patch) | |
tree | a2f52e99c78adbb65191463547f7354f87910170 /src/glsl/linker.cpp | |
parent | ac5a5b324335195b5a5ed98775ce442c573e7e1d (diff) |
glsl: Hook up the current GLSL 1.30 types and builtins for 1.40.
This gets a basic #version 140 shader compiling.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/linker.cpp')
-rw-r--r-- | src/glsl/linker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp index 82bddb003c3..39169aa10ff 100644 --- a/src/glsl/linker.cpp +++ b/src/glsl/linker.cpp @@ -2175,7 +2175,7 @@ link_shaders(struct gl_context *ctx, struct gl_shader_program *prog) * of all shaders must match. */ assert(min_version >= 100); - assert(max_version <= 130); + assert(max_version <= 140); if ((max_version >= 130 || min_version == 100) && min_version != max_version) { linker_error(prog, "all shaders must use same shading " |