Searched refs:ScanForward (Results 1 – 6 of 6) sorted by relevance
/external/angle/src/common/ |
D | mathutil_unittest.cpp | 279 TEST(MathUtilTest, ScanForward) in TEST() argument 281 EXPECT_EQ(0ul, gl::ScanForward(1u)); in TEST() 282 EXPECT_EQ(16ul, gl::ScanForward(0x80010000u)); in TEST() 283 EXPECT_EQ(31ul, gl::ScanForward(0x80000000u)); in TEST() 285 EXPECT_EQ(0ul, gl::ScanForward(static_cast<uint64_t>(1ull))); in TEST() 286 EXPECT_EQ(16ul, gl::ScanForward(static_cast<uint64_t>(0x80010000ull))); in TEST() 287 EXPECT_EQ(31ul, gl::ScanForward(static_cast<uint64_t>(0x80000000ull))); in TEST() 289 EXPECT_EQ(32ul, gl::ScanForward(static_cast<uint64_t>(0x100000000ull))); in TEST() 290 EXPECT_EQ(48ul, gl::ScanForward(static_cast<uint64_t>(0x8001000000000000ull))); in TEST() 291 EXPECT_EQ(63ul, gl::ScanForward(static_cast<uint64_t>(0x8000000000000000ull))); in TEST()
|
D | mathutil.h | 1101 inline unsigned long ScanForward(uint32_t bits) in ScanForward() function 1110 inline unsigned long ScanForward(uint64_t bits) in ScanForward() function 1167 inline unsigned long ScanForward(uint32_t bits) in ScanForward() function 1173 inline unsigned long ScanForward(uint64_t bits) in ScanForward() function 1210 inline unsigned long ScanForward(uint8_t bits) in ScanForward() function 1212 return ScanForward(static_cast<uint32_t>(bits)); in ScanForward() 1215 inline unsigned long ScanForward(uint16_t bits) in ScanForward() function 1217 return ScanForward(static_cast<uint32_t>(bits)); in ScanForward() 1241 return static_cast<int>(ScanForward(bits)); in FindLSB()
|
D | bitset_utils.h | 387 return static_cast<ParamT>(gl::ScanForward(mBits)); in first() 442 return gl::ScanForward(mBitsCopy.mBits); in getNextBit()
|
/external/angle/src/libANGLE/ |
D | Uniform.cpp | 34 return static_cast<ShaderType>(ScanForward(mActiveUseBits.bits())); in getFirstShaderTypeWhereActive()
|
/external/angle/src/libANGLE/renderer/d3d/ |
D | FramebufferD3D.cpp | 359 gl::ScanForward(static_cast<uint32_t>(activeProgramOutputs.bits()))); in getColorAttachmentsForRender()
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | vk_utils.cpp | 1056 return gl::ScanForward(static_cast<uint32_t>(sampleCount)); in PackSampleCount()
|