From 800153d704087bbd54ce62dfc0a8d45700ec5d2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=A5IGA?= <164882787+Xphalnos@users.noreply.github.com> Date: Sun, 16 Feb 2025 18:37:50 +0100 Subject: [PATCH] VideoCommon: Use XXH3 Instead of XXH64 --- Source/Core/VideoCommon/TextureInfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/VideoCommon/TextureInfo.cpp b/Source/Core/VideoCommon/TextureInfo.cpp index 5ee23f3671..853b538cfd 100644 --- a/Source/Core/VideoCommon/TextureInfo.cpp +++ b/Source/Core/VideoCommon/TextureInfo.cpp @@ -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,