/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | ParseContextBase.cpp | 508 void TParseContextBase::parseSwizzleSelector(const TSourceLoc& loc, const TString& compString, int … in parseSwizzleSelector() argument 512 if (compString.size() > MaxSwizzleSelectors) in parseSwizzleSelector() 513 error(loc, "vector swizzle too long", compString.c_str(), ""); in parseSwizzleSelector() 523 int size = std::min(MaxSwizzleSelectors, (int)compString.size()); in parseSwizzleSelector() 525 switch (compString[i]) { in parseSwizzleSelector() 579 error(loc, "unknown swizzle selection", compString.c_str(), ""); in parseSwizzleSelector() 587 error(loc, "vector swizzle selection out of range", compString.c_str(), ""); in parseSwizzleSelector() 593 error(loc, "vector swizzle selectors not from the same set", compString.c_str(), ""); in parseSwizzleSelector()
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/ |
D | ParseContextBase.cpp | 508 void TParseContextBase::parseSwizzleSelector(const TSourceLoc& loc, const TString& compString, int … in parseSwizzleSelector() argument 512 if (compString.size() > MaxSwizzleSelectors) in parseSwizzleSelector() 513 error(loc, "vector swizzle too long", compString.c_str(), ""); in parseSwizzleSelector() 523 int size = std::min(MaxSwizzleSelectors, (int)compString.size()); in parseSwizzleSelector() 525 switch (compString[i]) { in parseSwizzleSelector() 579 error(loc, "unknown swizzle selection", compString.c_str(), ""); in parseSwizzleSelector() 587 error(loc, "vector swizzle selection out of range", compString.c_str(), ""); in parseSwizzleSelector() 593 error(loc, "vector swizzle selectors not from the same set", compString.c_str(), ""); in parseSwizzleSelector()
|
/external/swiftshader/src/OpenGL/compiler/ |
D | ParseHelper.cpp | 106 bool TParseContext::parseVectorFields(const TString& compString, int vecSize, TVectorFields& fields… in parseVectorFields() argument 108 fields.num = (int) compString.size(); in parseVectorFields() 110 error(line, "illegal vector field selection", compString.c_str()); in parseVectorFields() 121 switch (compString[i]) { in parseVectorFields() 171 error(line, "illegal vector field selection", compString.c_str()); in parseVectorFields() 178 error(line, "vector field selection out of range", compString.c_str()); in parseVectorFields() 184 error(line, "illegal - vector component fields not from the same set", compString.c_str()); in parseVectorFields()
|
/external/deqp-deps/glslang/glslang/HLSL/ |
D | hlslParseHelper.cpp | 576 TString compString = fields; in parseMatrixSwizzleSelector() local 580 for (size_t c = 0; c < compString.size(); ++c) { in parseMatrixSwizzleSelector() 581 if (compString[c] == '_') { in parseMatrixSwizzleSelector() 583 … error(loc, "matrix component swizzle has too many components", compString.c_str(), ""); in parseMatrixSwizzleSelector() 586 if (c > compString.size() - 3 || in parseMatrixSwizzleSelector() 587 … ((compString[c+1] == 'm' || compString[c+1] == 'M') && c > compString.size() - 4)) { in parseMatrixSwizzleSelector() 588 error(loc, "matrix component swizzle missing", compString.c_str(), ""); in parseMatrixSwizzleSelector() 599 if (compString[pos] == 'm' || compString[pos] == 'M') { in parseMatrixSwizzleSelector() 604 comp.coord1 = compString[pos+0] - '0' + bias; in parseMatrixSwizzleSelector() 605 comp.coord2 = compString[pos+1] - '0' + bias; in parseMatrixSwizzleSelector() [all …]
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/ |
D | hlslParseHelper.cpp | 576 TString compString = fields; in parseMatrixSwizzleSelector() local 580 for (size_t c = 0; c < compString.size(); ++c) { in parseMatrixSwizzleSelector() 581 if (compString[c] == '_') { in parseMatrixSwizzleSelector() 583 … error(loc, "matrix component swizzle has too many components", compString.c_str(), ""); in parseMatrixSwizzleSelector() 586 if (c > compString.size() - 3 || in parseMatrixSwizzleSelector() 587 … ((compString[c+1] == 'm' || compString[c+1] == 'M') && c > compString.size() - 4)) { in parseMatrixSwizzleSelector() 588 error(loc, "matrix component swizzle missing", compString.c_str(), ""); in parseMatrixSwizzleSelector() 599 if (compString[pos] == 'm' || compString[pos] == 'M') { in parseMatrixSwizzleSelector() 604 comp.coord1 = compString[pos+0] - '0' + bias; in parseMatrixSwizzleSelector() 605 comp.coord2 = compString[pos+1] - '0' + bias; in parseMatrixSwizzleSelector() [all …]
|
/external/angle/src/compiler/translator/ |
D | ParseContext.cpp | 262 const ImmutableString &compString, in parseVectorFields() argument 267 size_t fieldCount = compString.length(); in parseVectorFields() 270 error(line, "illegal vector field selection", compString); in parseVectorFields() 284 switch (compString[i]) in parseVectorFields() 336 error(line, "illegal vector field selection", compString); in parseVectorFields() 345 error(line, "vector field selection out of range", compString); in parseVectorFields() 353 error(line, "illegal - vector component fields not from the same set", compString); in parseVectorFields()
|
D | ParseContext.h | 112 const ImmutableString &compString,
|