Textures: fingerprint all of a texture for heap rechecks (VICTORY_FULL_FINGERPRINT=1) #2104
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2104"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-11-29T09:32:56Z.
Adds
VICTORY_FULL_FINGERPRINT=1, off by default.The heap recheck fingerprints a texture from three 16 KiB windows: the start, where the small mip levels lie, and two pieces of the largest level. Two textures of one size whose small levels match and whose largest level differs outside those windows print the same. That happens when a streamer puts another variant of a texture in the same pages, or writes the largest level again in place, and the recheck then keeps the old upload.
With the switch on,
fingerprinthashes all of the texture's memory in 1 MiB pieces. It costs more reads per recheck, so it stays opt-in for titles that show this.