Searched refs:caseValues (Results 1 – 5 of 5) sorted by relevance
/external/skia/src/sksl/ |
D | SkSLIRGenerator.cpp | 481 std::unordered_set<int> caseValues; in convertSwitch() local 500 if (caseValues.find(v) != caseValues.end()) { in convertSwitch() 503 caseValues.insert(v); in convertSwitch()
|
/external/skqp/src/sksl/ |
D | SkSLIRGenerator.cpp | 475 std::unordered_set<int> caseValues; in convertSwitch() local 494 if (caseValues.find(v) != caseValues.end()) { in convertSwitch() 497 caseValues.insert(v); in convertSwitch()
|
/external/deqp-deps/glslang/SPIRV/ |
D | SpvBuilder.h | 463 …makeSwitch(Id condition, unsigned int control, int numSegments, const std::vector<int>& caseValues,
|
D | SpvBuilder.cpp | 2402 …:makeSwitch(Id selector, unsigned int control, int numSegments, const std::vector<int>& caseValues, in makeSwitch() argument 2423 for (int i = 0; i < (int)caseValues.size(); ++i) { in makeSwitch() 2424 switchInst->addImmediateOperand(caseValues[i]); in makeSwitch()
|
D | GlslangToSpv.cpp | 2676 std::vector<int> caseValues; in visitSwitch() local 2683 valueIndexToSegment[caseValues.size()] = (int)codeSegments.size(); in visitSwitch() 2684 …caseValues.push_back(child->getAsBranchNode()->getExpression()->getAsConstantUnion()->getConstArra… in visitSwitch() 2691 …if ((caseValues.size() && (int)codeSegments.size() == valueIndexToSegment[caseValues.size() - 1]) … in visitSwitch() 2697 …builder.makeSwitch(selector, control, (int)codeSegments.size(), caseValues, valueIndexToSegment, d… in visitSwitch()
|