commit | da9c0307637b630a8178a8169ee5ede108a77a81 | [log] [tgz] |
---|---|---|
author | Oscar Blumberg <carnaval@12-10e.me> | Mon Feb 11 17:46:20 2019 +0100 |
committer | Tapani Pälli <tapani.palli@intel.com> | Mon Feb 25 08:49:06 2019 +0200 |
tree | 5829ef4356403ccff76e98094b40ed80e4127be0 | |
parent | bd0ad651e0e99898ef46cb9b73e37de9f6904cb4 [diff] |
glsl: Fix function return typechecking apply_implicit_conversion only converts and check base types but we need actual type equality for function returns, otherwise you can return a vec2 from a function declared as returning a float. Reviewed-by: Tapani Pälli <tapani.palli@intel.com>