Lines Matching defs:baseLoc
115 unsigned int baseLoc = outIt.second->getType()->getQualifier().hasLocation() ?
119 baseLoc = (*outIt.second->getType()->getStruct())[j].type->getQualifier().hasLocation() ?
120 (*outIt.second->getType()->getStruct())[j].type->getQualifier().layoutLocation : baseLoc;
121 if (baseLoc != std::numeric_limits<unsigned int>::max()) {
122 if (baseLoc == in.getType()->getQualifier().layoutLocation) {
126 baseLoc += glslang::TIntermediate::computeTypeLocationSize(*(*outIt.second->getType()->getStruct())[j].type, EShLangVertex);
137 unsigned int baseLoc = in.getType()->getQualifier().hasLocation() ? in.getType()->getQualifier().layoutLocation : -1;
139 baseLoc = (*in.getType()->getStruct())[j].type->getQualifier().hasLocation() ?
140 (*in.getType()->getStruct())[j].type->getQualifier().layoutLocation : baseLoc;
141 if (baseLoc != std::numeric_limits<unsigned int>::max()) {
144 if (baseLoc == outIt.second->getType()->getQualifier().layoutLocation) {
153 baseLoc += glslang::TIntermediate::computeTypeLocationSize(*(*in.getType()->getStruct())[j].type, EShLangVertex);