glsl/types: Use _mesa_hash_data for hashing function types
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 13 Jul 2016 21:26:50 +0000 (14:26 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 14 Jul 2016 17:48:25 +0000 (10:48 -0700)
commitb919100d6101c0bd7e15a187968af9a36b49e6de
treec310b05da964815c18524c142e65d5db574123f5
parent11ac1c4dbbc9fc41d163fa4d9a76bb73c3907871
glsl/types: Use _mesa_hash_data for hashing function types

This is way better than the stupid string approach especially since you
could overflow the string.  Again, I thought I had something better at one
point but it obviously got lost.

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