Lines Matching defs:stride
538 const int stride = (layoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(elemBasicType) : baseAlignment;
546 entry.arrayStride = stride;
551 curOffset += stride*type.getArraySize();
630 const int stride = (blockLayoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(elemBasicType) :
643 entry.arrayStride = stride;
648 curOffset += stride*topLevelArraySize;
661 const int stride = (blockLayoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(vecType) :
674 entry.arrayStride = stride*numVecs;
675 entry.matrixStride = stride;
691 // the layout computation twice. Instead we fix stride to child elements afterwards.
696 const int stride = deAlign32(size, baseAlignment);
701 layout.bufferVars[childNdx].topLevelArrayStride = stride;
705 curOffset += stride*(topLevelArraySize - 1) + size;
1856 // what is stride of that array.
1905 const int stride = isLastUnsized ? getUnsizedArrayStride(layout, blockLayout) : 0;
1907 sizes[blockNdx] = baseSize + lastArraySize*stride;