MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / NextRange

Method NextRange

layers/sync/sync_access_map.cpp:292–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292void ParallelIterator::NextRange() {
293 const index_type start = range.end;
294 const index_type delta = range.distance();
295 assert(delta != 0); // Trying to increment past end
296
297 pos_A.Seek(pos_A.index + delta);
298 pos_B.Seek(pos_B.index + delta);
299
300 range = AccessRange(start, start + ComputeDelta());
301 assert(pos_A.index == start);
302 assert(pos_B.index == start);
303}
304
305ParallelIterator::index_type ParallelIterator::ComputeDelta() {
306 const index_type delta_A = pos_A.DistanceToEdge();

Callers 2

ResolveAccessRangeMethod · 0.80

Calls 2

distanceMethod · 0.80
SeekMethod · 0.45

Tested by

no test coverage detected