Home | History | Annotate | Download | only in compiler

Lines Matching full:uniform

276 	Uniform::Uniform(const TType& type, const std::string &name, int registerIndex, int blockId, const BlockMemberInfo& blockMemberInfo) :
684 // OpenGL ES 3.0.4 spec, section 2.12.6 Uniform Variables:
685 // "All members of a named uniform
687 // The uniform block itself is also considered active, even if no member of the block is referenced."
2273 // Make sure the uniform block is declared
2278 // Fetch uniform block index from array of blocks
3223 int OutputASM::uniformRegister(TIntermTyped *uniform)
3225 const TType &type = uniform->getType();
3228 TIntermSymbol *symbol = uniform->getAsSymbolNode();
3235 int index = isBlockMember ? lookup(uniforms, parentBlock) : lookup(uniforms, uniform);
3241 index = allocate(uniforms, uniform);
3244 // Verify if the current uniform is a member of an already declared block
3332 // Function arguments are not (uniform) sampler registers
3382 return -1; // Not a (uniform) sampler register
3552 // This is a uniform that's part of a block, let's see if the block is already defined
3557 // The block is already defined, find the register for the current uniform and return it
3604 activeUniforms.push_back(Uniform(type, name.c_str(), fieldRegisterIndex, blockId, blockInfo));
3643 shaderObject->activeUniformStructs.push_back(Uniform(type, name.c_str(), registerIndex, -1, BlockMemberInfo::getDefaultBlockInfo()));