change to ctx.ThreadIndex
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user