zink: replace fnv1a hash function with xxhash
authorDmitriy Nester <dmitriynester@gmail.com>
Thu, 27 Feb 2020 13:38:45 +0000 (15:38 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 25 May 2020 19:41:09 +0000 (19:41 +0000)
commitbf4d652f3f44da7837d5ca7c514533bf8661e31e
tree514f47b445edc86f26f0f5894d7fe4dd08e85e66
parent33fd35e2d30f7f31a9ce465ee79d8a874355c774
zink: replace fnv1a hash function with xxhash

xxhash is faster than fnv1a in almost all circumstances, so we're
switching to it globally.

Signed-off-by: Dmytro Nester <dmytro.nester@globallogic.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4020>
src/gallium/drivers/zink/nir_to_spirv/spirv_builder.c