Commit 5617e92
committed
Fix scene cache output determinism
Two of our structures had uninitialized padding space; as a result, some
of the data that we were writing to scene cache would have uninitialized
bytes which meant the cache was not reproducible run to run.
The padding amount would be conditional on the contents of the rest of
the structure, so this is not ideal for maintenance but for now this
fixes the problem and makes it easier to debug.1 parent ac8037e commit 5617e92
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
| 78 | + | |
| 79 | + | |
76 | 80 | | |
77 | 81 | | |
78 | 82 | | |
| |||
0 commit comments