Lines Matching defs:Word
105 struct SPIRVCodeGenerator::Word { struct in SkSL::SPIRVCodeGenerator
106 enum Kind {
116 Word(SpvId id) : fValue(id), fKind(Kind::kSpvId) {} in Word() argument
117 Word(int32_t val, Kind kind) : fValue(val), fKind(kind) {} in Word() function
119 static Word Number(int32_t val) { in Number()
123 static Word Result(const Type& type) { in Result()
127 static Word RelaxedResult() { in RelaxedResult()
131 static Word UniqueResult() { in UniqueResult()
135 static Word Result() { in Result()
142 static Word KeyedResult(int32_t key) { return Word{key, Kind::kKeyedResult}; } in KeyedResult()
144 bool isResult() const { return fKind >= Kind::kDefaultPrecisionResult; } in isResult()
146 int32_t fValue;
147 Kind fKind;