Searched refs:BitfieldReverse (Results 1 – 3 of 3) sorted by relevance
253 TEST(MathUtilTest, BitfieldReverse) in TEST() argument255 EXPECT_EQ(0u, gl::BitfieldReverse(0u)); in TEST()256 EXPECT_EQ(0x80000000u, gl::BitfieldReverse(1u)); in TEST()257 EXPECT_EQ(0x1u, gl::BitfieldReverse(0x80000000u)); in TEST()260 EXPECT_EQ(reversed, gl::BitfieldReverse(bits)); in TEST()
984 inline uint32_t BitfieldReverse(uint32_t value) in BitfieldReverse() function
3114 uint32_t result = gl::BitfieldReverse(value); in foldUnaryComponentWise()