OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:compString
(Results
1 - 3
of
3
) sorted by null
/external/deqp-deps/glslang/glslang/MachineIndependent/
ParseContextBase.cpp
471
void TParseContextBase::parseSwizzleSelector(const TSourceLoc& loc, const TString&
compString
, int vecSize,
475
if (
compString
.size() > MaxSwizzleSelectors)
476
error(loc, "vector swizzle too long",
compString
.c_str(), "");
486
int size = std::min(MaxSwizzleSelectors, (int)
compString
.size());
488
switch (
compString
[i]) {
542
error(loc, "unknown swizzle selection",
compString
.c_str(), "");
550
error(loc, "vector swizzle selection out of range",
compString
.c_str(), "");
556
error(loc, "vector swizzle selectors not from the same set",
compString
.c_str(), "");
/external/swiftshader/src/OpenGL/compiler/
ParseHelper.cpp
106
bool TParseContext::parseVectorFields(const TString&
compString
, int vecSize, TVectorFields& fields, const TSourceLoc &line)
108
fields.num = (int)
compString
.size();
110
error(line, "illegal vector field selection",
compString
.c_str());
121
switch (
compString
[i]) {
171
error(line, "illegal vector field selection",
compString
.c_str());
178
error(line, "vector field selection out of range",
compString
.c_str());
184
error(line, "illegal - vector component fields not from the same set",
compString
.c_str());
[
all
...]
/external/deqp-deps/glslang/hlsl/
hlslParseHelper.cpp
574
TString
compString
= fields;
578
for (size_t c = 0; c <
compString
.size(); ++c) {
579
if (
compString
[c] == '_') {
581
error(loc, "matrix component swizzle has too many components",
compString
.c_str(), "");
584
if (c >
compString
.size() - 3 ||
585
((
compString
[c+1] == 'm' ||
compString
[c+1] == 'M') && c >
compString
.size() - 4)) {
586
error(loc, "matrix component swizzle missing",
compString
.c_str(), "");
597
if (
compString
[pos] == 'm' || compString[pos] == 'M')
[
all
...]
Completed in 482 milliseconds