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

/external/deqp/framework/delibs/debase/
H A DdeInt32.h640 DE_INLINE deUint32 deBitMask32 (int leastSignificantBitNdx, int numBits) argument
642 DE_ASSERT(deInRange32(leastSignificantBitNdx, 0, 32));
644 DE_ASSERT(deInRange32(leastSignificantBitNdx+numBits, 0, 32));
646 if (numBits < 32 && leastSignificantBitNdx < 32)
647 return ((1u<<numBits)-1u) << (deUint32)leastSignificantBitNdx;
648 else if (numBits == 0 && leastSignificantBitNdx == 32)
652 DE_ASSERT(numBits == 32 && leastSignificantBitNdx == 0);

Completed in 815 milliseconds