Commit 06c9f89
Fix Bvh::optimize_incremental non-determinism (#403)
* Fix Bvh::optimize_incremental being non-deterministic when restored from a serialized snapshot, due to significant state being stored in BvhWorkspace which cannot be serialized (#402)
* Fix typo in BvhIncrementalOptimizationState description (#403)
* chore: add comment for the new optimization field
* cargo fmt
---------
Co-authored-by: Sébastien Crozet <sebcrozet@dimforge.com>1 parent 72f842d commit 06c9f89
2 files changed
Lines changed: 23 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
244 | | - | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
245 | 246 | | |
246 | 247 | | |
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
250 | 251 | | |
251 | | - | |
| 252 | + | |
252 | 253 | | |
253 | 254 | | |
254 | 255 | | |
| |||
266 | 267 | | |
267 | 268 | | |
268 | 269 | | |
269 | | - | |
| 270 | + | |
270 | 271 | | |
271 | 272 | | |
272 | 273 | | |
| |||
522 | 523 | | |
523 | 524 | | |
524 | 525 | | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
525 | 539 | | |
526 | 540 | | |
527 | 541 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
139 | | - | |
140 | | - | |
141 | 140 | | |
142 | 141 | | |
143 | 142 | | |
| |||
1752 | 1751 | | |
1753 | 1752 | | |
1754 | 1753 | | |
| 1754 | + | |
| 1755 | + | |
| 1756 | + | |
1755 | 1757 | | |
1756 | 1758 | | |
1757 | 1759 | | |
| |||
2186 | 2188 | | |
2187 | 2189 | | |
2188 | 2190 | | |
| 2191 | + | |
2189 | 2192 | | |
2190 | 2193 | | |
2191 | 2194 | | |
| |||
0 commit comments