Home
last modified time | relevance | path

Searched refs:lType (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()
47 const char *lType; member
55 if (l.lType == r.lType) in operator()
57 return l.lType < r.lType; in operator()
DEmulatePrecision.cpp31 const char *lType,
145 const char *lType, in writeCompoundAssignmentHelper() argument
150 std::string lTypeStr = getTypeString(lType); 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.cpp601 const Type& lType = b.fLeft->fType; in writeBinaryExpression() local
603 bool lVecOrMtx = (lType.kind() == Type::kVector_Kind || lType.kind() == Type::kMatrix_Kind); in writeBinaryExpression()
622 for (int i = SlotCount(lType); 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()
633 lCols = lType.columns(), in writeBinaryExpression()
634 lRows = lType.rows(); in writeBinaryExpression()
645 int count = std::max(SlotCount(lType), SlotCount(rType)); in writeBinaryExpression()
648 this->writeTypedInstruction(lType, ByteCodeInstruction::kCompareIEQ, in writeBinaryExpression()
658 this->writeTypedInstruction(lType, ByteCodeInstruction::kCompareSGT, in writeBinaryExpression()
[all …]
/third_party/skia/src/sksl/codegen/
DSkSLVMCodeGenerator.cpp585 const Type& lType = left.type(); in writeBinaryExpression() local
587 bool lVecOrMtx = (lType.isVector() || lType.isMatrix()); in writeBinaryExpression()
593 Type::NumberKind nk = base_number_kind(lType); in writeBinaryExpression()
628 && lVecOrMtx && rVecOrMtx && !(lType.isVector() && rType.isVector())) { in writeBinaryExpression()
631 lCols = lType.columns(), in writeBinaryExpression()
632 lRows = lType.rows(); in writeBinaryExpression()
/third_party/glslang/SPIRV/
DGlslangToSpv.cpp2348 spv::Id lType = builder.getContainedTypeId(resultTypeId, c); in createCompositeConstruct() local
2350 if (lType != rType) { in createCompositeConstruct()
2352 constituent = builder.createUnaryOp(spv::OpCopyLogical, lType, constituent); in createCompositeConstruct()
2360 constituents[c] = createCompositeConstruct(lType, rTypeConstituents); in createCompositeConstruct()
2370 constituents[c] = createCompositeConstruct(lType, rTypeConstituents); in createCompositeConstruct()
4201 spv::Id lType = builder.getContainedTypeId(builder.getTypeId(lValue)); in multiTypeStore() local
4202 if (lType == rType) { in multiTypeStore()
4217 bool lBool = builder.containsType(lType, spv::OpTypeBool, 0); in multiTypeStore()
4219 spv::Id logicalCopy = builder.createUnaryOp(spv::OpCopyLogical, lType, rValue); in multiTypeStore()