Chromium Code Reviews
DescriptionAdd SHA1 data checksum to on-disk shader cache
Previously, the on-disk cache was stored with a SHA1 hash of a number
of common peices of system info, such as GL Vendor, OS version, etc...
This change adds the actual data being stored to the SHA1, which should
protect against corruption on disk.
BUG=658779
Review-Url: https://codereview.chromium.org/2638933003
Cr-Commit-Position: refs/heads/master@{#444802}
Committed: https://chromium.googlesource.com/chromium/src/+/5c34fe289869ccd38b3cf39add76b00e2c51cb97
Patch Set 1 #Patch Set 2 : nit remove braces #
Total comments: 2
Patch Set 3 : Add a histogram to track shader load prefix mismatches. #
Total comments: 2
Patch Set 4 : add histogram enum #
Messages
Total messages: 23 (14 generated)
|
|||||||||||||||||||||||||||||||||||||