VideoCommon: Use XXH3 Instead of XXH64

This commit is contained in:
¥IGA 2025-02-16 18:37:50 +01:00 committed by GitHub
parent 5acbdf730a
commit 800153d704
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -180,8 +180,8 @@ TextureInfo::NameDetails TextureInfo::CalculateTextureName() const
DEBUG_ASSERT(tlut_size <= m_palette_size.value_or(0));
const u64 tex_hash = XXH64(m_ptr, m_texture_size, 0);
const u64 tlut_hash = tlut_size ? XXH64(tlut, tlut_size, 0) : 0;
const u64 tex_hash = XXH3_64bits(m_ptr, m_texture_size);
const u64 tlut_hash = tlut_size ? XXH3_64bits(tlut, tlut_size) : 0;
NameDetails result;
result.base_name = fmt::format("{}{}x{}{}", format_prefix, m_raw_width, m_raw_height,