diff options
author | Oscar Blumberg <[email protected]> | 2019-02-11 17:46:20 +0100 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2019-02-25 08:49:06 +0200 |
commit | da9c0307637b630a8178a8169ee5ede108a77a81 (patch) | |
tree | 5829ef4356403ccff76e98094b40ed80e4127be0 /src/mesa/main/state.c | |
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 <[email protected]>
Diffstat (limited to 'src/mesa/main/state.c')
0 files changed, 0 insertions, 0 deletions