glsl: do not attempt assignment if operand type not parsed correctly
authorTapani Pälli <tapani.palli@intel.com>
Tue, 25 Sep 2018 14:04:40 +0000 (17:04 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Mon, 8 Oct 2018 05:02:50 +0000 (08:02 +0300)
commitd1fa69ed61d5aebeb69ce8a415c098035a953d48
tree2198c6f773d795f5c39d6a92bce9c6188aa76f1f
parentd877451b48a59ab0f9a4210fc736f51da5851c9a
glsl: do not attempt assignment if operand type not parsed correctly

v2: check types of both operands (Ian)

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108012
src/compiler/glsl/ast_to_hir.cpp