Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libobs-d3d11: Add checksum to shader cache
A few reports came in of cache files with the correct size but full of null bytes, presumably from a system crash and an SSD lying about buffer flushes. This commit adds a checksum at the end of the compiled bytecode so we don't try to use invalid data. Co-Authored-By: derrod <dennis@obsproject.com>
- Loading branch information
Showing
1 changed file
with
61 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters