Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/framework/common/
DtcuCompressedTexture.cpp530 const int subBlock = ((flipBit ? y : x) >= 2) ? 1 : 0; in decompressETC1Block() local
531 const deUint32 tableNdx = table[subBlock]; in decompressETC1Block()
535 dst[dstOffset+0] = (deUint8)deClamp32((int)baseR[subBlock] + modifier, 0, 255); in decompressETC1Block()
536 dst[dstOffset+1] = (deUint8)deClamp32((int)baseG[subBlock] + modifier, 0, 255); in decompressETC1Block()
537 dst[dstOffset+2] = (deUint8)deClamp32((int)baseB[subBlock] + modifier, 0, 255); in decompressETC1Block()
625 const int subBlock = ((flipBit ? y : x) >= 2) ? 1 : 0; in decompressETC2Block() local
626 const deUint32 tableNdx = table[subBlock]; in decompressETC2Block()
648 dst[dstOffset+0] = (deUint8)deClamp32((int)baseR[subBlock] + modifier, 0, 255); in decompressETC2Block()
649 dst[dstOffset+1] = (deUint8)deClamp32((int)baseG[subBlock] + modifier, 0, 255); in decompressETC2Block()
650 dst[dstOffset+2] = (deUint8)deClamp32((int)baseB[subBlock] + modifier, 0, 255); in decompressETC2Block()