[Mesa-dev] [PATCH 02/14] glsl: Add missing return error_value(ctx) in error path.
Matt Turner
mattst88 at gmail.com
Sat Jun 29 19:43:52 PDT 2013
---
src/glsl/ast_function.cpp | 1 +
1 file changed, 1 insertion(+)
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.
--
1.8.1.5
More information about the mesa-dev
mailing list