Lines Matching refs:numComponents
43 const int numComponents = gl::VariableComponentCount(glType);
45 if (numComponents >= 4)
52 if (mElementIndex + numComponents > 4)
55 mElementIndex = numComponents;
59 const int alignment = numComponents == 3 ? 4 : numComponents;
64 mElementIndex += numComponents;
91 int numComponents = 0;
104 numComponents = gl::MatrixComponentCount(glType, isRowMajorMatrix);
110 numComponents = mStructElementIndexes.find(structName)->second;
112 if (numComponents == 0)
120 numComponents = gl::VariableComponentCount(glType);
124 for (int paddingOffset = numComponents; paddingOffset < 4; paddingOffset++)