mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-14 09:18:09 +00:00
fix global vmap baking determinism - eliminate dupes
This commit is contained in:
@@ -3010,7 +3010,7 @@ p2r_convert(Arena *arena, P2R_ConvertParams *params)
|
||||
{
|
||||
for(NamespaceNode *n = all_namespace_slots[slot_idx]; n != 0; n = n->next)
|
||||
{
|
||||
raddbg_log("%S%s\n", n->string, n->corresponds_to_scope ? " (is scope)" : n->type != 0 ? " (is type)" : "");
|
||||
// raddbg_log("%S%s\n", n->string, n->corresponds_to_scope ? " (is scope)" : n->type != 0 ? " (is type)" : "");
|
||||
if(n->corresponds_to_scope || n->scope != 0 || n->type != 0) { continue; }
|
||||
String8 string = n->string;
|
||||
RDIM_Namespace *ns = rdim_namespace_chunk_list_push(arena, &lane_namespaces, 32);
|
||||
|
||||
@@ -486,7 +486,7 @@ rdim_bake(Arena *arena, RDIM_BakeParams *params)
|
||||
{
|
||||
U64 slot_idx = lane_idx()*all_global_variables->chunk_count + chunk_idx;
|
||||
Rng1U64 range = lane_range(n->count);
|
||||
for EachIndex(n_idx, n->count)
|
||||
for EachInRange(n_idx, range)
|
||||
{
|
||||
if(n->v[n_idx].location_cases.count == 1 &&
|
||||
n->v[n_idx].location_cases.first->location.kind == RDI_LocationKind_ModuleOff)
|
||||
|
||||
Reference in New Issue
Block a user