Lines Matching refs:compString
574 TString compString = fields; in parseMatrixSwizzleSelector() local
578 for (size_t c = 0; c < compString.size(); ++c) { in parseMatrixSwizzleSelector()
579 if (compString[c] == '_') { in parseMatrixSwizzleSelector()
581 … error(loc, "matrix component swizzle has too many components", compString.c_str(), ""); in parseMatrixSwizzleSelector()
584 if (c > compString.size() - 3 || in parseMatrixSwizzleSelector()
585 … ((compString[c+1] == 'm' || compString[c+1] == 'M') && c > compString.size() - 4)) { in parseMatrixSwizzleSelector()
586 error(loc, "matrix component swizzle missing", compString.c_str(), ""); in parseMatrixSwizzleSelector()
597 if (compString[pos] == 'm' || compString[pos] == 'M') { in parseMatrixSwizzleSelector()
602 comp.coord1 = compString[pos+0] - '0' + bias; in parseMatrixSwizzleSelector()
603 comp.coord2 = compString[pos+1] - '0' + bias; in parseMatrixSwizzleSelector()
605 error(loc, "matrix row component out of range", compString.c_str(), ""); in parseMatrixSwizzleSelector()
609 error(loc, "matrix column component out of range", compString.c_str(), ""); in parseMatrixSwizzleSelector()