diff options
author | Jason Wood <[email protected]> | 2011-10-06 22:37:48 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2011-10-06 22:39:08 -0700 |
commit | c475a54578bf5473c6c62bc5468ef4fe555164d7 (patch) | |
tree | 4cee6e0af6f7ad8601ef300d7091b840c5825c2a | |
parent | c2244cfa190eca3c0182a9a753dd4eed991df809 (diff) |
glsl: Remove version check when looking for identifiers containing "__".
Signed-off-by: Kenneth Graunke <[email protected]>
-rw-r--r-- | src/glsl/ast_to_hir.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index 4f8a5482bed..70afb67dfc1 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp @@ -2803,8 +2803,7 @@ ast_declarator_list::hir(exec_list *instructions, _mesa_glsl_error(& loc, state, "identifier `%s' uses reserved `gl_' prefix", decl->identifier); - else if (state->language_version >= 130 && - strstr(decl->identifier, "__")) { + else if (strstr(decl->identifier, "__")) { /* From page 14 (page 20 of the PDF) of the GLSL 1.10 * spec: * |