Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/framework/delibs/debase/
DdeInt32.h664 DE_INLINE deUint32 deBitMask32 (int leastSignificantBitNdx, int numBits) in deBitMask32() argument
666 DE_ASSERT(deInRange32(leastSignificantBitNdx, 0, 32)); in deBitMask32()
668 DE_ASSERT(deInRange32(leastSignificantBitNdx+numBits, 0, 32)); in deBitMask32()
670 if (numBits < 32 && leastSignificantBitNdx < 32) in deBitMask32()
671 return ((1u<<numBits)-1u) << (deUint32)leastSignificantBitNdx; in deBitMask32()
672 else if (numBits == 0 && leastSignificantBitNdx == 32) in deBitMask32()
676 DE_ASSERT(numBits == 32 && leastSignificantBitNdx == 0); in deBitMask32()