projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0efd25b
)
glsl: silence a problem warning
author
Brian Paul
<brianp@vmware.com>
Thu, 25 Jun 2009 17:52:37 +0000
(11:52 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 26 Jun 2009 19:16:34 +0000
(13:16 -0600)
src/mesa/shader/slang/slang_codegen.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_codegen.c
b/src/mesa/shader/slang/slang_codegen.c
index 0d72f4e5dc2c2825681ab5ee41c5d7b84b3257dd..0339cac31d04b23452d16b21215286966a6ba903 100644
(file)
--- a/
src/mesa/shader/slang/slang_codegen.c
+++ b/
src/mesa/shader/slang/slang_codegen.c
@@
-1038,7
+1038,8
@@
slang_substitute(slang_assemble_ctx *A, slang_operation *oper,
GLuint i;
v = _slang_variable_locate(oper->locals, id, GL_TRUE);
if (!v) {
- _mesa_problem(NULL, "var %s not found!\n", (char *) oper->a_id);
+ if (_mesa_strcmp((char *) oper->a_id, "__returnFlag"))
+ _mesa_problem(NULL, "var %s not found!\n", (char *) oper->a_id);
return;
}