Home
last modified time | relevance | path

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

/third_party/skia/src/sksl/lex/
DTransitionTable.cpp31 constexpr int kDataPerByte = 8 / kNumBits; variable
174 out << " uint8_t data[" << std::ceil(float(numTransitions) / float(kDataPerByte)) << "];\n" in WriteTransitionTable()
226 << " int value = entry.data[transition >> " << std::log2(kDataPerByte) << "];\n" in WriteTransitionTable()
227 << " value >>= " << kNumBits << " * (transition & " << kDataPerByte - 1 << ");\n" in WriteTransitionTable()