diff options
-rw-r--r-- | glsl_parser_extras.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/glsl_parser_extras.cpp b/glsl_parser_extras.cpp index 88889d59b0..efcb125dfc 100644 --- a/glsl_parser_extras.cpp +++ b/glsl_parser_extras.cpp @@ -761,6 +761,11 @@ main(int argc, char **argv) _mesa_ast_to_hir(&instructions, &state); } else { + /* FINISHME: We should initialize this to the max GLSL version supported + * FINISHME: by the driver. At the moment, we don't know what that is. + */ + state.language_version = 130; + _mesa_glsl_read_ir(&state, &instructions, shader); } |