Home
last modified time | relevance | path

Searched refs:caseValues (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/sksl/
DSkSLIRGenerator.cpp481 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/
DSkSLIRGenerator.cpp475 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/
DSpvBuilder.h463 …makeSwitch(Id condition, unsigned int control, int numSegments, const std::vector<int>& caseValues,
DSpvBuilder.cpp2402 …: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()
DGlslangToSpv.cpp2676 std::vector<int> caseValues; in visitSwitch() local
2683 valueIndexToSegment[caseValues.size()] = (int)codeSegments.size(); in visitSwitch()
2684caseValues.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()