mirror of
https://github.com/godotengine/godot.git
synced 2024-11-24 13:12:42 +00:00
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:
parent
e4e024ab88
commit
864d4fb32a
@ -128,7 +128,7 @@ private:
|
||||
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.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_g, h);
|
||||
h = hash_murmur3_one_32(p_val.texture_view.swizzle_b, h);
|
||||
|
Loading…
Reference in New Issue
Block a user