glsl/types: Fix function type comparison function
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 13 Jul 2016 21:25:11 +0000 (14:25 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 14 Jul 2016 17:48:11 +0000 (10:48 -0700)
commit11ac1c4dbbc9fc41d163fa4d9a76bb73c3907871
treead8abf704210cbc56ca12a3d42afee6518638a19
parent3db7f3458ffbec51329d66f3bed8a3d8eaf35a3d
glsl/types: Fix function type comparison function

It was returning true if the function types have different lengths rather
than false.  This was new with the SPIR-V to NIR pass and I thought I'd
fixed it a while ago but it may have gotten lost in rebasing somewhere.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
src/compiler/glsl_types.cpp