Mesa (master): glsl: remove redudant assignment
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun Apr 12 15:54:18 UTC 2020
Module: Mesa
Branch: master
Commit: e2457bedd389c6799fe99b1e0d6ade36b763c6c3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e2457bedd389c6799fe99b1e0d6ade36b763c6c3
Author: Tapani Pälli <tapani.palli at intel.com>
Date: Thu Apr 9 10:47:54 2020 +0300
glsl: remove redudant assignment
CID: 1461087
Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Andres Gomez <agomez at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4500>
---
src/compiler/glsl/ast_to_hir.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/compiler/glsl/ast_to_hir.cpp b/src/compiler/glsl/ast_to_hir.cpp
index a66ed5ec52b..b5b0a509ea1 100644
--- a/src/compiler/glsl/ast_to_hir.cpp
+++ b/src/compiler/glsl/ast_to_hir.cpp
@@ -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;
}
More information about the mesa-commit
mailing list