fix incorrect work happening w/ subsets turned off for psym generation

This commit is contained in:
Ryan Fleury committed 2026-06-19 12:37:43 -07:00
1 parent 66bca76edd
commit 3b22b1f13e
2 files changed
+7 -3

No files matched your search

+1 -1
View File
@@ -1623,7 +1623,7 @@ RDI_PROC RDI_U32
rdim_bake_idx_from_idx_run(RDIM_BakeIdxRunMap *map, RDI_U32 *idxes, RDI_U32 count)
{
RDI_U32 idx = 0;
if(count != 0)
if(count != 0 && map->slots_count != 0)
{
RDI_U64 hash = rdim_hash_from_idx_run(idxes, count);
RDI_U64 slot_idx = hash%map->slots_count;