Lines Matching refs:GL_INVALID_INDEX
89 …formIndexes(memberUniformIndexes), psRegisterIndex(GL_INVALID_INDEX), vsRegisterIndex(GL_INVALID_I… in UniformBlock()
110 return elementIndex != GL_INVALID_INDEX; in isArrayElement()
115 return vsRegisterIndex != GL_INVALID_INDEX; in isReferencedByVertexShader()
120 return psRegisterIndex != GL_INVALID_INDEX; in isReferencedByFragmentShader()
246 unsigned int subscript = GL_INVALID_INDEX; in getFragDataLocation()
256 if(subscript == GL_INVALID_INDEX) // No subscript in getFragDataLocation()
345 unsigned int subscript = GL_INVALID_INDEX; in getUniform()
361 unsigned int subscript = GL_INVALID_INDEX; in getUniformLocation()
370 if(index != GL_INVALID_INDEX) in getUniformLocation()
372 if(subscript == GL_INVALID_INDEX) in getUniformLocation()
392 unsigned int subscript = GL_INVALID_INDEX; in getUniformIndex()
396 if(subscript != 0 && subscript != GL_INVALID_INDEX) in getUniformIndex()
398 return GL_INVALID_INDEX; in getUniformIndex()
406 if(uniforms[index]->isArray() || subscript == GL_INVALID_INDEX) in getUniformIndex()
413 return GL_INVALID_INDEX; in getUniformIndex()
453 unsigned int subscript = GL_INVALID_INDEX; in getUniformBlockIndex()
462 const bool arrayElementZero = (subscript == GL_INVALID_INDEX && uniformBlock.elementIndex == 0); in getUniformBlockIndex()
470 return GL_INVALID_INDEX; in getUniformBlockIndex()
502 … < 0 || location >= (int)uniformIndex.size() || (uniformIndex[location].index == GL_INVALID_INDEX)) in setUniformfv()
592 … < 0 || location >= (int)uniformIndex.size() || (uniformIndex[location].index == GL_INVALID_INDEX)) in setUniformMatrixfv()
689 … < 0 || location >= (int)uniformIndex.size() || (uniformIndex[location].index == GL_INVALID_INDEX)) in setUniform1iv()
745 … < 0 || location >= (int)uniformIndex.size() || (uniformIndex[location].index == GL_INVALID_INDEX)) in setUniformiv()
807 … < 0 || location >= (int)uniformIndex.size() || (uniformIndex[location].index == GL_INVALID_INDEX)) in setUniform1uiv()
863 … < 0 || location >= (int)uniformIndex.size() || (uniformIndex[location].index == GL_INVALID_INDEX)) in setUniformuiv()
925 … < 0 || location >= (int)uniformIndex.size() || (uniformIndex[location].index == GL_INVALID_INDEX)) in getUniformfv()
983 … < 0 || location >= (int)uniformIndex.size() || (uniformIndex[location].index == GL_INVALID_INDEX)) in getUniformiv()
1032 … < 0 || location >= (int)uniformIndex.size() || (uniformIndex[location].index == GL_INVALID_INDEX)) in getUniformuiv()
1094 if((uniformIndex[location].element != 0) || (uniformIndex[location].index == GL_INVALID_INDEX)) in applyUniforms()
1446 unsigned int subscript = GL_INVALID_INDEX; in linkTransformFeedback()
1448 bool hasSubscript = (subscript != GL_INVALID_INDEX); in linkTransformFeedback()
1717 unsigned int blockIndex = GL_INVALID_INDEX; in linkUniforms()
1724 ASSERT(blockIndex != GL_INVALID_INDEX); in linkUniforms()
1853 …ndex = (blockInfo.index == -1) ? static_cast<unsigned int>(uniforms.size() - 1) : GL_INVALID_INDEX; in defineUniform()
2065 if(blockIndex == GL_INVALID_INDEX) in defineUniformBlock()
2086 …uniformBlocks.push_back(new UniformBlock(block.name, GL_INVALID_INDEX, block.dataSize, memberUnifo… in defineUniformBlock()