Commit c665438
committed
fix: SDSL cache double-check validation
The lazy inner double-check in ShaderLoaderBase.LoadExternalBuffer
skipped ValidateCachedHashes, so when the outer check detected a
source hash mismatch and fell through, the inner check would hit
the same (memory-cached) stale entry and return it unchanged. Now
the inner check also validates hashes.1 parent 3870349 commit c665438
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
0 commit comments