mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
VideoCommon: Use XXH3 Instead of XXH64
This commit is contained in:
parent
5acbdf730a
commit
800153d704
1 changed files with 2 additions and 2 deletions
|
@ -180,8 +180,8 @@ TextureInfo::NameDetails TextureInfo::CalculateTextureName() const
|
||||||
|
|
||||||
DEBUG_ASSERT(tlut_size <= m_palette_size.value_or(0));
|
DEBUG_ASSERT(tlut_size <= m_palette_size.value_or(0));
|
||||||
|
|
||||||
const u64 tex_hash = XXH64(m_ptr, m_texture_size, 0);
|
const u64 tex_hash = XXH3_64bits(m_ptr, m_texture_size);
|
||||||
const u64 tlut_hash = tlut_size ? XXH64(tlut, tlut_size, 0) : 0;
|
const u64 tlut_hash = tlut_size ? XXH3_64bits(tlut, tlut_size) : 0;
|
||||||
|
|
||||||
NameDetails result;
|
NameDetails result;
|
||||||
result.base_name = fmt::format("{}{}x{}{}", format_prefix, m_raw_width, m_raw_height,
|
result.base_name = fmt::format("{}{}x{}{}", format_prefix, m_raw_width, m_raw_height,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue