i965: replace fnv1a hash function with xxhash
authorDmitriy Nester <dmitriynester@gmail.com>
Thu, 27 Feb 2020 13:28:50 +0000 (15:28 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 25 May 2020 19:41:09 +0000 (19:41 +0000)
commit013df5849897e71f62a0df12691f19f0d56cbdf3
tree088e763d31e78d6731eedc3142bb10fd326960a0
parentedd62619a1c455226a5bc972b024ea77debecfa5
i965: 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/mesa/drivers/dri/i965/brw_program_cache.c