Lines Matching refs:subscript

246 			unsigned int subscript = GL_INVALID_INDEX;  in getFragDataLocation()  local
247 baseName = ParseUniformName(baseName, &subscript); in getFragDataLocation()
256 if(subscript == GL_INVALID_INDEX) // No subscript in getFragDataLocation()
264 return varying.registerIndex + (rowCount > 1 ? colCount * subscript : subscript); in getFragDataLocation()
345 unsigned int subscript = GL_INVALID_INDEX; in getUniform() local
346 std::string baseName = es2::ParseUniformName(name, &subscript); in getUniform()
361 unsigned int subscript = GL_INVALID_INDEX; in getUniformLocation() local
362 std::string baseName = es2::ParseUniformName(name, &subscript); in getUniformLocation()
372 if(subscript == GL_INVALID_INDEX) in getUniformLocation()
378 if(uniformIndex[location].element == subscript) in getUniformLocation()
392 unsigned int subscript = GL_INVALID_INDEX; in getUniformIndex() local
393 std::string baseName = es2::ParseUniformName(name, &subscript); in getUniformIndex()
396 if(subscript != 0 && subscript != GL_INVALID_INDEX) in getUniformIndex()
406 if(uniforms[index]->isArray() || subscript == GL_INVALID_INDEX) in getUniformIndex()
453 unsigned int subscript = GL_INVALID_INDEX; in getUniformBlockIndex() local
454 std::string baseName = es2::ParseUniformName(name, &subscript); in getUniformBlockIndex()
462 const bool arrayElementZero = (subscript == GL_INVALID_INDEX && uniformBlock.elementIndex == 0); in getUniformBlockIndex()
463 if(subscript == uniformBlock.elementIndex || arrayElementZero) in getUniformBlockIndex()
1446 unsigned int subscript = GL_INVALID_INDEX; in linkTransformFeedback() local
1447 std::string tfVaryingName = es2::ParseUniformName(indexedTfVaryingName, &subscript); in linkTransformFeedback()
1448 bool hasSubscript = (subscript != GL_INVALID_INDEX); in linkTransformFeedback()
1468 if(hasSubscript && ((static_cast<int>(subscript)) >= varying.size())) in linkTransformFeedback()
1492 reg += rowCount > 1 ? colCount * subscript : subscript; in linkTransformFeedback()