mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-14 21:09:41 -07:00
fix source of vmap baking determinism issue, + fix use-after-free from cross-lane scratch usage
This commit is contained in:
1 parent
43c3d5e348
commit
16ea060382
2 files changed
+3
-2
No files matched your search
@@ -881,7 +881,7 @@ rdim_bake(Arena *arena, RDIM_BakeParams *params)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
lane_sync();
|
||||
scratch_end(scratch);
|
||||
}
|
||||
lane_sync();
|
||||
@@ -3202,7 +3202,7 @@ rdim_bake(Arena *arena, RDIM_BakeParams *params)
|
||||
for EachNode(case_n, RDIM_LocationCase, s->location_cases.first)
|
||||
{
|
||||
lane_chunk_constant_data_counts[slot_idx] += case_n->location.value_data.size;
|
||||
lane_chunk_bytecode_data_counts[slot_idx] += case_n->location.bytecode.encoded_size;
|
||||
lane_chunk_bytecode_data_counts[slot_idx] += case_n->location.bytecode.encoded_size + 1; // NOTE(rjf): +1 for the `stop` op
|
||||
}
|
||||
}
|
||||
chunk_idx += 1;
|
||||
|
||||
Reference in new issue
Block a user