key_hash(const void *_key)
{
const struct fd6_texture_key *key = _key;
- uint32_t hash = _mesa_fnv32_1a_offset_bias;
- hash = _mesa_fnv32_1a_accumulate_block(hash, key, sizeof(*key));
- return hash;
+ return XXH32(key, sizeof(*key), 0);
}
static bool