Searched refs:caseValues (Results 1 – 7 of 7) sorted by relevance
/third_party/skia/src/sksl/ir/ |
D | SkSLSwitchStatement.cpp | 171 ExpressionArray caseValues, in Convert() argument 174 SkASSERT(caseValues.size() == caseStatements.size()); in Convert() 182 for (int i = 0; i < caseValues.count(); ++i) { in Convert() 185 if (caseValues[i]) { in Convert() 186 caseLine = caseValues[i]->fLine; in Convert() 189 caseValue = value->type().coerceExpression(std::move(caseValues[i]), context); in Convert()
|
D | SkSLSwitchStatement.h | 44 ExpressionArray caseValues,
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLIRGenerator.cpp | 519 std::unordered_set<int> caseValues; in convertSwitch() local 541 if (caseValues.find(v) != caseValues.end()) { in convertSwitch() 544 caseValues.insert(v); in convertSwitch()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | OutputSPIRV.cpp | 5374 TVector<uint32_t> caseValues; in visitSwitch() local 5396 caseValues.push_back(caseValue.getUConst()); in visitSwitch() 5427 for (size_t caseIndex = 0; caseIndex < caseValues.size(); ++caseIndex) in visitSwitch() 5429 uint32_t value = caseValues[caseIndex]; in visitSwitch() 5437 const spirv::IdRef defaultBlock = defaultBlockIndex <= caseValues.size() in visitSwitch()
|
/third_party/glslang/SPIRV/ |
D | SpvBuilder.h | 535 …makeSwitch(Id condition, unsigned int control, int numSegments, const std::vector<int>& caseValues,
|
D | SpvBuilder.cpp | 2614 …:makeSwitch(Id selector, unsigned int control, int numSegments, const std::vector<int>& caseValues, in makeSwitch() argument 2635 for (int i = 0; i < (int)caseValues.size(); ++i) { in makeSwitch() 2636 switchInst->addImmediateOperand(caseValues[i]); in makeSwitch()
|
D | GlslangToSpv.cpp | 3311 std::vector<int> caseValues; in visitSwitch() local 3318 valueIndexToSegment[caseValues.size()] = (int)codeSegments.size(); in visitSwitch() 3319 caseValues.push_back(child->getAsBranchNode()->getExpression()->getAsConstantUnion() in visitSwitch() 3327 …if ((caseValues.size() && (int)codeSegments.size() == valueIndexToSegment[caseValues.size() - 1]) … in visitSwitch() 3333 …builder.makeSwitch(selector, control, (int)codeSegments.size(), caseValues, valueIndexToSegment, d… in visitSwitch()
|