projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e117eda
)
glsl: Add missing return error_value(ctx) in error path.
author
Matt Turner
<mattst88@gmail.com>
Sat, 29 Jun 2013 22:32:09 +0000
(15:32 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Fri, 12 Jul 2013 03:58:58 +0000
(20:58 -0700)
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Ian Romanick <ian.d.romainck@intel.com>
src/glsl/ast_function.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ast_function.cpp
b/src/glsl/ast_function.cpp
index 00e0c05dddc0523088edc05935cec83c444fb0aa..086023854349385113d7d3e8f80d3c69c9352f8c 100644
(file)
--- a/
src/glsl/ast_function.cpp
+++ b/
src/glsl/ast_function.cpp
@@
-690,6
+690,7
@@
process_array_constructor(exec_list *instructions,
"expected: %s, found %s",
constructor_type->element_type()->name,
result->type->name);
+ return ir_rvalue::error_value(ctx);
}
/* Attempt to convert the parameter to a constant valued expression.