Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-xray/
Dxray-color-helper.cpp195 size_t SectionNo = std::floor(OffsetP / SectionWidth); in getColorTuple() local
196 double T = (OffsetP - SectionNo * SectionWidth) / SectionWidth; in getColorTuple()
198 auto &RGBColor0 = ColorMap[SectionNo]; in getColorTuple()
199 auto &RGBColor1 = ColorMap[std::min(SectionNo + 1, MaxIndex)]; in getColorTuple()