Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DEmulatePrecision.h45 TypePair(const char *l, const char *r) : lType(l), rType(r) {} in TypePair()
48 const char *rType; member
56 return l.rType < r.rType; in operator()
DEmulatePrecision.cpp32 const char *rType,
146 const char *rType, in writeCompoundAssignmentHelper() argument
151 std::string rTypeStr = getTypeString(rType); in writeCompoundAssignmentHelper()
676 roundingHelperWriter->writeCompoundAssignmentHelper(sink, it->lType, it->rType, "+", "add"); in writeEmulationHelpers()
678 roundingHelperWriter->writeCompoundAssignmentHelper(sink, it->lType, it->rType, "-", "sub"); in writeEmulationHelpers()
680 roundingHelperWriter->writeCompoundAssignmentHelper(sink, it->lType, it->rType, "/", "div"); in writeEmulationHelpers()
682 roundingHelperWriter->writeCompoundAssignmentHelper(sink, it->lType, it->rType, "*", "mul"); in writeEmulationHelpers()
/third_party/flutter/skia/src/sksl/
DSkSLByteCodeGenerator.cpp602 const Type& rType = b.fRight->fType; in writeBinaryExpression() local
604 bool rVecOrMtx = (rType.kind() == Type::kVector_Kind || rType.kind() == Type::kMatrix_Kind); in writeBinaryExpression()
615 for (int i = SlotCount(rType); i > 1; --i) { in writeBinaryExpression()
628 !(lType.kind() == Type::kVector_Kind && rType.kind() == Type::kVector_Kind)) { in writeBinaryExpression()
630 SlotCount(b.fType) - (SlotCount(lType) + SlotCount(rType))); in writeBinaryExpression()
631 int rCols = rType.columns(), in writeBinaryExpression()
632 rRows = rType.rows(), in writeBinaryExpression()
636 if (rType.kind() == Type::kVector_Kind) { in writeBinaryExpression()
645 int count = std::max(SlotCount(lType), SlotCount(rType)); in writeBinaryExpression()
/third_party/skia/src/sksl/codegen/
DSkSLVMCodeGenerator.cpp586 const Type& rType = right.type(); in writeBinaryExpression() local
588 bool rVecOrMtx = (rType.isVector() || rType.isMatrix()); in writeBinaryExpression()
628 && lVecOrMtx && rVecOrMtx && !(lType.isVector() && rType.isVector())) { in writeBinaryExpression()
629 int rCols = rType.columns(), in writeBinaryExpression()
630 rRows = rType.rows(), in writeBinaryExpression()
634 if (rType.isVector()) { in writeBinaryExpression()
/third_party/glslang/SPIRV/
DGlslangToSpv.cpp2349 spv::Id rType = builder.getTypeId(constituent); in createCompositeConstruct() local
2350 if (lType != rType) { in createCompositeConstruct()
2353 } else if (builder.isStructType(rType)) { in createCompositeConstruct()
2355 int numrTypeConstituents = builder.getNumTypeConstituents(rType); in createCompositeConstruct()
2358 builder.getContainedTypeId(rType, i), i)); in createCompositeConstruct()
2362 assert(builder.isArrayType(rType)); in createCompositeConstruct()
2364 int numrTypeConstituents = builder.getNumTypeConstituents(rType); in createCompositeConstruct()
2366 spv::Id elementRType = builder.getContainedTypeId(rType); in createCompositeConstruct()
4199 spv::Id rType = builder.getTypeId(rValue); in multiTypeStore() local
4202 if (lType == rType) { in multiTypeStore()
[all …]