change to ctx.ThreadIndex

This commit is contained in:
2026-04-12 22:21:33 +09:00
parent 8b7f773d29
commit 2ccc19092c

View File

@@ -28,7 +28,7 @@ internal struct JobDispatchingJob : IJobParallelFor
data = data[loopIndex]
};
var handle = ctx.JobScheduler.ScheduleParallelFor(in innerJob, data[loopIndex].Length, 64);
var handle = ctx.JobScheduler.ScheduleParallelFor(in innerJob, data[loopIndex].Length, 64, ctx.ThreadIndex);
handles.AddNoResize(handle);
}
}