glsl: stop processing function parameters if error happened
authorTapani Pälli <tapani.palli@intel.com>
Fri, 27 Mar 2020 07:04:31 +0000 (09:04 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Mon, 13 Apr 2020 12:53:15 +0000 (15:53 +0300)
commit53e4159eaaf692071bf63365eb27a16c97c9a3e5
treed695ee69cc92f3087bc1b236c5a80159bf81b25b
parentfc1068de0d124b746cc85b58564810c5453feee3
glsl: stop processing function parameters if error happened

Fixes: d1fa69ed61d ("glsl: do not attempt assignment if operand type not parsed correctly")
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2696
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4341>
src/compiler/glsl/ast_function.cpp