Lines Matching refs:stride
38 * stride are set to match the base alignment of a single array element, according
68 * For an array of scalars or vectors this returns the stride between array elements. For
69 * matrices or arrays of matrices this returns the stride between columns of the matrix. Note
70 * that for single (non-array) scalars or vectors we don't require a stride.
77 // This is a matrix or array of matrices. We return the stride between columns.
102 * alignment and stride of arrays of scalars and vectors in rule 4 and of structures in rule 9 are
113 // This is a matrix or array of matrices. We return the stride between columns.
127 // GrMtlPipelineStateDataManger. Everything is tight except 3-component which have the stride of
136 // This is a matrix or array of matrices. We return the stride between columns.
175 size_t stride = Rules<UniformType, RowsOrVecLength, Cols>::Stride(n);
180 if (stride == RowsOrVecLength * sizeof(UniformType)) {
186 dst = SkTAddOffset<void>(dst, stride);
191 return n * stride;
196 // Stride() will give us the stride of each column, so mul by 3 to get matrix stride.
197 size_t stride = 3 * Rules<UniformType, 3, 3>::Stride(1);
215 offset += stride;
218 return n * stride;