Home
last modified time | relevance | path

Searched refs:intrinsicId (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp766 int32_t intrinsicId; in writeIntrinsicCall() local
772 intrinsicId = std::get<1>(intrinsic->second); in writeIntrinsicCall()
774 intrinsicId = std::get<2>(intrinsic->second); in writeIntrinsicCall()
776 intrinsicId = std::get<3>(intrinsic->second); in writeIntrinsicCall()
778 intrinsicId = std::get<4>(intrinsic->second); in writeIntrinsicCall()
780 intrinsicId = std::get<1>(intrinsic->second); in writeIntrinsicCall()
783 intrinsicId = std::get<1>(intrinsic->second); in writeIntrinsicCall()
801 this->writeWord(intrinsicId, out); in writeIntrinsicCall()
809 if (intrinsicId == SpvOpDot && arguments[0]->type().isScalar()) { in writeIntrinsicCall()
810 intrinsicId = SpvOpFMul; in writeIntrinsicCall()
[all …]
/external/skqp/src/sksl/
DSkSLSPIRVCodeGenerator.cpp673 int32_t intrinsicId; in writeIntrinsicCall() local
677 intrinsicId = std::get<1>(intrinsic->second); in writeIntrinsicCall()
679 intrinsicId = std::get<2>(intrinsic->second); in writeIntrinsicCall()
681 intrinsicId = std::get<3>(intrinsic->second); in writeIntrinsicCall()
683 intrinsicId = std::get<4>(intrinsic->second); in writeIntrinsicCall()
685 intrinsicId = std::get<1>(intrinsic->second); in writeIntrinsicCall()
688 intrinsicId = std::get<1>(intrinsic->second); in writeIntrinsicCall()
705 this->writeWord(intrinsicId, out); in writeIntrinsicCall()
722 this->writeOpCode((SpvOp_) intrinsicId, 3 + (int32_t) arguments.size(), out); in writeIntrinsicCall()
726 this->writeOpCode((SpvOp_) intrinsicId, 1 + (int32_t) arguments.size(), out); in writeIntrinsicCall()
[all …]
DSkSLMetalCodeGenerator.cpp167 int32_t intrinsicId = intrinsic.second; in writeIntrinsicCall() local
170 return this->writeSpecialIntrinsic(c, (SpecialIntrinsic) intrinsicId); in writeIntrinsicCall()
174 switch ((MetalIntrinsic) intrinsicId) { in writeIntrinsicCall()