Home
last modified time | relevance | path

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

/external/deqp-deps/SPIRV-Tools/test/
Dmove_to_front_test.cpp463 TEST(MoveToFront, RankFromValue) { in TEST() argument
467 EXPECT_FALSE(mtf.RankFromValue(1, &rank)); in TEST()
481 EXPECT_FALSE(mtf.RankFromValue(4, &rank)); in TEST()
483 EXPECT_TRUE(mtf.RankFromValue(1, &rank)); in TEST()
494 EXPECT_TRUE(mtf.RankFromValue(1, &rank)); in TEST()
497 EXPECT_TRUE(mtf.RankFromValue(3, &rank)); in TEST()
500 EXPECT_TRUE(mtf.RankFromValue(2, &rank)); in TEST()
505 EXPECT_TRUE(mtf.RankFromValue(1, &rank)); in TEST()
510 EXPECT_TRUE(mtf.RankFromValue(1, &rank)); in TEST()
522 EXPECT_TRUE(mtf.RankFromValue(50, &rank)); in TEST()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/
Dmove_to_front_test.cpp463 TEST(MoveToFront, RankFromValue) { in TEST() argument
467 EXPECT_FALSE(mtf.RankFromValue(1, &rank)); in TEST()
481 EXPECT_FALSE(mtf.RankFromValue(4, &rank)); in TEST()
483 EXPECT_TRUE(mtf.RankFromValue(1, &rank)); in TEST()
494 EXPECT_TRUE(mtf.RankFromValue(1, &rank)); in TEST()
497 EXPECT_TRUE(mtf.RankFromValue(3, &rank)); in TEST()
500 EXPECT_TRUE(mtf.RankFromValue(2, &rank)); in TEST()
505 EXPECT_TRUE(mtf.RankFromValue(1, &rank)); in TEST()
510 EXPECT_TRUE(mtf.RankFromValue(1, &rank)); in TEST()
522 EXPECT_TRUE(mtf.RankFromValue(50, &rank)); in TEST()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/comp/
Dmove_to_front.h73 bool RankFromValue(uint32_t value, uint32_t* rank);
321 bool RankFromValue(uint64_t mtf, uint32_t value, uint32_t* rank) { in RankFromValue() function
322 return GetMtf(mtf).RankFromValue(value, rank); in RankFromValue()
Dmarkv_encoder.cpp201 if (!multi_mtf_.RankFromValue(mtf, id, &rank)) in EncodeExistingId()
231 if (!multi_mtf_.RankFromValue(mtf, id, &rank)) { in EncodeRefId()
243 if (!multi_mtf_.RankFromValue(kMtfForwardDeclared, id, &rank)) { in EncodeRefId()
294 if (multi_mtf_.RankFromValue(kMtfForwardDeclared, inst_.result_id, &rank)) { in EncodeResultId()
Dmove_to_front.cpp62 bool MoveToFront::RankFromValue(uint32_t value, uint32_t* rank) { in RankFromValue() function in spvtools::comp::MoveToFront
/external/deqp-deps/SPIRV-Tools/source/comp/
Dmove_to_front.h73 bool RankFromValue(uint32_t value, uint32_t* rank);
321 bool RankFromValue(uint64_t mtf, uint32_t value, uint32_t* rank) { in RankFromValue() function
322 return GetMtf(mtf).RankFromValue(value, rank); in RankFromValue()
Dmarkv_encoder.cpp201 if (!multi_mtf_.RankFromValue(mtf, id, &rank)) in EncodeExistingId()
231 if (!multi_mtf_.RankFromValue(mtf, id, &rank)) { in EncodeRefId()
243 if (!multi_mtf_.RankFromValue(kMtfForwardDeclared, id, &rank)) { in EncodeRefId()
294 if (multi_mtf_.RankFromValue(kMtfForwardDeclared, inst_.result_id, &rank)) { in EncodeResultId()
Dmove_to_front.cpp62 bool MoveToFront::RankFromValue(uint32_t value, uint32_t* rank) { in RankFromValue() function in spvtools::comp::MoveToFront