Lines Matching refs:start

149     if (mtls && mtls->dimPtr->y <= 1 && mtls->end.x <= mtls->start.x + mtls->mSliceSize) {
163 // We use the calling thread as one of the workers so we can start without
329 // x, y, z, lod, face, a1, a2, a3, a4 - The start offsets into each dimension
354 // x, y, z - The start offsets into each dimension
362 static uint32_t sliceInt(uint32_t *p, uint32_t val, uint32_t start, uint32_t end) {
363 if (start >= end) {
364 *p = start;
368 uint32_t div = end - start;
371 *p = (val - (n * div)) + start;
377 r = sliceInt(&info->current.z, r, mtls->start.z, mtls->end.z);
378 r = sliceInt(&info->current.lod, r, mtls->start.lod, mtls->end.lod);
379 r = sliceInt(&info->current.face, r, mtls->start.face, mtls->end.face);
380 r = sliceInt(&info->current.array[0], r, mtls->start.array[0], mtls->end.array[0]);
381 r = sliceInt(&info->current.array[1], r, mtls->start.array[1], mtls->end.array[1]);
382 r = sliceInt(&info->current.array[2], r, mtls->start.array[2], mtls->end.array[2]);
383 r = sliceInt(&info->current.array[3], r, mtls->start.array[3], mtls->end.array[3]);
388 return sliceInt(&info->current.z, sliceNum, mtls->start.z, mtls->end.z) == 0;
404 for (fep.current.y = mtls->start.y; fep.current.y < mtls->end.y;
407 FepPtrSetup(mtls, &fep, mtls->start.x,
413 fn(&fep, mtls->start.x, mtls->end.x, mtls->fep.outStride[0]);
426 uint32_t yStart = mtls->start.y + slice * mtls->mSliceSize;
436 FepPtrSetup(mtls, &fep, mtls->start.x, fep.current.y);
438 fn(&fep, mtls->start.x, mtls->end.x, fep.outStride[0]);
451 uint32_t xStart = mtls->start.x + slice * mtls->mSliceSize;
547 uint32_t xStart = mtls->start.x + slice * mtls->mSliceSize;
586 uint32_t yStart = mtls->start.y + slice * mtls->mSliceSize;
596 RedpPtrSetup(mtls, &redp, mtls->start.x, redp.current.y, 0);
597 fn(&redp, mtls->start.x, mtls->end.x, accumPtr);
630 for (redp.current.y = mtls->start.y; redp.current.y < mtls->end.y; redp.current.y++) {
631 RedpPtrSetup(mtls, &redp, mtls->start.x, redp.current.y, redp.current.z);
632 fn(&redp, mtls->start.x, mtls->end.x, accumPtr);
695 for (mtls->redp.current.y = mtls->start.y;
698 RedpPtrSetup(mtls, &mtls->redp, mtls->start.x, mtls->redp.current.y, mtls->redp.current.z);
699 fn(&mtls->redp, mtls->start.x, mtls->end.x, accumPtr);
732 // If mDebugReduceSplitAccum, then we want each accumulator to start
834 bool outerDims = (mtls->start.z != mtls->end.z) ||
835 (mtls->start.face != mtls->end.face) ||
836 (mtls->start.lod != mtls->end.lod) ||
837 (mtls->start.array[0] != mtls->end.array[0]) ||
838 (mtls->start.array[1] != mtls->end.array[1]) ||
839 (mtls->start.array[2] != mtls->end.array[2]) ||
840 (mtls->start.array[3] != mtls->end.array[3]);
903 for (mtls->fep.current.y = mtls->start.y;
907 FepPtrSetup(mtls, &mtls->fep, mtls->start.x,
913 fn(&mtls->fep, mtls->start.x, mtls->end.x, mtls->fep.outStride[0]);