Fix hash calculation for NTSliceKey

A bug was introduced from 057367bf by adding FSR 2.2.1 support.
Which increases hash collision and hurts performance.
This commit is contained in:
Jiang Yiheng 2024-09-22 21:08:18 +08:00
parent e4e024ab88
commit 864d4fb32a
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ private:
h = hash_murmur3_one_32(p_val.layers, h); h = hash_murmur3_one_32(p_val.layers, h);
h = hash_murmur3_one_32(p_val.mipmap, h); h = hash_murmur3_one_32(p_val.mipmap, h);
h = hash_murmur3_one_32(p_val.mipmaps, h); h = hash_murmur3_one_32(p_val.mipmaps, h);
h = hash_murmur3_one_32(p_val.texture_view.format_override); h = hash_murmur3_one_32(p_val.texture_view.format_override, h);
h = hash_murmur3_one_32(p_val.texture_view.swizzle_r, h); h = hash_murmur3_one_32(p_val.texture_view.swizzle_r, h);
h = hash_murmur3_one_32(p_val.texture_view.swizzle_g, h); h = hash_murmur3_one_32(p_val.texture_view.swizzle_g, h);
h = hash_murmur3_one_32(p_val.texture_view.swizzle_b, h); h = hash_murmur3_one_32(p_val.texture_view.swizzle_b, h);