Home
last modified time | relevance | path

Searched refs:numberKind (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/src/sksl/ir/
DSkSLType.h134 Type::NumberKind numberKind, int8_t priority,
232 virtual NumberKind numberKind() const { in numberKind() function
240 return this->numberKind() == NumberKind::kBoolean; in isBoolean()
247 switch (this->numberKind()) { in isNumber()
261 return this->numberKind() == NumberKind::kFloat; in isFloat()
268 return this->numberKind() == NumberKind::kSigned; in isSigned()
275 return this->numberKind() == NumberKind::kUnsigned; in isUnsigned()
282 switch (this->numberKind()) { in isInteger()
DSkSLType.cpp118 NumberKind numberKind() const override { in numberKind() function in SkSL::LiteralType
119 return fScalarType.numberKind(); in numberKind()
150 ScalarType(skstd::string_view name, const char* abbrev, NumberKind numberKind, int8_t priority, in ScalarType() argument
153 , fNumberKind(numberKind) in ScalarType()
157 NumberKind numberKind() const override { in numberKind() function in SkSL::ScalarType
452 Type::NumberKind numberKind, int8_t priority, in MakeScalarType() argument
454 return std::make_unique<ScalarType>(name, abbrev, numberKind, priority, bitWidth); in MakeScalarType()
493 } else if (this->numberKind() != other.numberKind()) { in coercionCost()
552 switch (component.numberKind()) { in applyPrecisionQualifiers()
DSkSLLiteral.h119 if (!other.is<Literal>() || this->type().numberKind() != other.type().numberKind()) { in compareConstant()
/third_party/skia/src/sksl/codegen/
DSkSLVMCodeGenerator.h37 SkSL::Type::NumberKind numberKind = SkSL::Type::NumberKind::kNonnumeric; member
DSkSLVMCodeGenerator.cpp311 switch (info.numberKind) { in dump()
342 return type.numberKind(); in base_number_kind()
491 if (fDebugInfo->fSlotInfo[slot].numberKind == Type::NumberKind::kFloat) { in writeToSlot()
493 } else if (fDebugInfo->fSlotInfo[slot].numberKind == Type::NumberKind::kBoolean) { in writeToSlot()
531 Type::NumberKind numberKind = type.componentType().numberKind(); in addDebugSlotInfo() local
540 slotInfo.numberKind = numberKind; in addDebugSlotInfo()
DSkSLSPIRVCodeGenerator.cpp2892 SPIRVNumberConstant key{valueBits, type.numberKind()}; in writeLiteral()