projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56b8b21
)
Emit a warning when an unknown extension is used with #extension
author
Ian Romanick
<ian.d.romanick@intel.com>
Wed, 7 Apr 2010 21:50:36 +0000
(14:50 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Wed, 7 Apr 2010 23:49:25 +0000
(16:49 -0700)
glsl_parser_extras.cpp
patch
|
blob
|
history
diff --git
a/glsl_parser_extras.cpp
b/glsl_parser_extras.cpp
index de67e849dfa0bfe3ee58d7085bdabc3774a33b9d..8beea55573add74f5ff6bfbb0ba79cd6eba3f7cc 100644
(file)
--- a/
glsl_parser_extras.cpp
+++ b/
glsl_parser_extras.cpp
@@
-130,6
+130,9
@@
_mesa_glsl_process_extension(const char *name, YYLTYPE *name_locp,
_mesa_glsl_error(name_locp, state, "Unknown extension `%s'",
name);
return false;
+ } else {
+ _mesa_glsl_warning(name_locp, state, "Unknown extension `%s'",
+ name);
}
}