diff options
author | Matt Turner <mattst88@gmail.com> | 2013-06-29 15:32:09 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2013-07-11 20:58:58 -0700 |
commit | 9749d96817d9ab98567155dd3598163a7fbf6cb3 (patch) | |
tree | f12108a8bb0f2833325b2b231d59cdc43c31db81 /src/glsl | |
parent | e117eda2518fe8318cd331fa32bfcbd3acc1e070 (diff) | |
download | external_mesa3d-9749d96817d9ab98567155dd3598163a7fbf6cb3.zip external_mesa3d-9749d96817d9ab98567155dd3598163a7fbf6cb3.tar.gz external_mesa3d-9749d96817d9ab98567155dd3598163a7fbf6cb3.tar.bz2 |
glsl: Add missing return error_value(ctx) in error path.
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Ian Romanick <ian.d.romainck@intel.com>
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/ast_function.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ast_function.cpp b/src/glsl/ast_function.cpp index 00e0c05..0860238 100644 --- 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. |