Searched refs:numberKind (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/src/sksl/ir/ |
D | SkSLType.h | 134 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()
|
D | SkSLType.cpp | 118 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()
|
D | SkSLLiteral.h | 119 if (!other.is<Literal>() || this->type().numberKind() != other.type().numberKind()) { in compareConstant()
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLVMCodeGenerator.h | 37 SkSL::Type::NumberKind numberKind = SkSL::Type::NumberKind::kNonnumeric; member
|
D | SkSLVMCodeGenerator.cpp | 311 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()
|
D | SkSLSPIRVCodeGenerator.cpp | 2892 SPIRVNumberConstant key{valueBits, type.numberKind()}; in writeLiteral()
|