mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
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>
This commit is contained in:
parent
e117eda251
commit
9749d96817
1 changed files with 1 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue