glsl: remove redudant assignment
CID: 1461087 Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Andres Gomez <agomez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4500>
This commit is contained in:
@@ -1690,7 +1690,6 @@ ast_expression::do_hir(exec_list *instructions,
|
||||
/* Break out if operand types were not parsed successfully. */
|
||||
if ((op[0]->type == glsl_type::error_type ||
|
||||
op[1]->type == glsl_type::error_type)) {
|
||||
type = glsl_type::error_type;
|
||||
error_emitted = true;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user