compiler/types: Use right hash for function types
authorCaio Oliveira <caio.oliveira@intel.com>
Fri, 1 Sep 2023 17:14:13 +0000 (10:14 -0700)
committerMarge Bot <emma+marge@anholt.net>
Tue, 12 Sep 2023 23:18:12 +0000 (23:18 +0000)
commit247f940d3735b6532d4487cd7ff8c0729fb9ea37
treebac1f14caa1bcc85964dd2a9d06426e4db8ff29f
parentf1bc58cb7bd7ee5622da2eec47921a5f8548b15c
compiler/types: Use right hash for function types

No bug really materialized since function types
aren't currently being used.

Fixes: 26f456203ca ("compiler/types: Use hash table pre-hashed functions for type caching")
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25160>
src/compiler/glsl_types.cpp