mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-14 12:59:41 -07:00
mask off more work based on subset flags from baker
This commit is contained in:
1 parent
d9d321c074
commit
25beda50ca
3 files changed
+26
-9
No files matched your search
@@ -1212,7 +1212,9 @@ rdim_bake(Arena *arena, RDIM_BakeParams *params)
|
||||
//////////////////////////////////////////////////////////////
|
||||
//- rjf: @rdim_bake_stage build index runs
|
||||
//
|
||||
ProfScope("build index runs")
|
||||
B32 need_index_runs = (!!(params->subset_flags & RDIM_SubsetFlag_NameMaps) ||
|
||||
!!(params->subset_flags & RDIM_SubsetFlag_Types));
|
||||
if(need_index_runs) ProfScope("build index runs")
|
||||
{
|
||||
Temp scratch = scratch_begin(&arena, 1);
|
||||
|
||||
@@ -1501,7 +1503,7 @@ rdim_bake(Arena *arena, RDIM_BakeParams *params)
|
||||
//////////////////////////////////////////////////////////////
|
||||
//- rjf: @rdim_bake_stage bake idx runs
|
||||
//
|
||||
ProfScope("bake idx runs")
|
||||
if(need_index_runs) ProfScope("bake idx runs")
|
||||
{
|
||||
// rjf: set up
|
||||
if(lane_idx() == 0)
|
||||
|
||||
Reference in new issue
Block a user