Lines Matching defs:stride

3659             idImmOps.push_back(spv::IdImmediate(true, operands[2])); // stride
3661 idImmOps.push_back(spv::IdImmediate(true, operands[2])); // stride
3683 idImmOps.push_back(spv::IdImmediate(true, operands[2])); // stride
3685 idImmOps.push_back(spv::IdImmediate(true, operands[2])); // stride
4661 int stride = 0; // keep this 0 unless doing an explicit layout; 0 will mean no decoration, no stride
4675 stride = getArrayStride(simpleArrayType, explicitLayout, qualifier.layoutMatrix);
4680 spvType = builder.makeArrayType(spvType, makeArraySizeId(*type.getArraySizes(), dim), stride);
4681 if (stride > 0)
4682 builder.addDecoration(spvType, spv::DecorationArrayStride, stride);
4683 stride *= type.getArraySizes()->getDimSize(dim);
4686 // single-dimensional array, and don't yet have stride
4690 stride = getArrayStride(type, explicitLayout, qualifier.layoutMatrix);
4696 spvType = builder.makeArrayType(spvType, makeArraySizeId(*type.getArraySizes(), 0), stride);
4704 if (stride > 0)
4705 builder.addDecoration(spvType, spv::DecorationArrayStride, stride);
5256 // Given an array type, returns the integer stride required for that array
5261 int stride;
5262 glslangIntermediate->getMemberAlignment(arrayType, size, stride, explicitLayout,
5265 return stride;
5268 // Given a matrix type, or array (of array) of matrixes type, returns the integer stride required for that matrix
5278 int stride;
5279 glslangIntermediate->getMemberAlignment(elementType, size, stride, explicitLayout,
5282 return stride;
9546 unsigned stride = glslangIntermediate->getXfbStride(symbol->getQualifier().layoutXfbBuffer);
9547 if (stride != glslang::TQualifier::layoutXfbStrideEnd)
9548 builder.addDecoration(id, spv::DecorationXfbStride, stride);